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:35
The Why Files
5 days agoThe Dark Side of the Moon | Alien Activity and the NASA Cover-Up
74.9K81 -
2:39:28
Jewels Jones Live ®
2 days agoTRUMP’S TSUNAMI | A Political Rendezvous - Ep. 99
49.3K63 -
2:12:46
TheSaltyCracker
11 hours agoLefties Think Elon Stole Election ReeEEeE Stream 11-10-24
223K217 -
1:16:52
vivafrei
11 hours agoNEW STREAM! Sorry peeps
155K100 -
5:56:14
SNEAKO
11 hours agoCheesur edate, Jake Shields & Myron Gaines on election
114K3 -
39:34
Nerdrotic
13 hours ago $37.73 earnedAirbursts with Dr Malcolm LeCompte & Giants and Ancient Civilizations with Hugh Newman
123K15 -
1:03:38
vivafrei
20 hours agoElection RECAP! Long-Count Chicanery! FULL Jan. 6 Pardons! Let's Mock Lichtman & MORE! Viva Frei
172K170 -
LIVE
Vigilant News Network
14 hours agoDoctors Drop Post-Election COVID Bombshell | Media Blackout
3,449 watching -
14:13
Scammer Payback
12 days agoTelling Scammers Their Address
165K92 -
5:43:21
Barstool Gambling
18 hours agoBig Cat and Co Sweat Out the Week 10 Sunday Slate | Barstool Gambling Cave
124K7