Please see the attached strategy
Attachment 29102021 ESD How to build SP500 Portfolio Invest in the Stock Market St2.sqx deleted
If we use MT4/5 engine with a tradestation/Multicharts strategy, we must change each (shift 0) to (shift 1) and each (shift 1) to (shift 2) to have similar results