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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明