Error in Backtesting

Hi,
I’m not able to Backtest below strategy. Its showing it in Error however i dont know how to check what is the error. Code:

( Position ( CLOSE ( Symbol ( Futures ( ‘NIFTY 50’ ) , ‘3m’, ‘All’ ) ) , ‘-1’ ) > Position ( EMA ( CLOSE ( Symbol ( Futures ( ‘NIFTY 50’ ) , ‘3m’, ‘All’ ) ) , ‘10’ ) , ‘-1’ ) Position ( CLOSE ( Symbol ( Futures ( ‘NIFTY 50’ ) , ‘3m’, ‘All’ ) ) , ‘-2’ ) < Position ( EMA ( CLOSE ( Symbol ( Futures ( ‘NIFTY 50’ ) , ‘3m’, ‘All’ ) ) , ‘10’ ) , ‘-2’ ) Position ( CCI ( Symbol ( Futures ( ‘NIFTY 50’ ) , ‘3m’, ‘All’ ) , ‘100’ ) , ‘-1’ ) > Number ( ‘0’ ) Position ( ADX Smooth ( Symbol ( Futures ( ‘NIFTY 50’ ) , ‘3m’, ‘All’ ) , ‘9’, ‘9’ ) , ‘-1’ ) > Number ( ‘20’ ) Position ( OPEN ( Symbol ( Futures ( ‘NIFTY 50’ ) , ‘3m’, ‘All’ ) ) , ‘-1’ ) < Position ( CLOSE ( Symbol ( Futures ( ‘NIFTY 50’ ) , ‘3m’, ‘All’ ) ) , ‘-1’ ) Position ( OPEN ( Symbol ( Futures ( ‘NIFTY 50’ ) , ‘3m’, ‘All’ ) ) , ‘-2’ ) < Position ( CLOSE ( Symbol ( Futures ( ‘NIFTY 50’ ) , ‘3m’, ‘All’ ) ) , ‘-2’ ) )

Please advise.
Thank you !

Symbol - pls select Instrument Name. You have selected Future

1 Like

Thank you! I guess that shouldn’t be an issue. Problem was that i kept all the parameters (EMA, ADX, CCI) inside same condition box. I then re-arranged it in different boxes and it went well. May be TT compiler reads it in this way only.
Thanks again for your comments !

1 Like