OPEN-SOURCE SCRIPT

3 PRICE ACTION CANDLESTICK RULES

Updated
Simple rule to buy and sell

Buy when
Current high>previous high
current low>previous low
current close>previous high

Sell when
Current high<previous high
current low<previous low
current close<previous low
Release Notes
1st set
Ema cross of 50 and 200

2nd set
Give buy signal when price cross above buy alert candle and sell signal when price cross below sell alert candle

Buy alert candle:
Current candle high > previous candle high
Current candle low > previous candle low
Current candle close > previous candle high

Sell alert candle :
Current candle high < previous candle high
Current candle low < previous candle low
Current candle close < previous candle low
Release Notes
1st set
Ema cross of 50 and 200

2nd set
Give buy signal when price cross above buy alert candle and sell signal when price cross below sell alert candle

Buy alert candle:
Current candle high > previous candle high
Current candle low > previous candle low
Current candle close > previous candle high

Sell alert candle :
Current candle high < previous candle high
Current candle low < previous candle low
Current candle close < previous candle low
Candlestick 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