Improved Candle Strategy (without daily squared)# Candle Pattern Trading Strategy
## Core Logic
Analyzes the last 5 candlesticks to identify "close at high" and "close at low" patterns, generating long/short signals.
## Trading Conditions
- **Long**: ≥2 bars closed at high in past 5 bars + current bar closes at high → Open long
- **Short**: ≥2 bars closed at low in past 5 bars + current bar closes at low → Open short
- **Filter**: If ≥3 doji patterns detected, skip trading
## Risk Management
- Stop Loss: Based on entry bar's high/low
- Take Profit: Risk × 2x multiplier
- Cooldown: No trading for 2 bars after entry
- Session Filter: No trading for first 5 bars after market open
## Configurable Parameters
- Lookback period, doji threshold, close proximity ratio, TP/SL ratio, cooldown bars, etc.
**Use Cases**: 1-minute and higher timeframes on stocks/futures
Candlestick analysis
GS Volume Truth Serum (With Alerts)this tells you when institutions are behind a move and its not a bull trap
Multi-Trend + Credit Risk DashboardHello This is showing 20,50,200 as well as some other useful indicators. hope you like it, its my first! D and P is discount or premium to nav
takeshi MNO_2Step_Screener_MOU_MOUB_KAKU//@version=5
indicator("MNO_2Step_Screener_MOU_MOUB_KAKU", overlay=true, max_labels_count=500, max_lines_count=500)
// =========================
// Inputs
// =========================
emaSLen = input.int(5, "EMA Short (5)", minval=1)
emaMLen = input.int(13, "EMA Mid (13)", minval=1)
emaLLen = input.int(26, "EMA Long (26)", minval=1)
macdFast = input.int(12, "MACD Fast", minval=1)
macdSlow = input.int(26, "MACD Slow", minval=1)
macdSignal = input.int(9, "MACD Signal", minval=1)
macdZeroTh = input.float(0.2, "MOU: MACD near-zero threshold", step=0.05)
volDays = input.int(5, "Volume avg (days equivalent)", minval=1)
volMinRatio = input.float(1.3, "MOU: Volume ratio min", step=0.1)
volStrong = input.float(1.5, "Strong volume ratio (MOU-B/KAKU)", step=0.1)
volMaxRatio = input.float(3.0, "Volume ratio max (filter)", step=0.1)
wickBodyMult = input.float(2.0, "Pinbar: lowerWick >= body*x", step=0.1)
pivotLen = input.int(20, "Resistance lookback", minval=5)
pullMinPct = input.float(5.0, "Pullback min (%)", step=0.1)
pullMaxPct = input.float(15.0, "Pullback max (%)", step=0.1)
breakLookbackBars = input.int(5, "Valid bars after break", minval=1)
showEMA = input.bool(true, "Plot EMAs")
showLabels = input.bool(true, "Show labels (猛/猛B/確)")
showShapes = input.bool(true, "Show shapes (猛/猛B/確)")
confirmOnClose = input.bool(true, "Signal only on bar close (recommended)")
locChoice = input.string("Below", "Label location", options= )
lblLoc = locChoice == "Below" ? location.belowbar : location.abovebar
// =========================
// EMA
// =========================
emaS = ta.ema(close, emaSLen)
emaM = ta.ema(close, emaMLen)
emaL = ta.ema(close, emaLLen)
plot(showEMA ? emaS : na, color=color.new(color.yellow, 0), title="EMA 5")
plot(showEMA ? emaM : na, color=color.new(color.blue, 0), title="EMA 13")
plot(showEMA ? emaL : na, color=color.new(color.orange, 0), title="EMA 26")
emaUpS = emaS > emaS
emaUpM = emaM > emaM
emaUpL = emaL > emaL
goldenOrder = emaS > emaM and emaM > emaL
above26_2bars = close > emaL and close > emaL
baseTrendOK = (emaUpS and emaUpM and emaUpL) and goldenOrder and above26_2bars
// =========================
// MACD
// =========================
= ta.macd(close, macdFast, macdSlow, macdSignal)
macdGC = ta.crossover(macdLine, macdSig)
macdUp = macdLine > macdLine
macdNearZero = math.abs(macdLine) <= macdZeroTh
macdGCAboveZero = macdGC and macdLine > 0 and macdSig > 0
macdMouOK = macdGC and macdNearZero and macdUp
macdKakuOK = macdGCAboveZero
// =========================
// Volume (days -> bars)
// =========================
sec = timeframe.in_seconds(timeframe.period)
barsPerDay = (sec > 0 and sec < 86400) ? math.round(86400 / sec) : 1
volLookbackBars = math.max(1, volDays * barsPerDay)
volMA = ta.sma(volume, volLookbackBars)
volRatio = volMA > 0 ? (volume / volMA) : na
volumeMouOK = not na(volRatio) and volRatio >= volMinRatio and volRatio <= volMaxRatio
volumeStrongOK = not na(volRatio) and volRatio >= volStrong and volRatio <= volMaxRatio
// =========================
// Candle patterns
// =========================
body = math.abs(close - open)
upperWick = high - math.max(open, close)
lowerWick = math.min(open, close) - low
pinbar = (body > 0) and (lowerWick >= wickBodyMult * body) and (lowerWick > upperWick) and (close >= open)
bullEngulf = close > open and close < open and close >= open and open <= close
bigBull = close > open and open < emaM and close > emaS and (body > ta.sma(body, 20))
candleOK = pinbar or bullEngulf or bigBull
// =========================
// Resistance / Pullback route
// =========================
res = ta.highest(high, pivotLen)
pullbackPct = res > 0 ? (res - close) / res * 100.0 : na
pullbackOK = not na(pullbackPct) and pullbackPct >= pullMinPct and pullbackPct <= pullMaxPct
brokeRes = ta.crossover(close, res )
barsSinceBreak = ta.barssince(brokeRes)
afterBreakZone = (barsSinceBreak >= 0) and (barsSinceBreak <= breakLookbackBars)
pullbackRouteOK = afterBreakZone and pullbackOK
// =========================
// Signals (猛 / 猛B / 確)
// =========================
mou_pullback = baseTrendOK and volumeMouOK and candleOK and macdMouOK and pullbackRouteOK
mou_breakout = baseTrendOK and ta.crossover(close, res ) and volumeStrongOK and macdKakuOK
cond1 = emaUpS and emaUpM and emaUpL
cond2 = goldenOrder
cond3 = above26_2bars
cond4 = macdKakuOK
cond5 = volumeMouOK
cond6 = candleOK
cond7 = pullbackOK
cond8 = pullbackRouteOK
all8 = cond1 and cond2 and cond3 and cond4 and cond5 and cond6 and cond7 and cond8
final3 = pinbar and macdKakuOK and volumeStrongOK
kaku = all8 and final3
// 確優先(同一足は確だけ出す)
confirmed = confirmOnClose ? barstate.isconfirmed : true
sigKAKU = kaku and confirmed
sigMOU = mou_pullback and not kaku and confirmed
sigMOUB = mou_breakout and not kaku and confirmed
// =========================
// Visualization
// =========================
if showLabels and sigMOU
label.new(bar_index, low, "猛", style=label.style_label_up, color=color.new(color.lime, 0), textcolor=color.black)
if showLabels and sigMOUB
label.new(bar_index, low, "猛B", style=label.style_label_up, color=color.new(color.green, 0), textcolor=color.black)
if showLabels and sigKAKU
label.new(bar_index, low, "確", style=label.style_label_up, color=color.new(color.yellow, 0), textcolor=color.black)
plotshape(showShapes and sigMOU, title="MOU", style=shape.labelup, text="猛", color=color.new(color.lime, 0), textcolor=color.black, location=lblLoc, size=size.tiny)
plotshape(showShapes and sigMOUB, title="MOUB", style=shape.labelup, text="猛B", color=color.new(color.green, 0), textcolor=color.black, location=lblLoc, size=size.tiny)
plotshape(showShapes and sigKAKU, title="KAKU", style=shape.labelup, text="確", color=color.new(color.yellow, 0), textcolor=color.black, location=lblLoc, size=size.small)
// =========================
// Alerts
// =========================
alertcondition(sigMOU, title="MNO_MOU", message="MNO: 猛(押し目)")
alertcondition(sigMOUB, title="MNO_MOU_BREAKOUT", message="MNO: 猛B(ブレイク)")
alertcondition(sigKAKU, title="MNO_KAKU", message="MNO: 確(最終)")
alertcondition(sigMOU or sigMOUB or sigKAKU, title="MNO_ALL", message="MNO: 猛/猛B/確 いずれか")
Sustained 200 SMA Cross (Locked to Daily)For individuals looking to track trend changes against the 200 day simple moving average. We are measuring 5 consecutive days changing from the above or below the 200 day SMA as a flag for a potential shift in trend.
HydraBot v1.2 publicenglish description english description english description english description english description english description english description english description english description
ICT Kill Zone Macro Analysis Enhanced v3The Kill Zones specified by TheInnerCircleTrader with internal and external specific fib levels and standard deviations.
Also indicates important session open prices and new day open price.
MNQ Optimal Entry Detector - Timeframe StableOptimized for timeframes and has better trade stability, overall better option however use with discretion, dont trade until 3 hours after market opens and dont use 4 hours before close due to lack of volume.
NY & Sydney Open firts candle 10m (v6)We will analyze the initial intention of the opening. The first Japanese candlestick after the opening in New York or Sydney will show us the initial intention of the price movement.
NY & Sydney Open firts candle 10m (v6)We will analyze the initial intention of the opening. The first Japanese candlestick after the opening in New York or Sydney will show us the initial intention of the price movement.
MNQ Optimal Entry Detector Use 2 minute time frame, no range entry signals as they are lower probability, use discretion and understand bias. This is still in testing so do not use it as financial advice.
5 EMA vs 50 EMA Crossover with PCO/NCO//@version=5
indicator("5 EMA vs 50 EMA Crossover with PCO/NCO", overlay=true)
// EMA Calculations
emaFast = ta.ema(close, 5)
emaSlow = ta.ema(close, 50)
// Crossover Conditions
buySignal = ta.crossover(emaFast, emaSlow)
sellSignal = ta.crossunder(emaFast, emaSlow)
// Plot EMAs
plot(emaFast, color=color.blue, title="5 EMA")
plot(emaSlow, color=color.orange, title="50 EMA")
// Plot Buy/Sell Signals
plotshape(buySignal, title="Buy (PCO)", location=location.belowbar, color=color.green, style=shape.labelup, text="PCO")
plotshape(sellSignal, title="Sell (NCO)", location=location.abovebar, color=color.red, style=shape.labeldown, text="NCO")
// Optional Alerts
alertcondition(buySignal, title="Buy Alert (PCO)", message="PCO: 5 EMA crossed above 50 EMA")
alertcondition(sellSignal, title="Sell Alert (NCO)", message="NCO: 5 EMA crossed below 50 EMA")
Strategy XAUUSDDouble low and higher close (yellow candle) combined with bullish outside bar (orange candle).
Trappp's Advanced Multi-Timeframe Trading ToolkitThis comprehensive trading script by Trappp provides a complete market analysis framework with multiple timeframe support and resistance levels. The indicator features:
Key Levels:
· Monthly (light blue dashed) and Weekly (gold dashed) levels for long-term context
· Previous day high/low (yellow) with range display
· Pivot-based support/resistance (pink dashed)
· Premarket levels (blue) for pre-market activity
Intraday Levels:
· 1-minute opening candle (red)
· 5-minute (white), 15-minute (green), and 30-minute (purple) session levels
· All intraday levels extend right throughout the trading day
Technical Features:
· EMA 50/200 cross detection with alert labels
· Candlestick pattern recognition near key levels
· Smart proximity detection using ATR
· Automatic daily/weekly/monthly updates
Trappp's script is designed for traders who need immediate visual reference of critical price levels across multiple timeframes, helping identify potential breakouts, reversals, and pattern-based setups with clear, color-coded visuals for quick decision-making.
iFVG ultimateUltimate ifvg strategy indictor, has 1hr/4hr high/low marker, Session high/low and 50% Daily range marker
BRT Support MA [STRATEGY] v3BRT Support MA Strategy v3
Strategy Description
BRT Support MA Strategy v3 — a trading system based on a dynamic support/resistance level with an integrated loss compensation system through hedging.
Unique Approach
The strategy uses an adaptive Support MA level that changes color depending on market conditions:
🟢 Green — bullish state (long positions)
🔴 Red — bearish state (short positions)
Key Feature: integrated hedging system with dynamic volume calculation that compensates losses from unsuccessful main positions.
Trading Logic
Main Positions (Limit Orders)
LONG: limit order at Support MA level when the line is green
SHORT: limit order at Support MA level when the line is red
TP: fixed percentage from entry price
No stop-losses — losses are managed through the hedging system
Hedging System
Activated when Support MA color changes (market state shift):
Opens a position in the opposite direction
Hedge volume is calculated dynamically to compensate main position losses
Has its own TP level
Hedge Goal: cover the loss from the main position and exit at breakeven or with minimal profit.
Settings
Parameter Description
Support MA Length Period for dynamic level calculation
Support MA Timeframe Timeframe for multi-timeframe analysis
Main TP (%) Take Profit for main positions
Hedge TP (%) Take Profit for hedging positions
Base Volume (USDT) Base position volume including leverage
Commission: 0.04%
Visualization
Support MA (thick line) — dynamic entry level, changes color by market state
TP levels — displayed in data window
Optimization:
Backtest on at least 6 months of historical data
Adjust TP parameters for asset volatility
Adapt volume to your deposit size and risk management
⚠️ CRITICAL RISK WARNING
🚨 LIQUIDATION RISK WITH INSUFFICIENT MARGIN
WARNING! The strategy uses dynamic calculation of hedging position volumes.
Hedge volume can SIGNIFICANTLY exceed the main position volume , as it is calculated to fully compensate accumulated losses.
THIS MEANS:
When hedge activates, it may require several times more margin than the main position
With insufficient deposit size , opening a hedge position can lead to immediate liquidation of the entire account
The larger the main position loss, the larger the required hedge volume
When using high leverage, liquidation risk increases exponentially
DEPOSIT REQUIREMENTS:
Deposit must be at least 10 times larger than the set base position volume
Always maintain significant free margin reserve (minimum 50% of deposit)
Use conservative leverage (no higher than 3-5x)
If your deposit size is insufficient to cover possible hedging positions, DO NOT USE this strategy in live trading.
⚠️ GENERAL DISCLAIMER
FOR BACKTESTING AND EDUCATION ONLY
This code is intended EXCLUSIVELY for:
Testing on historical data
Studying approaches to trading system development
Educational purposes
The Author BEARS NO RESPONSIBILITY
for:
Financial losses from live trading use
Account liquidation due to insufficient margin
Strategy performance on live accounts
Any losses, direct or indirect
IMPORTANT:
Past results do not guarantee future performance
Backtest ≠ live trading (no slippage, partial fills, liquidity changes)
Leveraged trading carries extremely high risk of total capital loss
Not financial advice
Consult with a financial advisor before making trading decisions
By using this code, you accept full responsibility for your actions and possible account liquidation.
Technical Details
Pine Script: v5
License: Mozilla Public License 2.0
Author: MaxBRFZCO
Order Processing: on bar close
Pyramiding: disabled
For questions and suggestions, use comments under the publication.
MHM BOT V2Proprietary algorithm based indicator providing clear buy / sell signals which do not repaint. This algorithm is based on rejection patterns. Perfectly suited for scalping tickers with high liquidity and volatility. Perfectly suited for scaling NQ or ES.
Universal No Wick StrategyThe strategy assumes that strong directional intent is best expressed by no-wick candles (full-body candles with no rejection on one side), but only when they appear in alignment with the prevailing market structure. Trades are taken exclusively in the direction of the active structure and are invalidated immediately on structural change.
Key Components
1. Trend Filter
Two selectable methods:
Market Structure (default): Uses swing highs/lows to define bullish or bearish structure.
EMA Filter: Trades only above/below a configurable EMA.
Only one directional bias is allowed at any time (LONG-only or SHORT-only).
2. Market Structure Engine
ZigZag-based swing detection.
Automatic classification of:
Higher Highs (HH), Higher Lows (HL)
Lower Highs (LH), Lower Lows (LL)
Detects and visualizes:
Change of Character (ChoCH) – trend shift
Break of Structure (BOS) – trend continuation
Any ChoCH immediately cancels opposing pending orders.
3. No-Wick Candle Logic
Bullish no-wick: open = low, close > open
Bearish no-wick: open = high, close < open
Signals are only valid if:
They align with current structure
No position or conflicting pending order exists
Optional candle coloring and compensation lines for visual clarity.
4. HTF Candle Start Confluence
Optional detection of no-wick candles at:
30-minute
1-hour
4-hour candle opens
Visual markers prioritize higher timeframes.
Alerts available for each HTF start condition.
5. Trade Execution & Risk Management
Limit entries at candle open.
Stop Loss:
ATR-based, configurable multiplier.
Take Profit:
Defined as a multiple of SL (R-based).
Orders are automatically canceled if:
Not filled within a defined number of candles.
Market structure changes (ChoCH).
Supports fixed contract sizing.
6. Session Filter
Optional trading session restriction.
Fully configurable session time and timezone.
Visual background highlighting for active sessions.
7. Visual & Informational Tools
Entry and Stop Loss zones plotted as boxes.
Historical entry, SL, and TP lines.
Real-time info table displaying:
Current structure
Allowed trade direction
HTF candle start
Position and pending orders
Active SL and TP levels
8. Alerts
ChoCH (bullish / bearish)
BOS (bullish / bearish)
No-wick signals at 30M, 1H, and 4H candle starts
Intended Use
This strategy is designed for traders who:
Focus on market structure and clean price action
Prefer high-precision entries over frequency
Want strict directional discipline
Value HTF timing and session-based filtering
It is suitable for backtesting, systematic discretionary trading, and automation-focused strategy development.
TWT_MAHA+REVERAL🔹 TWT_MAHA + REVERSAL (Smart Money Reversal System)
TWT_MAHA + REVERSAL is a non-repainting support–resistance + price-action reversal indicator designed to catch high-probability market turning points near extremes.
It combines:
Dynamic Support & Resistance (multi-timeframe)
RSI + MACD momentum exhaustion
Smart Money concepts (Order Blocks & Liquidity grabs)
Advanced price-action patterns (pin bars, engulfing, failures)
✅ How to Use (Simple Rules)
🟢 BUY SETUP
Look for Buy signals near Support / Extreme Lows when:
RSI is oversold and starting to reverse
MACD shows loss of bearish momentum
Strong bullish price action appears (long wick, engulfing, reversal pattern)
A Bullish Order Block (OB) or Bullish SFP (liquidity grab) is printed
📌 Best entries:
First retest of a bullish OB
Strong reversal candle close near support
🔴 SELL SETUP
Look for Sell signals near Resistance / Extreme Highs when:
RSI is overbought and rolling over
MACD shows loss of bullish momentum
Strong bearish price action appears
A Bearish Order Block (OB) or Bearish SFP is printed
📌 Best entries:
First retest of a bearish OB
Rejection wick or strong bearish candle near resistance
🎯 Risk–Reward Guidance
Intraday / Scalping:
🔸 Typical RR: 1:1.5 to 1:2
Swing / Positional:
🔸 Typical RR: 1:2 to 1:4
🛑 Stop-loss:
Just beyond the OB zone or recent swing high/low
🎯 Targets:
Nearest opposing S/R
Partial at 1R, trail the rest
🧠 Key Notes
Works best on 5m, 15m, 30m for intraday
Also effective on 1H+ for swing trading
Designed to reduce noise and avoid late entries
No repainting signals
🔐 Access & Updates
This indicator is private.
📩 To get access:
👉 DM me directly on TradingView
(Serious traders only — this tool is built for education Purpose Only. Before taking any Real Trade consult your own Financial Advisor)





















