keepbladin
New member
Hey everyone, new here and don't know how to code at all so I'm looking for help for building a strategy code I can add and backtest on my TOS 1hr SPY chart (No extended hours).
Strategy is:
Buy Long trigger: 10SMA crosses above the 50SMA while the 5EMA is above the 13EMA and then close long once the 5EMA crosses below the 13EMA.
Buy Short trigger 10SMA crosses below the 50SMA while 5EMA is below the 13EMA and then close short once the 5EMA crosses below the 13EMA.
Hopefully someone can help, thanks!
Strategy is:
Buy Long trigger: 10SMA crosses above the 50SMA while the 5EMA is above the 13EMA and then close long once the 5EMA crosses below the 13EMA.
Buy Short trigger 10SMA crosses below the 50SMA while 5EMA is below the 13EMA and then close short once the 5EMA crosses below the 13EMA.
Hopefully someone can help, thanks!