Premium Only Content
QuickTip 75 | Difference between Condition1 = C > O; and If C > O then Condition1 = TRUE;
Quicktip 75 uses a TradeStation EasyLanguage show-me study to demonstrate the difference between:
Condition1 = Close > Open;
//and
If Close > Open then Condition2 = TRUE;
With the first expression (Condition1 = Close > Open;) if close is greater than open (i.e an up bar) the expression evaluates to true and Condition1 is set to TRUE, hence, in our simple example a show me dot is plotted at the high of the bar. If Close is less than or equal to open (i.e a down bar or Doji) then the expression, Close > Open evaluates to FALSE, Condition1 is set to False and the show-me dot is not plotted.
With the second expression, If Close > Open then Condition2 = TRUE; if the close is greater than the open (an ‘up’ bar) then Condition2 is set to true and a show-me dot is plotted at the low of the bar. If on a subsequent bar the close is less than or equal to open (i.e a down bar or Doji) then no change is made to Condition2. Hence once there has been an up bar Condition2 is set to true and remains true for all future bars and a show-me dot would be plotted at the low of these bars. This second expression acts as a sort of ‘ratchet.’
The third example is similar to the second in that if a bar is an ‘up’ bar then Condition3 is set to true, however if the bar becomes or is a down bar or Doji Condition3 is set to false. Therefore the first and third expressions give similar results.
-
35:27
megimu32
1 hour agoMEGI + PEPPY LIVE FROM DREAMHACK!
25.7K3 -
1:03:23
Tactical Advisor
5 hours agoNew Gun Unboxing | Vault Room Live Stream 044
172K26 -
19:12
Robbi On The Record
6 hours ago $7.22 earnedThe Loneliness Epidemic: AN INVESTIGATION
16.3K56 -
14:45
Mrgunsngear
1 day ago $88.39 earnedFletcher Rifle Works Texas Flood 30 Caliber 3D Printed Titanium Suppressor Test & Review
54.2K15 -
17:17
Lady Decade
1 day ago $3.52 earnedMortal Kombat Legacy Kollection is Causing Outrage
27.1K6 -
35:51
Athlete & Artist Show
1 day ago $7.66 earnedIs Ryan Smith The Best Owner In The NHL?
33.8K4 -
22:56
American Thought Leaders
2 days agoCharles Murray: I Thought Religion Was Irrelevant to Me. I Was Wrong.
25.7K13 -
36:22
Brad Owen Poker
7 hours agoGIGANTIC $17,000+ Pot In BOBBY’S ROOM! TRAPPING Top Pro w/FULL HOUSE!! Big Win! Poker Vlog Ep 326
30.8K -
3:53
NAG Daily
1 day agoRUMBLE RUNDOWN: DREAM HACK SPECIAL W/Greenman Reports
22.1K7 -
1:28
Damon Imani
2 days agoThey Laughed at Trump’s Cognitive Test — Damon Made Them REGRET It!
32.4K15