TJ, The strategy I am trying to get will buy instead of sell on the channel breakout. that is it. I have no other way to put it. Complete reverse of orders.
The result of changing buy and sell orders around on the code came up with a buy and sell on every single bar at the opening price.
I tried changing the code here on extremefc
Code: Select all
condition1 = CurrentBar = 1
or ( HiLo = 1 and PriceValue < var0 )
or ( HiLo = -1 and PriceValue > var0 ) ;
by reversing the values of 1 to -1 and changing the < var0 to > var0. Just trying to get an understanding. This resulted in no change to the strategy, still had orders on every bar.