OPEN-SOURCE SCRIPT
Contra Trading Setup - Buy on Close

Contra Trding Setp
1. Closing Price is less than 20SMA
2. Today low is less than last 5 days low
3.Today close is above yesterday close
4. If all 3 conditions met
Then tomorrow close should be >Today Close
Buy On Close
Exit After 5 - 7 Trading Session.
1. Closing Price is less than 20SMA
2. Today low is less than last 5 days low
3.Today close is above yesterday close
4. If all 3 conditions met
Then tomorrow close should be >Today Close
Buy On Close
Exit After 5 - 7 Trading Session.
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.