OPEN-SOURCE SCRIPT

Mbah Mul Reversal

Inputs:

showCRB1 and showCRB2 are boolean inputs to toggle the display of CRB1 (Bearish Reversal) and CRB2 (Bullish Reversal) signals.
numCandles is an integer input to specify the number of candles to consider.
Historical Data:

The script retrieves the previous candle's open, close, high, and low prices using request.security.
CRB1 (Bearish Reversal):

Checks if the previous candle was bullish (close_prev > open_prev).
Checks if the current high is higher than the previous high.
Checks if the current close is within a specific range or lower than the previous open.
If all conditions are met, it places a "SELL" label above the current high.
CRB2 (Bullish Reversal):

Checks if the previous candle was bearish (close_prev < open_prev).
Checks if the current low is lower than the previous low.
Checks if the current close is within a specific range or higher than the previous open.
If all conditions are met, it places a "BUY" label below the current low.
Bill Williams IndicatorsCandlestick analysisChart patterns

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité