OPEN-SOURCE SCRIPT
מעודכן

Rule Number 1 Signals

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.
הערות שחרור
Close instead of buy
הערות שחרור
Minor cosmetic changes
הערות שחרור
exit on 2 signals as per rule number 1
הערות שחרור
More aggressive closing tactic to take profits if things don't go well
הערות שחרור
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.
הערות שחרור
Cleanup
הערות שחרור
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)
הערות שחרור
Simplify script - resulting in higher win rates
הערות שחרור
Simplify script
הערות שחרור
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
הערות שחרור
Update to Pine script version 4

כתב ויתור