Farid Makram Custom Levels is a multi-signal indicator for TradingView that combines RSI momentum analysis with MOBO oscillator signals based on the DPO.
1Copy the scriptPress Copy script above, or the copy button on the code below.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
299 lines of Pine Script v5 from Tradingview/farid-makram-custom-levels.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Farid Makram Custom Levels generates buy and sell signals when RSI crosses its moving average or when DPO crosses zero, with configurable within-bar filtering and minimum bars between same-side signals. The script can operate on price chart or be toggled with volatility filters and KNN-based prediction features. Main settings allow customization of RSI and MOBO parameters including lengths and source. Signals are plotted as labels on the chart for user alerts.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Bars Between Same Side Signals
int
10
bars_between_same_signals
Use RSI Logic
bool
true
use_rsi_logic
RSI Signal Within
int
2
rsi_signal_within
RSI Length
int
14
rsiLengthInput
Source
source
close
rsiSourceInput
MA Type
string
SMA
maTypeInput
MA Length
int
14
maLengthInput
Use MOBO Logic
bool
true
use_mobo_logic
MOBO Signal Within
int
1
mb_signal_within
Price
source
hl2
price
colorNormLength
int
3
colorNormLength
dpoLength
int
13
dpoLength
Show all 24 settings
Setting
Type
Default
Variable
moboDisplace
int
0
moboDisplace
moboLength
int
10
moboLength
numDevDn
float
-0.8
numDevDn
numDevUp
float
0.8
numDevUp
Start Date
time
startdate
StartDate
Stop Date
time
stopdate
StopDate
Indicator
string
All
Indicator
Short Period [1..n]
int
14
ShortWinow
Long Period [2..n]
int
28
LongWindow
Base No. of Neighbours (K) [5..n]
int
252
BaseK
Volatility Filter
bool
false
Filter
Bar Threshold [2..5000]
int
300
Bars
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
The ANN MACD Future Forecast is an experimental indicator serving as a true deep learning sample on TradingView. It calculates Bollinger Bands and Squeeze Momentum using custom functions for SMA, EMA, standard deviation, highest and lowest values. The script p
This overlay indicator plots a Supertrend from an ATR length and factor, four exponential moving averages, and a selectable VWAP or TWAP taken from a chosen timeframe on the price chart. It also shows MACD and stochastic with adjustable lengths, smoothing, ver
This indicator plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre
LiqSpikeBounceLong Feb2026 is an indicator designed to identify long bounce entries following high-volume liquidation cascades in bearish market contexts. It checks if price is below an exponential moving average, then detects large single-bar drops exceeding
The 8zz Contrarian Indicator plots reverse sentiment trading signals directly on the price chart based on tracked retail post activity. It generates bullish signals during retail panic and bearish signals during market euphoria. The indicator features adjustab
ADX Strategy (original) is an overlay indicator that identifies trend-following trade signals using the Average Directional Index (ADX) combined with a Simple Moving Average filter. A long signal is generated when the ADX rises above a user-defined trend level