BaseSignalsBaseSignals just for testing. This script finds simple buy and sell signals. To be developed.
指標和策略
Multi-Timeframe Analysis Table with SMA CrossThis script creates a multi-timeframe analysis tool for technical trading in TradingView. It displays a comprehensive table that helps traders analyze price action across different timeframes simultaneously.
Core Functionality
The script generates a table with five columns:
Label column: Shows indicator names and section titles
Current timeframe: Analysis for the chart's current timeframe
Higher timeframe 1: Analysis for first higher timeframe (default: 60min)
Higher timeframe 2: Analysis for second higher timeframe (default: 4h)
Higher timeframe 3: Analysis for third higher timeframe (default: Daily)
Key Components
Technical Indicators
The table displays values for four technical indicators across all timeframes:
RSI (Relative Strength Index): Measures momentum and identifies overbought/oversold conditions
MACD (Moving Average Convergence Divergence): Trend-following momentum indicator
VMC (Volatility-based Mean Reversion): Custom oscillator for mean reversion signals
TRIX: Triple exponential average indicator showing percent rate-of-change
Trading Recommendations
The script calculates trading recommendations by:
Checking if SMA1 (fast) is above/below SMA2 (slow) to determine trend direction
Calculating an indicator score based on RSI, MACD, VMC, and TRIX values
Combining trend confirmation with indicator score to generate recommendations:
BUY: Bullish trend with positive indicator score
SELL: Bearish trend with negative indicator score
WAIT: Positive indicator score but no bullish confirmation
NEUTRAL: No clear signal
Support/Resistance Levels
The script identifies key support and resistance levels for each timeframe using a pivot-based algorithm that:
Finds significant price pivots within a lookback period
Groups nearby pivots into channels/zones
Displays the most significant S/R level for each timeframe
Trend Confirmation
The final row shows the overall trend direction based on SMA crossovers:
Bullish: When the faster SMA is above the slower SMA
Bearish: When the faster SMA is below the slower SMA
Unstable: When there's no clear direction
User Customization
The script offers extensive customization options:
Toggle which timeframes to display
Adjust SMA periods for each timeframe
Set threshold levels for all indicators
Customize support/resistance detection parameters
Change the table's position, colors, opacity, and border settings
Practical Use
Traders can use this table to:
Identify alignment across multiple timeframes (stronger signals when all timeframes agree)
Spot divergences between timeframes (potential trend changes)
Make more informed trading decisions with comprehensive technical analysis in a single view
Find key support/resistance levels relevant to different trading horizons
FeraTrading Compression Indicator v1.1The FeraTrading Compression Indicator is designed to identify potential breakouts from consolidation zones or at critical support and resistance levels. It combines volatility filtering with precise candle analysis to reduce market noise and highlight high-probability setups. An arrow is formed when all criteria's are reached. This methodology aims to catch significant price movements while avoiding false breakouts, helping traders make more confident and informed decisions while avoiding choppy markets. The indicator simply shows up trend, and down trend signaling.
The indicator features a single adjustable setting that controls signal sensitivity. This value ranges from 0.01 to 1 (default: 0.75).
Higher values (e.g., 0.8–1) generate more signals by relaxing the detection criteria, which may include more false positives.
Lower values (e.g., 0.01–75) apply stricter filtering, showing fewer but potentially more reliable signals.
The indicator aims to find the upcoming trend no matter what the chart is doing. The trend may last for 15 minutes or a few hours.
Alerts are included.
Arrow Calculation:
Arrows are shown using a calculation of EMA's, ATR, a custom "compression" calculation, a custom "burst" calculation, and candlestick analysis.
FeraTrading Compression Flow v1The FeraTrading Compression Flow Indicator is an advanced trend analysis tool that integrates our proprietary Compression Indicator with a dynamic blend of Simple Moving Averages (SMA), Average True Range (ATR), and price action. This fusion aims to provide traders with a nuanced understanding of market trends by highlighting periods of price compression and expansion.
🔍 Key Features:
Dynamic Trend Visualization: The indicator plots adaptive lines on the chart that change color based on trend direction—green for anticipated uptrends and red for anticipated downtrends—offering immediate visual cues.
Compression Analysis: By incorporating our proprietary Compression Indicator, it identifies zones where price movements are constricted, often preceding significant breakouts. This feature assists traders in pinpointing potential entry and exit points.
Volatility-Adjusted Signals: The integration of ATR ensures that the indicator adapts to market volatility, providing more reliable signals during varying market conditions.
Customizable Parameters: Users can fine-tune the indicator settings to align with their trading strategies and preferred timeframes.
⚙️ Indicator Settings:
Input Multiplier: Adjusts the sensitivity of trend detection. A lower value (e.g., 0.01) makes the indicator more responsive to minor trend changes, while a higher value (up to 2) filters out minor fluctuations, focusing on more significant trends.
SMA Length: Determines the lookback period for the SMA component. While the plotted lines are influenced by SMA, they also factor in ATR and price movements, offering a more comprehensive trend analysis than a traditional SMA alone.
📊 Versatility:
This indicator is designed to be effective across various tickers and timeframes, making it a versatile addition to any trader's toolkit. Whether you're analyzing short-term movements or long-term trends, the FeraTrading Compression Flow Indicator provides valuable insights to the market.
FeraTrading Breakout Indicator v1.3The FeraTrading Breakout Indicator is built for universal compatibility, working seamlessly across all tickers and timeframes. The indicator is engineered to anticipate potential breakout opportunities by combining volatility filtering with initial support and resistance detection.
A distinct yellow line is plotted to represent key support or resistance zones when a breakout signal is generated. These levels help confirm directional bias and provide a visual anchor for potential entries, exits, or support/resistance levels.
By combining volatility cues with structural price levels, this indicator offers traders a reliable tool for identifying trend initiation and momentum shifts with clarity and precision.
Indicator Settings:
First Trade Only - display only the first signal of the day (Which is usually the strongest) or every signal of the day.
Spike Filter - filter signals to only show when candles are more aggressive than normal.
Spike Lookback Length - the amount of bars behind, the Spike filter will use to compare to the current bar. This is a value input.
Dynamic Arrow Strictness - increase this value to decrease arrow probability and vice versa. This is a value input.
Alerts are included.
Arrow Calculation:
Takes the strongest support and resistance level from the session, then uses a price related value to adjust these levels to their true support and resistance level. After this, arrows are only shown when they meet our custom spike filter criteria. This is calculated using a custom candlestick analysis value smoothed over a period. Additionally, we use SMA's of candlestick features that the arrows must follow correctly in order to be painted.
Model+ - Trendlines Only// === Model+ Trendlines (Support/Resistance) ===
//@version=5
indicator("Model+ - Trendlines Only", overlay=true)
// Input parameters
pivotLookback = input.int(10, title="Pivot Lookback", minval=1)
minTouches = input.int(2, title="Minimum Touches for Trendline", minval=2)
// === Identify Highs and Lows ===
ph = ta.pivothigh(high, pivotLookback, pivotLookback)
pl = ta.pivotlow(low, pivotLookback, pivotLookback)
// === Store trendline candidate points ===
var line supportLines = array.new_line()
var line resistanceLines = array.new_line()
// === Function: draw horizontal level if repeated ===
plotSupportLevel(_price, _color) =>
line.new(x1=bar_index - pivotLookback, y1=_price, x2=bar_index, y2=_price, extend=extend.right, color=_color, width=1)
// === Find repeating lows (support) ===
var float supportLevels = array.new_float()
if pl
level = low
count = 0
for i = 0 to array.size(supportLevels) - 1
if math.abs(level - array.get(supportLevels, i)) <= syminfo.mintick * 20
count := count + 1
if count == 0
array.push(supportLevels, level)
plotSupportLevel(level, color.green)
// === Find repeating highs (resistance) ===
var float resistanceLevels = array.new_float()
if ph
level = high
count = 0
for i = 0 to array.size(resistanceLevels) - 1
if math.abs(level - array.get(resistanceLevels, i)) <= syminfo.mintick * 20
count := count + 1
if count == 0
array.push(resistanceLevels, level)
plotSupportLevel(level, color.red)
// === Notes ===
// This code marks horizontal support and resistance levels based on pivot points.
// It adapts automatically to different timeframes, showing relevant levels for each.
// Next step: add diagonal trendlines (ascending/descending) and pattern recognition.
Reversal Pro IndicatorReversal Pro Indicator
Buy-Sell indicator.
A. Long entry on Buy Hold till sell Signal
B. Long exit on Sell Signal
c. Short entry on Sell signal hold till buy signal
d. Short Exit on Buy signal
EMA 8/120 Crossover + RSI Filter with BandsDescription:
This indicator is designed to detect trend direction and generate Buy/Sell signals based on the crossover of two exponential moving averages (EMA 8 and EMA 120), with confirmation from the RSI 14 momentum filter. It visually enhances entries using dynamic color bands and signal labels.
🔍 Key Features:
📈 EMA 8 (Fast) and EMA 120 (Slow) are plotted on the chart to track market trends.
✅ Buy Signal: Triggered when EMA 8 crosses above EMA 120 and RSI is above 50.
❌ Sell Signal: Triggered when EMA 8 crosses below EMA 120 and RSI is below 50.
🎨 Dynamic Signal Band:
A green band fills the area between EMA 8 and EMA 120 when in a Buy state.
A red band fills the area between EMA 8 and EMA 120 when in a Sell state.
The band updates live and flips color based on the current trend direction.
🔔 Buy/Sell Labels appear directly on the chart for easy identification of trade entries.
🧠 Use Case:
This indicator is ideal for trend-following strategies, especially for intraday or swing trading. The RSI filter helps reduce false signals by ensuring momentum aligns with the crossover direction.
711. CandleStreak & %Changeas you can see, percentage changes and candle streak r counting and show the label on chart
SPY, NQ, SPX, ES Live Prices (Customizable)This indicator lets you see the most popular S&P tickers on any chart.
Currently shows SPY, NQ, SPX, and ES
911. CandleStreak Alarm & %Changethis helps you to set alarm on candle streaks. you can also change the number and colors of streak labels. and change the percentage labels too.
Volume RSI - VRSIIntroduction:
This oscillator uses the RSI formula, but instead of calculating based on the difference between candle closes, it utilizes volume data. This allows users to identify divergences between volume and price.
Compared to the traditional RSI, it reacts faster, but may not be as precise—making it most effective when used alongside the standard RSI.
How you use this oscillator depends entirely on your strategy and trading approach.
I recommend analyzing this oscillator together with the classic RSI to gain a better understanding and improve your market insight.
Features:
Ability to display reverse divergences
Option to add a traditional RSI with a custom length
Ability to choose which RSI to smooth
Option to toggle the visibility of either RSI
If you need the source code for this indicator, feel free to message me on Telegram:
🔗 @OxAlireza200
MACD_DIXCHANGE with Divergences and Target PricesSummary
This indicator is an advanced momentum oscillator, inspired by the work of DAVIDGLZ. It is designed to help traders visualize the strength and direction of the current trend, identify potential market exhaustion or turning points through automatic divergence detection, and provides key reference levels and price estimates for a more comprehensive analysis.
Main Tools and Features
Main Oscillator: The colored line that fluctuates above and below a central zero line.
· Its position (above/below zero) indicates the general direction of momentum
(bullish/bearish).
· Its color changes gradually (typically green/lime for bullish, red/maroon for bearish) and
can suggest the strength of that momentum.
Signal Line: A smoothed version (moving average) of the main line. Crossovers between the main line and the signal line are key events that can generate early warning signals of potential changes.
Histogram (MACD Style): The vertical bars representing the difference (strength) between the Main Oscillator and its Signal Line.
· The height of the bars indicates the magnitude of the difference.
· Its colors change to help visualize whether momentum is accelerating (brighter colors like
Lime Green or Red) or decelerating (darker colors like Green or Maroon).
Key Horizontal Levels: Three reference lines: an Upper Level, a Lower Level (both user-configurable), and the central Zero Line. The area between the upper and lower levels is shaded, creating a visual "operating zone". These levels help identify when the oscillator reaches zones considered relatively over-extended.
Crossover Alerts: Small visual triangles (green for bullish crossover, red for bearish) that mark exactly when the Main Oscillator crosses its Signal Line.
Automatic Divergence Detector: A powerful tool that compares price movement with the Histogram's movement to find discrepancies:
· Detects Regular Bullish Divergences: Price makes lower lows, but the Histogram makes higher lows (potential bottom).
· Detects Regular Bearish Divergences:Price makes higher highs, but the Histogram makes lower highs (potential top).
Divergence Visualization: When a divergence is detected, it automatically draws:
· A dotted line directly on the Histogram connecting the two relevant lows (bullish) or highs (bearish) that form the divergence.
·A small "DIV" text label positioned centered on the midpoint of that dotted divergence line.
Estimated Price Labels: Very useful contextual information displayed to the right of the indicator (only on the last chart bar):
· Shows the approximate price the asset would need to reach right now for the Main Oscillator to touch the Upper Level (H ≈ ...), the Lower Level (L ≈ ...), the Zero Line (Mid ≈ ...), or the crossover point with the Signal Line (Cruce ≈ / Cross ≈ ...). These are dynamic estimates, not fixed predictions.
· Optional Background Color ("Double Peak" Pattern): (If enabled in settings) The indicator's panel background changes to green or red to highlight a specific condition: when the histogram forms two impulses ("mountains") in the same direction, and the second impulse begins to show signs of exhaustion by retreating towards zero.
·Information Panel: Displays the stylized name of the indicator in the bottom-right corner.
How to Interpret and Use the Tools
· Trend and Momentum: Use the Main Oscillator's position (above/below zero) and its crossovers with the Signal Line as basic directional indicators. Confirm strength and acceleration with the Histogram.
· Reversal Signals: Divergences are key signals of potential trend exhaustion. A bullish divergence after a downtrend, or a bearish divergence after an uptrend, warns of a possible change in direction. Important: Do not trade divergences alone; always seek confirmation (price action, patterns, other indicators).
· Extreme Conditions: Use the Upper and Lower Levels as guides to identify when the indicator reaches relatively overextended zones, where a pullback or pause might be more likely.
· Price Context: The Estimated Price Labels help you relate the indicator's levels to specific price points on the asset in the current moment.
· Exhaustion Signal (Background): If the background color feature is active, use it as an additional alert that a secondary push in the histogram might be failing.
Configuration
The indicator offers a wide range of customizable settings via its Inputs:
· Adjust the "speed" or sensitivity of the Main Oscillator (by changing its Moving Average settings).
· Adjust the smoothing of the Signal Line.
· Define your own Upper and Lower Horizontal Levels.
· Adjust the sensitivity of Divergence detection (by changing pivot parameters).
· Enable or disable most visual features (divergence lines/labels, price labels, optional
background color).
"This indicator is intended for use on timeframes of 3 minutes or higher and comes pre-configured with functional default settings. Modifying these settings may alter the original intended functionality of the indicator."
Disclaimer
This indicator is a tool for technical analysis and should not be considered investment advice or an infallible signal. Trading involves risks. Use this indicator as part of a well-defined trading strategy, alongside other analysis tools and proper risk management. Always conduct your own research.
Credits
Based on the original concept "Insane MACD_DIXCHANGE" by DAVIDGLZ, with multiple enhancements and added functionalities during development.
This English version should effectively convey the indicator's features and usage on TradingView.
shogirtlarim uchunIndicator: Shogirtlarim uchun
This is a professional trading tool designed to detect high-probability BUY and SELL zones using an adaptive range system based on ATR (Average True Range).
🔹 Features:
Automatically plots dynamic upper and lower channel boundaries.
Sends BUY signals when the price exits the lower zone, and SELL signals when exiting the upper zone.
Optional signal filtering based on trend direction.
Detects and marks potential fakeouts.
Cooldown logic to prevent frequent signals.
⚙️ Works best on intraday timeframes (1m to 1h), especially on volatile assets like XAUUSD, BTCUSD, NASDAQ, etc.
📌 Backtest and demo before using live. For educational and informational purposes only.
AlgoRanger Supply & Demand Zones/@version=5
indicator(" AlgoRanger Supply & Demand Zones", overlay=true, max_boxes_count = 500)
//inputs
candleDifferenceScale = input.float(defval = 1.8, minval = 1, title = 'Zone Difference Scale', tooltip = 'The scale of how much a candle needs to be larger than a previous to be considered a zone (minimum value 1.0, default 1.😎', group = 'Zone Settings')
zoneOffset = input.int(defval = 15, minval = 0, title="Zone Extension", group = 'Display Settings', tooltip = 'How much to extend zones to the right of latest bar in bars')
displayLowerTFZones = input.bool(false, title="Display Lower Timeframe Zones", group = 'Display Settings', tooltip = 'Whether to or not to display zones from a lower timeframe (ie. 2h zones on 4h timeframe, Recommended OFF)')
supplyEnable = input(true, title = "Enable Supply Zones", group = "Zone Personalization")
supplyColor = input.color(defval = color.rgb(242, 54, 69, 94), title = 'Supply Background Color', group = 'Zone Personalization')
supplyBorderColor = input.color(defval = color.rgb(209, 212, 220, 90), title = 'Supply Border Color', group = 'Zone Personalization')
demandEnable = input(true, title = "Enable Demand Zones", group = "Zone Personalization")
demandColor = input.color(defval = color.rgb(76, 175, 80, 94), title = 'Demand Background Color', group = 'Zone Personalization')
demandBorderColor = input.color(defval = color.rgb(209, 212, 220, 80), title = 'Demand Border Color', group = 'Zone Personalization')
textEnable = input(true, title = "Display Text", group = 'Text Settings')
displayHL = input.bool(false, title="Display High/Low", group = 'Text Settings', tooltip = 'Whether to or not to display the tops and bottoms of a zone as text (ie. Top: 4000.00 Bottom: 3900.00)')
textColor = input.color(defval = color.rgb(255, 255, 255), title = 'Text Color', group = 'Text Settings')
textSize = input.string("Small", title="Text Size", options= , group = 'Text Settings')
halign = input.string("Right", title="Horizontal Alignment", options= , group = 'Text Settings')
supplyValign = input.string("Bottom", title="Vertical Alignment (Supply)", options= , group = 'Text Settings')
demandValign = input.string("Top", title="Vertical Alignment (Demand)", options= , group = 'Text Settings')
display30m = input.bool(true, title="Show 30m Zones", group = 'Timeframe Options')
display45m = input.bool(true, title="Show 45m Zones", group = 'Timeframe Options')
display1h = input.bool(true, title="Show 1h Zones", group = 'Timeframe Options')
display2h = input.bool(true, title="Show 2h Zones", group = 'Timeframe Options')
display3h = input.bool(true, title="Show 3h Zones", group = 'Timeframe Options')
display4h = input.bool(true, title="Show 4h Zones", group = 'Timeframe Options')
displayD = input.bool(false, title="Show 1D Zones", group = 'Timeframe Options')
displayW = input.bool(false, title="Show 1W Zones", group = 'Timeframe Options')
// variables
currentTimeframe = timeframe.period
if currentTimeframe == 'D'
currentTimeframe := '1440'
if currentTimeframe == 'W'
currentTimeframe := '10080'
if displayLowerTFZones
currentTimeframe := '0'
momentCTD = math.round(time(timeframe.period) + (zoneOffset * 60000 * str.tonumber(currentTimeframe)))
textSize := switch textSize
"Auto" => size.auto
"Tiny" => size.tiny
"Small" => size.small
"Normal" => size.normal
"Large" => size.large
"Huge" => size.huge
halign := switch halign
'Left'=> text.align_left
'Center' => text.align_center
'Right' => text.align_right
supplyValign := switch supplyValign
'Bottom'=> text.align_bottom
'Center' => text.align_center
'Top' => text.align_top
demandValign := switch demandValign
'Bottom'=> text.align_bottom
'Center' => text.align_center
'Top' => text.align_top
var box supply_HT = array.new_box()
var box demand_HT = array.new_box()
//plotting zones
createSupplyDemandZones(timeframe) =>
= request.security(syminfo.tickerid, timeframe, [open , high , low , close ], lookahead = barmerge.lookahead_on)
timeframeFormatted = switch timeframe
'1' => '1m'
'3' => '3m'
'5' => '5m'
'16' => '15m'
'30' => '30m'
'45' => '45m'
'60' => '1h'
'120' => '2h'
'180' => '3h'
'240' => '4h'
'D' => '1D'
'W' => '1W'
redCandle_HT = close_HT < open_HT
greenCandle_HT = close_HT > open_HT
neutralCandle_HT = close_HT == open_HT
candleChange_HT = math.abs(close_HT - open_HT)
var float bottomBox_HT = na
var float topBox_HT = na
momentCTD_HT = time(timeframe)
if (((redCandle_HT and greenCandle_HT ) or (redCandle_HT and neutralCandle_HT )) and (candleChange_HT / candleChange_HT ) >= candleDifferenceScale and barstate.isconfirmed and supplyEnable and close_HT >= close_HT and open_HT <= open_HT)
if displayHL
timeframeFormatted := timeframeFormatted + ' Top: ' + str.tostring(topBox_HT) + ' Bottom: ' + str.tostring(open_HT )
if high_HT >= high_HT
topBox_HT := high_HT
else
topBox_HT := high_HT
box supply = box.new(left=momentCTD_HT, top=topBox_HT, right=momentCTD, bgcolor=supplyColor, bottom=open_HT , xloc=xloc.bar_time)
box.set_border_color(supply, supplyBorderColor)
if textEnable
box.set_text(supply, timeframeFormatted)
box.set_text_size(supply, textSize)
box.set_text_color(supply, textColor)
box.set_text_halign(supply, halign)
box.set_text_valign(supply, supplyValign)
array.push(supply_HT, supply)
if (((greenCandle_HT and redCandle_HT ) or (greenCandle_HT and neutralCandle_HT )) and (candleChange_HT / candleChange_HT ) >= candleDifferenceScale and barstate.isconfirmed and demandEnable and close_HT <= close_HT and open_HT >= open_HT)
if displayHL
timeframeFormatted := timeframeFormatted + ' Top: ' + str.tostring(open_HT ) + ' Bottom: ' + str.tostring(bottomBox_HT)
if low_HT <= low_HT
bottomBox_HT := low_HT
else
bottomBox_HT := low_HT
box demand = box.new(left=momentCTD_HT, top=open_HT , right=momentCTD, bottom=bottomBox_HT, bgcolor=demandColor, xloc=xloc.bar_time)
box.set_border_color(demand, demandBorderColor)
if textEnable
box.set_text(demand, timeframeFormatted)
box.set_text_size(demand, textSize)
box.set_text_color(demand, textColor)
box.set_text_halign(demand, halign)
box.set_text_valign(demand, demandValign)
array.push(demand_HT, demand)
// initiation
// remove comments to add these zones to the chart (warning: this will break replay mode)
// if str.tonumber(currentTimeframe) <= 5
// createSupplyDemandZones('5')
//if str.tonumber(currentTimeframe) <= 15
// createSupplyDemandZones('15')
//if str.tonumber(currentTimeframe) <= 10
// createSupplyDemandZones('10')
//if str.tonumber(currentTimeframe) <= 15
// createSupplyDemandZones('15')
if display30m and str.tonumber(currentTimeframe) <= 30
createSupplyDemandZones('30')
if display45m and str.tonumber(currentTimeframe) <= 45
createSupplyDemandZones('45')
if display1h and str.tonumber(currentTimeframe) <= 60
createSupplyDemandZones('60')
if display2h and str.tonumber(currentTimeframe) <= 120
createSupplyDemandZones('120')
if display3h and str.tonumber(currentTimeframe) <= 180
createSupplyDemandZones('180')
if display4h and str.tonumber(currentTimeframe) <= 240
createSupplyDemandZones('240')
if displayD and str.tonumber(currentTimeframe) <= 1440
createSupplyDemandZones('D')
if displayW and str.tonumber(currentTimeframe) <= 10080
createSupplyDemandZones('W')
// remove broken zones
i = 0
while i < array.size(supply_HT) and array.size(supply_HT) > 0
box currentBox = array.get(supply_HT, i)
float breakLevel = box.get_top(currentBox)
if high > breakLevel
array.remove(supply_HT, i)
box.delete(currentBox)
int(na)
else
box.set_right(currentBox, momentCTD)
i += 1
int(na)
i2 = 0
while i2 < array.size(demand_HT) and array.size(demand_HT) > 0
box currentBox = array.get(demand_HT, i2)
float breakLevel = box.get_bottom(currentBox)
if low < breakLevel
array.remove(demand_HT, i2)
box.delete(currentBox)
int(na)
else
box.set_right(currentBox, momentCTD)
i2 += 1
int(na)
Liquidity TrendlineThe script draws sloping liquidity zones and flags breakouts:
Find two qualifying pivots (lower high → lower high, or higher low → higher low) within the chosen len look‑back.
Plot the core trendline between the pivots, then clone it up or down by space × ATR to create a padded channel where stops are likely parked.
Fill the area (blue for supply above highs, red for demand below lows).
When price closes outside that channel the lines disappear and a triangle marks the breakout (▲ break‑up, ▼ break‑down).
How to use
Wait for a triangle: a break through the zone often signals either a liquidity grab (false move) or the start of momentum in the breakout direction—confirm with other tools.
Main inputs
len – pivot depth (default 5)
space – padding width in ATR units
shs – show breakout markers
cup / cdn – colours for bullish / bearish zones
Publication note : this description meets TradingView’s script‑publishing guidelines—explains purpose, logic and settings without marketing claims.
AAPL Covered Call + CSP Alerts (Enhanced)This is a work-in-progress tool designed to help identify ideal setups for selling covered calls (CC) and cash-secured puts (CSP) on Apple (AAPL) using price levels, volume confirmation, and moving average context.
📈 What It Does
🔴 CC SELL Alert
Triggers when:
Price breaks above a custom resistance level
A volume spike confirms momentum
Designed to catch strong upside pushes where call premiums are rich.
🟠 CC WATCH Alert
Triggers when:
Price is near the 200-day MA
Volume is elevated but there’s no breakout yet
A pre-alert to watch for potential call-selling setups near resistance.
🟢 CSP BUY Alert
Triggers when:
Price drops below a custom support level
A volume flush signals potential short-term capitulation
Meant to time CSP entries when downside panic sets in.
⚙️ Adjustable Settings
Input Description
ccPriceTrigger Resistance level to trigger CC SELL
ccVolumeMultiplier Volume threshold for CC confirmation
maProximityBuffer Distance from 200 MA to trigger WATCH
cspSupportLevel Support level to trigger CSP BUY
cspVolumeMultiplier Volume threshold for CSP confirmation
🧭 Timeframe + Expiration Guidelines
Timeframe Use Case Recommended Option Expirations
1H Primary strategy view 21–30 days to expiration
15m Scalping / fast alerts 7–14 DTE (more sensitive)
Daily Swing or macro setups 30–45+ DTE for stability
📣 Alerts (How-To)
This script supports TradingView alerts — just right-click any chart and choose:
"Add Alert" → Select one of the following conditions:
"AAPL CC SELL Alert"
→ Triggers when breakout and volume spike align
"AAPL CC WATCH Alert"
→ Triggers when price approaches 200 MA with volume
"AAPL CSP Alert"
→ Triggers when support breaks with high volume
These alerts are great for traders who want real-time notification when premium-selling setups form — whether you're at your desk or mobile.
🧠 Strategy Context
Built after months of active trading on AAPL, this script distills real trading lessons from volume-based breakouts and support flushes into a signal system for timing covered call and CSP entries. We found these triggers especially reliable when paired with option delta targeting and open interest zones.
Feel free to clone, fork, or improve. Suggestions welcome — this is a living tool.
VWAP Bounce + TP/SL ZonesWhat’s New in This Script:
Automatic Take Profit (TP) and Stop Loss (SL) levels based on:
Your entry candle
A customizable risk-to-reward ratio
Visual dotted lines for TP and SL
Optional disable signals if bounce is “too far” above VWAP
Amazone VMC (avec signaux avancés)Momentum gauge
The core line (“Hyper‑Wave oscillator”) measures whether price is overbought (too high) or oversold (too low).
When that line crosses above its own short moving average, it hints that momentum is turning up.
When it crosses below, momentum is turning down.
Smart‑money tracker
A smoothed Money‑Flow Index watches where the big volume is going.
Positive (green) → buyers are in control.
Negative (red) → sellers dominate.
Quality filters
A raw cross is ignored unless three conditions are met:
Volume is at least X × its 20‑bar average.
The trend (EMA 20 vs a longer EMA) agrees with the trade direction.
Current volatility (ATR) is above its typical level.
Signal grades
Validated signal : the cross gets through every filter and the oscillator has already pushed beyond an upper (sell) or lower (buy) threshold.
Strong signal : validated plus money‑flow points the same way and volume is especially high.
Small icons → validated; bigger “X” icons → strong.
Divergence radar
The script draws a line whenever price makes a new high (or low) that the oscillator does not confirm.
Bearish divergence : price higher, oscillator lower → early warning of a drop.
Bullish divergence : price lower, oscillator higher → early warning of a bounce.
At‑a‑glance dashboard
Candles are tinted green or red according to signal strength.
A vertical “confluence meter” on the right labels the market BUY, NEUTRAL, or SELL.
An optional table shows trend, volume check, ATR check, oscillator value and flow value.
How to use it
Wait for a validated or strong signal in the direction you want to trade.
Check that the confluence meter and table agree (both green for longs, red for shorts).
Divergences can be traded as early reversals but usually need tight stops.
Adjust the overbought/oversold thresholds and filter multipliers to fit the asset’s volatility.
In short, Amazone VMC + blends momentum, volume flow and safety filters into a single “traffic‑light” tool:
green = buyers in control, red = sellers in control, yellow = wait.
LeV Bull/Bear TP/SL v2🚀A utiliser pour du scalp ou du swing, utiliser le avec le RSI, MACD, ADX et le CHOP
ZONE ZERO📊 Overview:
The "ZONE ZERO" indicator is a multi-functional trading overlay built to enhance price action analysis. It overlays:
- OHLC lines from a user-defined higher timeframe
- EMAs and SMAs for trend direction
- Two anchored VWAPs with customizable periods
- Custom candle coloring based on body structure ("stacking")
- This is ideal for traders who analyze confluence zones, trend strength, and want contextual
guidance from higher timeframes.
🛠️ User Inputs and Configuration
✅ Primary Inputs:
- Lookback (lb): Determines which historical bar from the higher timeframe (HTF) is referenced (e.g., 0 = current HTF bar, 1 = previous).
- Timeframe (tf): Selects the higher timeframe used to extract OHLC data.
🎨 Line Customization Inputs:
- Each HTF price level (open, high, low, close, midpoint) can be customized via:
- Line style (Solid, Dashed, Dotted)
📈 EMA Inputs:
- EMA 1: Fast EMA (default: 8)
- EMA 2: Medium EMA (default: 15)
- EMA 3: Long EMA (default: 200)
🧮 SMA Inputs:
- 4 daily SMAs (20, 50, 100, 200) calculated from the close price by default.
⚖️ VWAP Anchoring Options:
- Two anchored VWAPs, each with independent anchor options:
Session
Week
Month
Quarter
Year
📏 Technical Logic and Features
🔹 HTF OHLC + Midpoint Lines:
- Fetches open, high, low, close from the higher timeframe using request.security().
- Calculates the midpoint as (high + low)/2.
- Plots persistent horizontal lines for each level starting from the HTF bar timestamp.
- Each line is drawn dynamically from the HTF bar's origin to its end using line.set_xy1() and line.set_xy2().
🔸 EMA Plotting:
- EMAs are plotted on the current chart using ta.ema().
- Provides a real-time view of market momentum and directional bias.
🔸 Daily SMAs on Intraday Charts:
- Daily timeframe SMAs are fetched and plotted even on intraday charts using request.security().
- Allows higher timeframe trend overlays during intraday trading.
🔸 Anchored VWAPs (Volume-Weighted Average Price):
- VWAPs are calculated using (high + low)/2 instead of the default hlc3, providing a price-action centric view.
- Reset logic is based on the selected anchor (e.g., session reset, weekly, etc.).
- VWAP line color dynamically changes:
- Colors 1/2 when price is above VWAP
- Colors 3/4 when price is below
- This gives instant visual feedback on whether price is trading with or against volume-weighted trend direction.
🔸 Custom Candle Coloring (Stacked Candle Logic):
- Bullish Stacked Candle:
Current open is above midpoint of previous body
Current close is above open
- Bearish Stacked Candle:
Current open is below midpoint of previous body
Current close is below open
These conditions highlight strong continuation candles, and are colored:
- Green for bullish stacking
- Red for bearish stacking
- All other candles are not affected.
⚠️ Warning System
A smart warning label appears if the user selects a lower timeframe than the chart's resolution (e.g., selecting 1H on a daily chart), which can cause errors in data visibility.
✅ Best Use Cases:
- Intraday traders seeking HTF context
- Swing traders wanting EMA + VWAP confluence
- Price action traders spotting structure-based momentum
- Scalpers using stacked candle setups in combination with VWAP/EMA
Super Target KingSuper Target King
This Indicator provided Targets as entry price, Stop loss, TP1,TP2,TP3 and TP4
including table multi time frame for rsi, macd, ma, vloume, and buy sell signals