OPEN-SOURCE SCRIPT
Updated

PC with ATR Strategy (by Zhipengcfel)

3 054
This strategy came out with the request of SumitJain and helpful discussion with @Bonavest. The strategy link is here. prnt.sc/fpg0qm

I changed a bit. DH and DL use the previous day's high and low to avoid repainting.

The results are not too bad.

But I still suggest not to be used for real auto trading.
Release Notes
Separate the buy and sell triggered levels, stop loss and take profit levels. Deleted contract numbers in strategy. entry function.
Release Notes
Optimise parameters for SPX500 daily chart to get best results.

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.