OPEN-SOURCE SCRIPT

Trend Pinbar PT49 by Cuancuan

Aggiornato
Idea Behind:
Buying the short-term trend that shows a pin-bar candlestick pattern. Meant to be traded on a daily chart / higher timeframe.

To determine the short-term trend we use short EMA such as 8-16-30 and check the slope of each one, and definitely, the shorter one must be above the longer one for an uptrend. Vice versa for a downtrend.

To determine a pin-bar candlestick, I calculate that the body size (open to close) is at maximum a-third of the candle size (high to low). Besides that, I ensure that the close of the candle is above the shortest MA for bullish and below it for bearish.

As extra filters to reduce trade numbers:
1. Longer MA Filter = You can turn it off if you think the higher timeframe filter is unnecessary.
2. Slope Filter = To ensure the slope of the shorter MA is steeper rather than the mid-MA.
3. Size Filter = To check whether the overall candle size (high to low) is bigger than the ATR number. When the size filter is turned on, it removes small insignificant candles.

PS: Don't trade anything live unless you find it comfortable after backtesting it by yourself.
Note di rilascio
Idea Behind:
Buying the short-term trend that shows a pin-bar candlestick pattern. It is meant to be traded on a daily chart / higher timeframe.

To determine the short-term trend, we use short EMA such as 8-16-30 and check the slope of each one, and definitely, the shorter one must be above the longer one for an uptrend. Vice versa for a downtrend.

To determine a pin-bar candlestick, I calculate that the body size (open to close) is at maximum a-third of the candle size (high to low). Besides that, I ensure that the close of the candle is above the shortest MA for bullish and below it for bearish.

As extra filters to reduce trade numbers:
1. Longer MA Filter = You can turn it off if you think the higher timeframe filter is unnecessary.
2. Slope Filter = To ensure the shorter MA slope is steeper than the mid-MA.
3. Size Filter = To check whether the overall candle size (high to low) is bigger than the ATR number. When the size filter is turned on, it removes small insignificant candles.

Latest Update 14-Nov:
Based on my suggestion, I created an extra filter to check whether the body size is located in the upper one-third of the candle size for a long. Vice versa, for short.

PS: Don't trade anything live unless you find it comfortable after backtesting it by yourself.
Note di rilascio
Apologize I need to update the chart , since I don't know how to edit the chart illustration without doing an update script
Note di rilascio
Update illustration image.
Candlestick AnalysisCandlestick analysisExponential Moving Average (EMA)Hanging ManInverted HammerPin BarShooting Star

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità