Hi, I am new at this and I have been given a strategy to try and the buy signals don't plot on my charts..The sell signals do but the buys don't. Would someone please look at this buy signal and tell me if there is an obvious flaw in it? Or advise me for the next troubleshooting step? manythanks
here is the script for the 'buy' long signal that dosen't work;
ValueHighBand = T3average(Price_ValueH,Period_High) of data2;
ValueLowBand = T3average(Price_ValueL,Period_Low) of data2;
If (Average(close, SMALength) of data2 > Average(close, SMALength)[1])of data2 then
Buy("Buy T2") (ValueLowBand + 1) point Limit;
If MarketPosition = 1 Then
Begin exitlong currentcontracts Contracts ValueHighBand Limit;
end;
here is the script for the 'buy' long signal that dosen't work;
ValueHighBand = T3average(Price_ValueH,Period_High) of data2;
ValueLowBand = T3average(Price_ValueL,Period_Low) of data2;
If (Average(close, SMALength) of data2 > Average(close, SMALength)[1])of data2 then
Buy("Buy T2") (ValueLowBand + 1) point Limit;
If MarketPosition = 1 Then
Begin exitlong currentcontracts Contracts ValueHighBand Limit;
end;
Last edited: