OPEN-SOURCE SCRIPT

Rule Number 1 Signals

By TraderHalai
Updated
This script takes the Rule #1 3 tools and plots them on the graph, to provide an additional level of indication for when to sell and when to buy.
Release Notes
Close instead of buy
Release Notes
Minor cosmetic changes
Release Notes
exit on 2 signals as per rule number 1
Release Notes
More aggressive closing tactic to take profits if things don't go well
Release Notes
Added comments and made the entry criteria based off of three period entry for each of the three tools.

Included an experimental stop loss strategy - though will port this over to another future script with comprehensive support resistance.
Release Notes
Cleanup
Release Notes
Switch back to simple moving average as per the book, and implement a look back mechanism for sell signal (to be in line with the buy signal)
Release Notes
Simplify script - resulting in higher win rates
Release Notes
Simplify script
Release Notes
Cleanup + refine the strategy to wait for 2 signals and then enter on the third as per the book.

Allowing for more signals per timeframe
Release Notes
Update to Pine script version 4
Moving AveragesnumberONEOscillatorsrulesignalsmaStochastic OscillatortoolsTrend Analysis

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer