SetProfitTarget("0", CalculationMode.Ticks, Variable0); SetProfitTarget("", CalculationMode.Ticks, Variable1); SetTrailStop("", CalculationMode.Ticks, Variable2, false); SetTrailStop("", CalculationMode.Ticks, Variable3, false);
so would I have to use a signal name at all?
I will just remove the 0.
SetProfitTarget("", CalculationMode.Ticks, Variable1); SetTrailStop("", CalculationMode.Ticks, Variable3, false);
and I would have to have a signal name?
Next the way you are calculating the variables, you specify Ticks but the output from the variables is a price.
Variable3 = Low[0] + -2 * TickSize; Variable1 = Low[0] - ATR(14)[0] * TickSize;
[/QUOTE]
Ok for the variables:
1. How would I set CalculationMode.Price?
For Var3, the objective is to have a stop two ticks below the low.
so how would I formulate V3?
Variable3 = Low[0] + [???????]
[B][/B]
Thanks for the great support Jesse.
Comment