My issue is that TS does not accept the buy order (If Close < xaverage(close,EMAlength) and (RSI_Cond_3) then NTbuyMarket (1,1) ("NT Below 200 DAY EMA") this bar at close

I get the error message: "Assigment to a function is not allowed" (Note that I tried several ways but nothing worked).
I use NT 6.5 and TS 8.8.
Can you help me ? Did I miss something?
Many thanks in advance
Mirko
Comment