How can I create a ProfitTarget and StopLoss according to the size of each candlestick (High and Low) when I just enter (Long and Short) using Strategy Builder?
I have tried this but it doesn't work:
Variable:
TargetStopPoints Double
TargetStopTicks Double
Do the following:
EnterLong(DefaultQuantity,"")
TargetStopPoints = (High[0] - Low[0])
TargetStopTicks= (TargetStopPoints * 4)
Stop and Target:
SetProfitTarget("",CalculationMode.Tick, TargetStopTicks)
SetStopLoss("",CalculationMode.Tick, TargetStopTicks,false)
I hope you can tell me what I'm doing wrong....
Thank you!
Comment