if(My criteria)
{
EnterLongLimit(2,Bollinger(1,21).Lower[0],"Long Recover RTM108");
SetProfitTarget("Long Recover RTM108", CalculationMode.Price, MyEntryPrice);
Long1 = 1;
Recover = 1;
}
In the above, the entry is made and the target is set, but my variables do not change to "1". I have verified this with the print statement. The variables are of the int type and start out as 0 value. Is my syntax incorrect? Am I limited to the number of lines I can write between the { } ?
Thanks,
Safetrading
Comment