Select Page

APIBridgeTradingView

Strategy Premise

This strategy uses the Wick Reversal System introduced in Pivot Boss and generates signals based on Candlestick Patterns.

– Wick Reversal System
– Extreme Reversal System
– Outside Reversal System
– Doji Reversal System

Wick  Reversal System:

1. For a Bullish reversal wick to exist, the close of the bar should fall within the top 35% of the overall range of the candle.
2. For a bearish reversal wick to exist, the close of the bar should fall within the bottom 35% of the overall range of the candle.

Extreme Reversal System:

1. The first bar of the pattern is about two times larger than the average size of the candles in the look-back period.
2. The body of the first bar of the pattern should encompass more than 50% of the bar’s total range, but usually not more than 85%.
3. The second bar of the pattern opposes the first. If the first bar of the pattern is bullish (C > 0), then the second bar must be bearish (C < 0). If the first bar is bearish (C < 0), then the second bar must be bullish (C > 0).

Outside Reversal System:

1. The Engulfing bar of a bullish outside reversal setup has a low that is below the prior bar’s low (L < L) and a close that is above the prior bar’s high (C > H).
2. The Engulfing bar of a bearish outside reversal setup has a high that is above the prior bar’s high (H > H) and a close that is below the prior bar’s low (C < L).
3. The Engulfing bar is usually 5 to 25 percent larger than the size of the average bar in the look-back period.

Doji Reversal System:

1. The open and close prices of the Doji should fall within 10 percent of each other, as measured by the total range of the Candlestick.
2. For a Bullish Doji, the high of the Doji Candlestick should be below the ten-period Simple Moving Average (H <SMA (10)).
3. For a Bearish Doji, the low of the Doji Candlestick should be above the ten-period Simple Moving Average (L >SMA (10)).
4. For a Bearish Doji, one of the two bars following the Doji must close beneath the low of the Doji (C < L or C < L).
5. For a Bullish Doji setup, one of the two bars following the Doji must close above the high of the Doji (C > H) or C > H)

Candlestick Reversal System

Strategy Logic

Long Entry:

When Low Pivot Point and Wick Reversal System and Bullish Wick Reversal Setup Pattern Send, LE

OR When Low  Pivot Point and Extreme Reversal System and Bullish Extreme Reversal setup Send ,LE

OR When Low Pivot Point and  Outside Reversal System and Bullish Outside Reversal Setup Send LE

OR When Low Pivot Point and Doji Reversal System and Bullish Doji Reversal Setup Send,  LE 

Long Exit:

Either when SL or Target is hit. If SL/TGT is not hit and

When High Pivot Point and Wick Reversal System and Bearish Wick Reversal Setup Pattern Send LXSE

OR When High Pivot Point Extreme Reversal System and Bearish Extreme Reversal setup Send LXSE

OR  When High Pivot Point Outside Reversal System and Bearish Outside Reversal Setup Send LXSE

OR When High Pivot Point Doji Reversal System and Bearish Doji Reversal Setup Send,  LXSE

Short Entry:

When High Pivot Point and Wick Reversal System and Bearish Wick Reversal Setup Pattern Send SE

OR When High Pivot Point Extreme Reversal System and Bearish Extreme Reversal setup Send SE

OR When High Pivot Point Outside Reversal System and Bearish Outside Reversal Setup Send SE

OR When High Pivot Point Doji Reversal System and Bearish Doji Reversal Setup Send,  SE

Short Exit: 

Either when SL or Target is hit. If SL/TGT is not hit and

When Low Pivot Point and Wick Reversal System and Bullish Wick Reversal Setup Pattern Send, SXLE

OR When Low  Pivot Point and Extreme Reversal System and Bullish Extreme Reversal setup Send ,SXLE

OR When Low Pivot Point and  Outside Reversal System and Bullish Outside Reversal Setup Send SXLE

OR When Low Pivot Point and Doji Reversal System and Bullish Doji Reversal Setup Send,  SXLE 

Candlestick Reversal System Algo Strategy Parameters for TradingView Charts

Length:  This is number of bars used to calculated  Ex: 14 à previous 14 candles are used

Quantity:  This is used to specify the trade quantity 

Custom Stop Loss in Points:  Movement in chart price against the momentum which will trigger exit

Custom Target in Points:  Movement in chart price against the momentum which will trigger exit

Intraday Trade Session : Entry Trade Will be Taken only on this session.

EXIT  Session : Trades will be squared off in this timeframe

 

TradingView Settings

1: Download The Pine Script Algo  here

2: Open desired Chart in trading View with normal Candlestick, Select desired timeframe of the chart, Go to the pine editor section, remove the default code, paste the downloaded code,  save the file, and to chart. 

Candlestick Reversal System

3: Once Strategy applied on chart, click on settings to optimize parameters  for your own trading.

Candlestick Reversal System

Setting Up Alert

Before setting up an alert, make sure of few things.

(1) You have selected the desired script, timeframe, and strategy settings.

(2) API bridge is configured and running.

Once you have made sure, click on settings. Then add alert and paste {{strategy.order.comment}} in the message box. 

Important: do not change any settings during live trading.

NOTE: The pinescript works both with webhook alerts (TV Pro plan) and normal popup alerts (TV free plan).

Candlestick Reversal System