OPEN-SOURCE SCRIPT
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
Buy and Hold (Custom)
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 creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
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.