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.
-
1:48:49
Badlands Media
11 hours agoDevolution Power Hour Ep. 416: The Rug Pull Cycle, False Signals & Narrative Discipline
216K33 -
1:06:11
Inverted World Live
10 hours agoA Ghost Ship in Washington, A Fire in Roswell | Ep. 155
61.7K4 -
3:06:55
TimcastIRL
6 hours agoDan Bongino To RESIGN, Trump Addresses The Nation
334K416 -
2:14:08
Barry Cunningham
6 hours agoLIVE BREAKING NEWS: President Trump Addresses The Nation! And More News!
50.4K20 -
LIVE
ThatStarWarsGirl
8 hours agoTSWG LIVE: Discussing STAR WARS News with Special Guest Star Wars Theory!
931 watching -
2:42:40
Laura Loomer
6 hours agoEP162: LIVE: President Trump Addresses The Nation
52.1K26 -
1:32:05
Adam Does Movies
11 hours ago $4.99 earnedRob Reiner Films + Movie News + AMA - Live!
26.1K1 -
47:57
Professor Nez
10 hours ago🚨LIVE NOW: President Trump Addresses the Nation from the Oval Office
32.3K33 -
28:17
The White House
6 hours agoPresident Trump Delivers an Address to the Nation
79.4K126 -
4:44:53
Drew Hernandez
23 hours agoTRUMP ADDRESSES THE NATION & BONGINO ANNOUNCES FBI DEPARTURE?
59.4K22