I am having an issue in TOS that support doesn't understand so I am hoping a sharp thinkscript guy has seen this. I trade only the SPX options. All I want to do is exit the option Call if the close is less than the low previous bar.
close is less than low from 1 bar ago Easy enough. I submit this order in TOS as a 1st triggers All pair. (Buy 1 Call/Sell with a study) The study has the symbol SPX.
Problem is, when I paper trade this strategy it performs flawlessly, when I go Live, the Symbol is dropped out of the study and the exit portion of the trade is rejected.
Sometimes I get an error such as SPXclose is less than low from 1 bar ago; variable SPXclose is invalid
another one SPXplot_data_=close is less than low 1 bar ago; same thing
Weird that I can paper trade this and it works perfectly but live trading on TOS and it appears that SPX is jammed together with close or plot_data_ and the exit fails.
I tried this thinkscript code and exact same thing happened, it fails only in live trading... plot sell_condition = close < low[1];
Has anyone seen this or have a recommendation??
Thank you
close is less than low from 1 bar ago Easy enough. I submit this order in TOS as a 1st triggers All pair. (Buy 1 Call/Sell with a study) The study has the symbol SPX.
Problem is, when I paper trade this strategy it performs flawlessly, when I go Live, the Symbol is dropped out of the study and the exit portion of the trade is rejected.
Sometimes I get an error such as SPXclose is less than low from 1 bar ago; variable SPXclose is invalid
another one SPXplot_data_=close is less than low 1 bar ago; same thing
Weird that I can paper trade this and it works perfectly but live trading on TOS and it appears that SPX is jammed together with close or plot_data_ and the exit fails.
I tried this thinkscript code and exact same thing happened, it fails only in live trading... plot sell_condition = close < low[1];
Has anyone seen this or have a recommendation??
Thank you