Indicateurs et stratégies
AI-Swing/Long Batch 21. Introduction
The Supertrend Plus strategy is an advanced technical indicator built on the widely popular Supertrend. It has been designed for traders who want to capture price action across multiple timeframes 1D TO 3M
AI-Swing/Long Batch 31. Introduction
The Supertrend Plus strategy is an advanced technical indicator built on the widely popular Supertrend. It has been designed for traders who want to capture price action across multiple timeframes 1D TO 3M
AI-Swing/Long Batch 41. Introduction
The Supertrend Plus strategy is an advanced technical indicator built on the widely popular Supertrend. It has been designed for traders who want to capture price action across multiple timeframes 1D TO 3M
AI-Swing/Long Batch 51. Introduction
The Supertrend Plus strategy is an advanced technical indicator built on the widely popular Supertrend. It has been designed for traders who want to capture price action across multiple timeframes 1D TO 3M
AI-INTRADAY-NIFTY50_21. Introduction
The Supertrend Plus strategy is an advanced technical indicator built on the widely popular Supertrend. It has been designed for traders who want to capture price action across multiple timeframes 1D TO 3M
AI-INTRADAY-NIFTY50_11. Introduction
The Supertrend Plus strategy is an advanced technical indicator built on the widely popular Supertrend. It has been designed for traders who want to capture price action across multiple timeframes 1D TO 3M
AI-INTRADAY-INDEX1. Introduction
The Supertrend Plus strategy is an advanced technical indicator built on the widely popular Supertrend. It has been designed for traders who want to capture price action across multiple timeframes 1D TO 3M
Simplified Market ForecastSimplified Market Forecast Indicator
This indicator pairs nicely with the Contrarian 100 MA and can be located here:
Overview
The "Simplified Market Forecast" (SMF) indicator is a streamlined technical analysis tool designed for traders to identify potential buy and sell opportunities based on a momentum-based oscillator. By analyzing price movements relative to a defined lookback period, SMF generates clear buy and sell signals when the oscillator crosses customizable threshold levels. This indicator is versatile, suitable for various markets (e.g., forex, stocks, cryptocurrencies), and optimized for daily timeframes, though it can be adapted to other timeframes with proper testing. Its intuitive design and visual cues make it accessible for both novice and experienced traders.
How It Works
The SMF indicator calculates a momentum oscillator based on the price’s position within a specified range over a user-defined lookback period. It then smooths this value to reduce noise and plots the result as a line in a separate lower pane. Buy and sell signals are generated when the smoothed oscillator crosses above a user-defined buy level or below a user-defined sell level, respectively. These signals are visualized as triangles either on the main chart or in the lower pane, with a table displaying the current ticker and oscillator value for quick reference.
Key Components
Momentum Oscillator: The indicator measures the price’s position relative to the highest high and lowest low over a specified period, normalized to a 0–100 scale.
Signal Generation: Buy signals occur when the oscillator crosses above the buy level (default: 15), indicating potential oversold conditions. Sell signals occur when the oscillator crosses below the sell level (default: 85), suggesting potential overbought conditions.
Visual Aids: The indicator includes customizable horizontal lines for buy and sell levels, shaded zones for clarity, and a table showing the ticker and current oscillator value.
Mathematical Concepts
Oscillator Calculation: The indicator uses the following formula to compute the raw oscillator value:
c1I = close - lowest(low, medLen)
c2I = highest(high, medLen) - lowest(low, medLen)
fastK_I = (c1I / c2I) * 100
The result is smoothed using a 5-period Simple Moving Average (SMA) to produce the final oscillator value (inter).
Signal Logic:
A buy signal is triggered when the smoothed oscillator crosses above the buy level (ta.crossover(inter, buyLevel)).
A sell signal is triggered when the smoothed oscillator crosses below the sell level (ta.crossunder(inter, sellLevel)).
Entry and Exit Rules
Buy Signal (Blue Triangle): Triggered when the oscillator crosses above the buy level (default: 15), indicating a potential oversold condition and a buying opportunity. The signal appears as a blue triangle either below the price bar (if plotted on the main chart) or at the bottom of the lower pane.
Sell Signal (White Triangle): Triggered when the oscillator crosses below the sell level (default: 85), indicating a potential overbought condition and a selling opportunity. The signal appears as a white triangle either above the price bar (if plotted on the main chart) or at the top of the lower pane.
Exit Rules: Traders can exit positions when an opposite signal occurs (e.g., exit a buy on a sell signal) or based on additional technical analysis tools (e.g., support/resistance, trendlines). Always apply proper risk management.
Recommended Usage
The SMF indicator is optimized for the daily timeframe but can be adapted to other timeframes (e.g., 1H, 4H) with careful testing. It performs best in markets with clear momentum shifts, such as trending or range-bound conditions. Traders should:
Backtest the indicator on their chosen asset and timeframe to validate signal reliability.
Combine with other indicators (e.g., moving averages, support/resistance) or price action for confirmation.
Adjust the lookback period and buy/sell levels to suit market volatility and trading style.
Customization Options
Intermediate Length: Adjust the lookback period for the oscillator calculation (default: 31 bars).
Buy/Sell Levels: Customize the threshold levels for buy (default: 15) and sell (default: 85) signals.
Colors: Modify the colors of the oscillator line, buy/sell signals, and threshold lines.
Signal Display: Toggle whether signals appear on the main chart or in the lower pane.
Visual Aids: The indicator includes dotted horizontal lines at the buy (green) and sell (red) levels, with shaded zones between 0–buy level (green) and sell level–100 (red) for clarity.
Ticker Table: A table in the top-right corner displays the current ticker and oscillator value (in percentage), with customizable colors.
Why Use This Indicator?
The "Simplified Market Forecast" indicator provides a straightforward, momentum-based approach to identifying potential reversals in overbought or oversold markets. Its clear signals, customizable settings, and visual aids make it easy to integrate into various trading strategies. Whether you’re a swing trader or a day trader, SMF offers a reliable tool to enhance decision-making and improve market timing.
Tips for Users
Test the indicator thoroughly on your chosen asset and timeframe to optimize settings.
Use in conjunction with other technical tools for stronger trade confirmation.
Adjust the buy and sell levels based on market conditions (e.g., lower levels for less volatile markets).
Monitor the ticker table for real-time oscillator values to gauge market momentum.
Happy trading with the Simplified Market Forecast indicator!
AI-Swing/Long Batch 11. Introduction
The Supertrend Plus strategy is an advanced technical indicator built on the widely popular Supertrend. It has been designed for traders who want to capture price action across multiple timeframes 1D TO 3M
S/R Pro – 4-Level Zone-Based Signal Engine v4S/R Pro – 4-Level Zone-Based Signal Engine v4
The indicator combines support/resistance levels, moving averages, and cloud zones to identify trend strength and entry points. On higher timeframes, it helps define market direction, while on lower timeframes it provides buy/sell signals.
CBT Model- Culture Pulse ProThis CBT Model helps trader to identify possible buying and selling opportunity . This is base on directional candle structure bias. NOTE: Not all the cbt signals are guaranteed to win, better to apply your approach and do not enter the cbt signals blindly.
Multi Timeframe Indian Stocks TrendsThis script, "Multi Timeframe Indian Stocks Trends," is designed for swing trading in the Indian stock market, with a specific focus on Nifty50. It provides a comprehensive view of trends across multiple timeframes: 1-hour, 4-hour, Daily, Weekly, and Monthly.
Key Features:
Multi-Timeframe Analysis: Gain insights into trends across 1H, 4H, D, W, and M timeframes, helping you make informed swing trading decisions.
Trend Calculation Methods: Choose between two popular trend calculation methods:
Supertrend: A widely used indicator that identifies trend direction and provides potential entry and exit points.
EMA (Exponential Moving Average): Utilizes the relationship between a fast and slow EMA to determine trend direction.
Customizable Trend Table: A clear and concise table displays the trend direction for each selected timeframe, making it easy to grasp the overall market sentiment.
Nifty50 Reference: The script is tailored for Indian stocks and includes a reference to Nifty50, allowing you to gauge the broader market trend.
Visual Customization: Adjust the colors of the trend table, background, and text to suit your preferences.
Adjustable Settings: Fine-tune the parameters for Supertrend (ATR Length, Factor) and EMA (Fast EMA, Slow EMA) to optimize the indicator for your trading style.
This script is ideal for traders who want to:
Identify swing trading opportunities in Indian stocks.
Confirm trends across various timeframes.
Utilize either Supertrend or EMA for trend analysis.
Have a quick and clear overview of market trends.
By providing a multi-timeframe perspective and customizable trend analysis, this script empowers traders to make more confident and well-informed swing trading decisions in the Indian stock market.
15% Below Open- plots first candle 15% below open
- plots a cross across the close of the candle once that condition is met
EMA Envelope + SMA + Purple DotThis indicator combines three tools into one:
📈 EMA Envelope with wedge and range contraction signals to highlight volatility squeezes.
🔵 SMA with optional smoothing (SMA/EMA/WMA/SMMA/VWMA) and optional Bollinger Bands.
🟣 Purple Dot “PowerBars” that mark strong momentum bars when price ROC (%) and volume exceed user-defined thresholds.
It also includes:
Background highlighting of contraction zones (bullish/bearish/neutral colors).
A summary table showing PowerBar count and return (%) over custom lookback periods.
Flexible display settings (table position, dark/light theme, highlight toggle).
Designed for traders who want to track momentum bursts, volatility contraction, and trend strength all in one tool.
Volume TargetThis tool highlights unusual volume by comparing it against a moving average benchmark. Users can set the average type/length and define a volume target as a percentage of that average. The script colors bars and provides alerts when volume exceeds the target
EMA 3 vs EMA 21 % Difference AdjustableTitle: EMA 3 vs EMA 21 % Difference with Adjustable Labels
Description:
This script calculates the percentage difference between EMA 3 and EMA 21 and displays it directly on the chart as a label. Labels are shown only when the difference exceeds a user-defined threshold, helping traders easily spot significant deviations.
Features:
Calculates EMA 3 and EMA 21.
Displays percentage difference as labels above or below candles.
Adjustable label style and size.
User-defined percentage threshold for label visibility.
Plots EMA lines for visual reference.
Ideal for traders who want to monitor short-term EMA divergence relative to a longer-term trend in a clean and customizable way.
EMA + Bollinger + VWAP bySaMAll in one
EMA 20/50/200
BOLLINGER
VWAP
All in one for perfect market watching
MOM + MACD + RSI + DIV bySaMAll indicators in ONE
MOMENTUM
MACD
RSI
DIVERGENCE
All in one scaled for perfect market watching
Institutions order spikes spotter//@version=5
indicator("Volume Spike — QuickFire (TF-Adaptive)", overlay=true, max_labels_count=500)
//––– Helpers –––
barsFromMinutes(mins, avgBarMs) =>
ms = mins * 60000.0
int(math.max(2, math.round(ms / math.max(1.0, nz(avgBarMs, 60000.0)))))
alphaFromLen(lenBarsFloat) =>
lb = math.max(2.0, lenBarsFloat)
2.0 / (lb + 1.0) // EMA alpha
//––– Inputs –––
useMinutesHorizon = input.bool(true, "Use Minutes Horizon (TF-adaptive)")
presetMinutes = input.string("120","Horizon Preset (min)", options= )
horizonMinutes = input.int(240, "Custom Horizon (min) if preset OFF", minval=10, maxval=24*60)
usePresetMins = input.bool(true, "Use Preset")
// Sensitivity (LOOSE defaults)
multK = input.float(2.2, "K: vol > baseline × K", minval=1.1, step=0.1)
zThresh = input.float(2.5, "Z: vol > mean + Z·stdev", minval=1.5, step=0.1)
requireBoth = input.bool(false, "Require BOTH (K & Z). If OFF → EITHER")
// Optional filters (OFF by default)
useNewExtreme = input.bool(false, "Require New Extreme vs Prior Max (OFF)")
priorWinBarsInp = input.int(100, "Prior-Max Window (bars)", minval=20, maxval=5000)
priorFactor = input.float(1.20, "New Extreme ≥ priorMax ×", minval=1.0, step=0.05)
minDollarVol = input.float(0.0, "Min Dollar-Volume (price×vol×mult) — 0=off", step=1.0)
contractMult = input.float(1.0, "Contract/Dollar Multiplier (e.g., NQ 20, MNQ 2)", step=0.1)
sessionOnly = input.bool(false, "Restrict to Session (OFF)")
sess = input.session("0830-1600", "Session (exchange tz)")
earlyDetect = input.bool(true, "Early Intrabar Detection")
cooldownMins = input.int(10, "Cooldown Minutes", minval=0, maxval=24*60)
markerSize = input.string("normal", "Marker Size", options= )
showLabel = input.bool(false, "Show ratio label")
shadeNear = input.bool(true, "Shade near-misses (only one condition)")
colUp = color.new(color.teal, 0)
colDn = color.new(color.red, 0)
colBgHit = color.new(color.yellow, 80)
colBgNear = color.new(color.silver, 88)
//––– Derived (minutes → bars → alphas) –––
avgBarMs = ta.sma(time - time , 50)
useMin = usePresetMins ? str.tonumber(presetMinutes) : horizonMinutes
lenEffBars = useMinutesHorizon ? barsFromMinutes(useMin, avgBarMs) : useMin
lenEffF = float(lenEffBars)
alphaVol = alphaFromLen(lenEffF)
alphaATR = alphaFromLen(math.max(10.0, lenEffF/2.0))
cooldownBars = useMinutesHorizon ? barsFromMinutes(cooldownMins, avgBarMs) : cooldownMins
//––– Guards –––
inSess = sessionOnly ? not na(time(timeframe.period, sess)) : true
//––– EW stats (no series-int) –––
vol = volume
var float vMean = na
var float vVar = na
vMeanPrev = nz(vMean , vol)
vMean := na(vMean ) ? vol : vMeanPrev + alphaVol * (vol - vMeanPrev)
delta = vol - vMeanPrev
vVar := na(vVar ) ? 0.0 : (1.0 - alphaVol) * (nz(vVar ) + alphaVol * delta * delta)
vStd = math.sqrt(math.max(vVar, 0.0))
// EW ATR (for optional anatomy later if you want)
trueRange = math.max(high - low, math.max(math.abs(high - close ), math.abs(low - close )))
var float atrEW = na
atrEW := na(atrEW ) ? trueRange : atrEW + alphaATR * (trueRange - atrEW )
// Intrabar scaling
elapsedMs = barstate.isrealtime ? (timenow - time) : nz(avgBarMs, 0)
frac = earlyDetect ? math.max(0.0, math.min(1.0, elapsedMs / math.max(1.0, nz(avgBarMs, 1)))) : 1.0
// Thresholds
thMult = nz(vMean, 0) * multK
thZ = nz(vMean, 0) + zThresh * vStd
thMultEf = thMult * frac
thZEf = thZ * frac
condMult = vol > thMultEf
condZ = vol > thZEf
condCore = requireBoth ? (condMult and condZ) : (condMult or condZ)
// Optional filters (default OFF)
priorMax = ta.highest(vol , priorWinBarsInp)
condNewMax = not useNewExtreme or (vol >= priorMax * priorFactor)
dollarVol = close * vol * contractMult
condDVol = (minDollarVol <= 0) or (dollarVol >= minDollarVol)
// Cooldown
var int lastSpikeBar = -1000000000
coolOK = (bar_index - lastSpikeBar) > cooldownBars
// Final event (minimal gates)
isSpike = inSess and condCore and condNewMax and condDVol and coolOK
// Near-miss shading (only one condition true)
nearMiss = shadeNear and inSess and not isSpike and (condMult != condZ) and (condMult or condZ)
// Severity
ratio = nz(vol) / nz(vMean, 1.0)
dirUp = close >= open
// Update cooldown stamp
if isSpike
lastSpikeBar := bar_index
//––– Plotting –––
bgcolor(isSpike ? colBgHit : nearMiss ? colBgNear : na)
isUp = isSpike and dirUp
isDn = isSpike and not dirUp
// const-size markers
plotshape(markerSize == "tiny" and isUp, title="Spike Up tiny", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.tiny)
plotshape(markerSize == "small" and isUp, title="Spike Up small", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.small)
plotshape(markerSize == "normal" and isUp, title="Spike Up normal", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.normal)
plotshape(markerSize == "large" and isUp, title="Spike Up large", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.large)
plotshape(markerSize == "huge" and isUp, title="Spike Up huge", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.huge)
plotshape(markerSize == "tiny" and isDn, title="Spike Dn tiny", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.tiny)
plotshape(markerSize == "small" and isDn, title="Spike Dn small", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.small)
plotshape(markerSize == "normal" and isDn, title="Spike Dn normal", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.normal)
plotshape(markerSize == "large" and isDn, title="Spike Dn large", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.large)
plotshape(markerSize == "huge" and isDn, title="Spike Dn huge", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.huge)
// Optional label
if showLabel and isSpike
y = dirUp ? low : high
st = dirUp ? label.style_label_down : label.style_label_up
c = dirUp ? colUp : colDn
label.new(bar_index, y, str.tostring(ratio, "#.##x"), xloc=xloc.bar_index, style=st, textcolor=color.white, color=c)
// Alerts
alertcondition(isSpike, title="Volume Spike (Any)", message="Volume spike detected.")
alertcondition(isSpike and isUp, title="Volume Spike Up", message="UP volume spike.")
alertcondition(isSpike and isDn, title="Volume Spike Down", message="DOWN volume spike.")
// Hidden refs (optional)
plot(ratio, title="Severity Ratio", display=display.none)
plot(dollarVol, title="Dollar Volume", display=display.none)
plot(atrEW, title="EW ATR", display=display.none)