PROTECTED SOURCE SCRIPT
OTM Custom Ribbon TP Ladder

OTM • Custom Ribbon (2–6 lines) + TP Ladder
OTM Custom Ribbon + TP Ladder is a clean trend ribbon with an optional trade “ladder” overlay that projects Entry, Stop Loss, and up to 6 Take-Profit levels to the right of price.
It’s built for fast decision-making: the ribbon shows trend + momentum, and the TP Ladder gives you a structured plan without cluttering the chart with extra indicators.
Ribbon (Trend + Bias)
Choose 2–6 lines and your preferred smoothing type:
EMA / SMA / RMA / WMA / VWMA
Jurik-style approximation
Kalman / Adaptive Kalman
Ribbon colouring supports:
Hard 2-color
Smooth gradient
3-color with a neutral zone
Works on current timeframe or higher timeframe using the TF input (with optional “wait for close” mode).
How to read it
Green bias = bullish pressure / trend alignment.
Red bias = bearish pressure / trend alignment.
Neutral/grey zone = chop / low conviction.
Strongest trend = ribbon lines spread apart and aligned.
Compression = ribbon lines tight/stacked (trend may be pausing or about to expand).
TP Ladder (Entry + SL + TP1–TP6)
When enabled, the TP Ladder will draw:
ENTRY line
STOP line
TP1 → TP6 lines
Optional labels, line style, thickness, and colours.
Entry trigger options
Fast line crossing Outer line
Price crossing Outer line
Stoploss modes
ATR
Swing
Ticks
Percent
TP Calculation modes
R Multiples (classic risk-reward targets)
Fib Multiples of risk
ATR Multiples
Locking (Stops the “moving target” problem)
This tool includes locking so your ladder doesn’t chase price:
Lock Risk at Entry = TP levels stay fixed based on entry risk.
Lock ATR at Entry = ATR-based targets stay fixed from the entry ATR.
This is the setting you want if you’re sick of targets shifting mid-trade.
Quick workflow
Use the ribbon colour + structure to decide bias (trend or chop).
Wait for your chosen trigger (cross) to print a new ladder.
Trade the ladder:
Entry is defined
SL is defined
TP levels are pre-mapped
Optional: move SL to BE once TP1 is hit.
Designed for: Gold, BTC, indices, FX — any market, any timeframe.
Style goal: clean ribbon + structured targets, no mess.
OTM Custom Ribbon + TP Ladder is a clean trend ribbon with an optional trade “ladder” overlay that projects Entry, Stop Loss, and up to 6 Take-Profit levels to the right of price.
It’s built for fast decision-making: the ribbon shows trend + momentum, and the TP Ladder gives you a structured plan without cluttering the chart with extra indicators.
Ribbon (Trend + Bias)
Choose 2–6 lines and your preferred smoothing type:
EMA / SMA / RMA / WMA / VWMA
Jurik-style approximation
Kalman / Adaptive Kalman
Ribbon colouring supports:
Hard 2-color
Smooth gradient
3-color with a neutral zone
Works on current timeframe or higher timeframe using the TF input (with optional “wait for close” mode).
How to read it
Green bias = bullish pressure / trend alignment.
Red bias = bearish pressure / trend alignment.
Neutral/grey zone = chop / low conviction.
Strongest trend = ribbon lines spread apart and aligned.
Compression = ribbon lines tight/stacked (trend may be pausing or about to expand).
TP Ladder (Entry + SL + TP1–TP6)
When enabled, the TP Ladder will draw:
ENTRY line
STOP line
TP1 → TP6 lines
Optional labels, line style, thickness, and colours.
Entry trigger options
Fast line crossing Outer line
Price crossing Outer line
Stoploss modes
ATR
Swing
Ticks
Percent
TP Calculation modes
R Multiples (classic risk-reward targets)
Fib Multiples of risk
ATR Multiples
Locking (Stops the “moving target” problem)
This tool includes locking so your ladder doesn’t chase price:
Lock Risk at Entry = TP levels stay fixed based on entry risk.
Lock ATR at Entry = ATR-based targets stay fixed from the entry ATR.
This is the setting you want if you’re sick of targets shifting mid-trade.
Quick workflow
Use the ribbon colour + structure to decide bias (trend or chop).
Wait for your chosen trigger (cross) to print a new ladder.
Trade the ladder:
Entry is defined
SL is defined
TP levels are pre-mapped
Optional: move SL to BE once TP1 is hit.
Designed for: Gold, BTC, indices, FX — any market, any timeframe.
Style goal: clean ribbon + structured targets, no mess.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.