[IMG]file:///C:/DOCUME%7E1/Bryan/LOCALS%7E1/Temp/moz-screenshot-2.png[/IMG]
if (Type == "Buy") { ExitLongLimit(0, true, Target1Qty, Target1, "Target1", execution.Order.Name); ExitLongLimit(0, true, Target2Qty, Target2, "Target2", execution.Order.Name); ExitLongLimit(0, true, Target3Qty, Target3, "Target3", execution.Order.Name); ExitLongStop(0, true, execution.Order.Quantity, StopPrice, "StopLoss", execution.Order.Name); } if (Type == "Sell") { ExitShortLimit(0, true, Target1Qty, Target1, "Target1", execution.Order.Name); ExitShortLimit(0, true, Target2Qty, Target2, "Target2", execution.Order.Name); ExitShortLimit(0, true, Target3Qty, Target3, "Target3", execution.Order.Name); ExitShortStop(0, true, execution.Order.Quantity, StopPrice, "StopLoss", execution.Order.Name); }
One thing. I had two strategies running on two different charts at the same time. Can they conflict with one another somehow? I didn't think so, since the order numbers are all unique...
I will attach the parameters screenshot for the strategy... maybe I just need to change a parameter?
Thanks!
Bryan
[IMG]file:///C:/DOCUME%7E1/Bryan/LOCALS%7E1/Temp/moz-screenshot.png[/IMG][IMG]file:///C:/DOCUME%7E1/Bryan/LOCALS%7E1/Temp/moz-screenshot-1.png[/IMG]
Comment