Hi,
I try to make TS buy the next bar's open when the current close is higher than the highest high of x bars. Kind of a channel breakout on close. I have
If MarketPosition <> 1 And Close > HighestHigh(CBO, 0) Then Buy("BuyEnt",1,0,Market,Day) End If
Where CBO is the length in days of the channel.
Always 0 trades. No doubt a newbie issue but I am new to Basic. Some help would be very nice. |