The regular NinjaScript methods like your EnterLong() would be suitable for backtesting as well, while the AtmStrategy methods are only workable in Market Replay and Realtime Trading.
I would highly suggest taking some time to work wit the SampleAtmStrategy first, for this have an Atm template with the name 'AtmStrategyTemplate' created on either your DOM or ChartTrader first.

Comment