Free Strategy #02 (ES / SPY)

This strategy was designed to be traded on daily data on the ES and SPY—the strategy was originally developed for NinjaTrader, which displays daily ES data based on RTH hours instead of 24 hours (1440 minute) like TradingView does, so we are presenting the results on the SPY until we figure out how to overcome this hurdle.

Strategy #02
  • Quantity 100
  • Slippage: 2 ticks
  • Commission: 4.95 per order
  • Net Profit: 10,118.30
  • Max Drawdown: 4.037.60
Buy and Hold (Custom)
  • Quantity 100
  • Slippage: 2 ticks
  • Commission: 4.95 per order
  • Entry Long: 1993-02-01 @ 43.99
  • Exit Long: 2017-07-28 @ 246.34
  • Net Profit: 20,225.10
  • Max Drawdown: 9,042.00

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?