Indicatori e strategie
by A.Alasfoor RSI + Stochastic Alert with Doji Confirmationa buy and sell signals upon :
1- Sell : red hammer break (lower body) of 5min , ensure the wick is equal to or longer than the red body range.
2- Buy: Green hammer (upper body) break of 5min , ensure the wick is equal to or longer than the red body range.
Trigger buy/sell upon the break clean at 1min of the body closing level, risking (SL) the earlier 1 min tops/lows.
Credits to Ahmed Alasfoor & Zakariya Hamad AlJulandani by Sumou Oman
Sweep/Reclaim & Breakout Grading — Long-onlyStrategy Overview
Name: LP Sweep & Reclaim — Long-only: Breakout Grading with Position-in-Score + Hybrid SL + 1R→BE
Signals
1) LP Sweep & Reclaim (mean-reversion entry)
2) Trend Breakout (momentum entry)
Risk & Exit Logic
Hybrid Stop-Loss (at entry)
Compute two candidates:
Structure-based SL: reference level (LP low for sweeps, min(low, donchianHigh) for breakouts) minus k × ATR.
ATR-based SL: close − m × ATR.
Hybrid rule (longs): pick the tighter one (the higher price) → initial SL.
1R → Breakeven (BE) transition
Trend Take-Profit (EMA cross)
Exit condition: after at least minHoldBars since entry (default 4), close crosses below the chosen EMA → strategy.close.
DMI + ADX + Key Level — Carlos VizcarraMi indicador personal de adx para la estrategia de Rafael Cepeda Trader
Dr_FirstCandle Boxthis indicator draws the first 4 hour candle on newyork time high and low for 24 hours
Enhanced SMZ Screener with Bottom Trigger v1.0Smart Money Zone institutional buy trigger for Pine Screener with bottom confirmation
RSI + Stochastic Alert with Advanced Doji ConfirmationCredits to Ahmed Alasfoor and Somou by Zakariya Hamad AlJulandani
7Lots v27Lots strategy
The strategy is a counter-trend with a return to the moving average. Based on the DCA strategy, but greatly simplified to 7 lots (limit orders) and using the default martingale x2.5
Strategy description
Two moving averages are used. The first MA can be used as a filter for opening a position and also closing if the second MA is disabled. If both are enabled, then the position is closed by the second MA, and the first is used as a filter. There is also a separate take profit and if the price does not reach it, the position will be closed when returning to the MA, which will act as a stop loss, but the risk of liquidation is still present since the strategy does not have a regular classic stop loss.
Main parameters
TP & SL - selection of closing a position only by MA or take profit + MA. If only MA is selected, the strategy ignores the take profit value and always closes the position by MA.
MA settings
MA length from 1 to 200
Sliding type ALMA, SMA, EMA, VWMA, WMA, RMA
MA data - Open, High, Low, Close, HL2, HL3, OHLC4, OC2
MA shift in %. The MA shift is set in % above or below the current prices. For the First MA, this function allows you to use it as a filter for opening a position. For example, if you specify a shift much lower, for example -1% or -2%, then there will be less noise for opening a position, but this affects the number of transactions.
DCA group settings
Take profit %. Set the take profit as usual, but if the price does not reach the take profit, then the closing will occur by MA when the price returns to its values.
Take profit from. There is a choice of take profit from the average position, or by closing the previous bar. The latter increases the profit factor, but also increases the risk of liquidation if the strategy is used on perpetual contracts or futures.
Position Entry % - specifies the condition for opening a position. 0% - opening will occur immediately. 2% - opening will occur when the price falls 2% below the bar closing if the Long mode is set. If Short, then vice versa.
Grid Scale - classic progressive grid step
Next comes the setup of lots as a percentage of the deposit. Simply specify how many percent of each lot will be used from the total deposit. By default, a percentage for each lot is already allocated according to Martingale with a multiplier of x2.5, but you can calculate your own. You can specify 0, then the lot will be disabled.
Leverage. By default, 1.
Extra lot. This is the 7th lot that I decided to allocate separately from the main grid, since it is not always really needed. And it is calculated from the last lot of the grid. You can set it to how much lower percentage of the last lot to set it for and also what percentage of the deposit it will use. If you trade futures, then this lot, as an auxiliary one, can greatly average the position in case of strong volatility in the market.
Next, you can specify the start and end dates of transactions.
The table displays the total percentage of the deposit involved in trading at the moment. By default, all lots and leverage are set to 100% deposit load. The table also shows the number of transactions of the last 5-6 lots and extra, so that you can understand how many of them there were throughout the history of trading and possibly draw some conclusions for yourself. Especially useful for extra lots. Max Historical Drawdown (%) shows the historical price drop at the moment from the average open position. This will make it possible to analyze what leverage this strategy could withstand over the entire trading history. The date of this drop is also indicated.
For novice traders, it is recommended to use only on spot without the risk of liquidation. It is also best to use large time frames to see the whole picture, but you can also use a minute chart, there are no restrictions, everything is in your hands.
Tips. If you use minute charts, it is better to greatly increase the length of the MA from 20 and above. Hourly charts from 1-7. It is better to set up on spot and if you need futures, then use the same settings from spot, but with correction for futures. This strategy does not work well in Short, but shows excellent results for Long even when the market falls. When selecting settings, take into account sharp market fluctuations, Max Historical Drawdown (%) will show you this information in the table. You need to set up from the first MA, when you set up for the best result, then turn on the second MA and transfer the settings of the first MA to the second. Then fine-tune both MAs. The results can increase significantly, but this is not always the case. Sometimes just one MA is enough
The strategy is paid, tested with my own experience and money since 2022. Own development for opening a position.
Custom Time Range HighlightThis indicator highlights specific time ranges on your TradingView chart with customizable background colors and labels, making it easier to identify key trading sessions and ICT (Inner Circle Trader) Killzones. It is designed for traders who want to mark important market hours, such as major sessions (Asia, New York, London) or high-volatility Killzones, with full control over activation, timing, colors, and transparency.
Features
Customizable Time Ranges: Define up to 9 different time ranges, including one custom range, three major market sessions (Asia, New York, London), and five ICT Killzones (Asia, NY Open, NY Close, London Open, London Close).
Individual Activation: Enable or disable each time range independently via checkboxes in the settings. By default, only the ICT Killzones are active.
Custom Colors and Transparency: Set unique background and label colors for each range, with adjustable transparency for both.
Labeled Time Ranges: Each active range is marked with a customizable label at the start of the period, displayed above the chart for easy identification.
Priority Handling: If multiple ranges overlap, the range with the higher number (e.g., Asia Killzone over Custom Range) determines the background color.
CET Time Zone: Time ranges are based on Central European Time (CET, Europe/Vienna). Adjust the hours and minutes to match your trading needs.
Settings
The indicator settings are organized into three groups for clarity:
Custom Range: A flexible range (default: 15:30–18:00 CET) for user-defined periods.
Session - Asia, NY, London: Major market sessions (Asia: 01:00–10:00, New York: 14:00–23:00, London: 09:00–18:00 CET).
ICT Killzones - Asia, NY, London: High-volatility periods (NY Open: 13:00–16:00, NY Close: 20:00–23:00, London Open: 08:00–11:00, London Close: 16:00–18:00, Asia: 02:00–05:00 CET).
For each range, you can:
Toggle activation (default: only ICT Killzones enabled).
Adjust start and end times (hours and minutes).
Customize the label text.
Choose background and label colors with transparency levels (0–100).
How to Use
Add the indicator to your chart.
Open the settings to enable/disable specific ranges, adjust their times, or customize colors and labels.
The chart will highlight active time ranges with the selected background colors and display labels at the start of each range.
Use it to focus on key trading periods, such as ICT Killzones for high-probability setups or major sessions for market analysis.
Notes
Ensure your time ranges align with your trading instrument’s session times.
Overlapping ranges prioritize higher-numbered ranges (e.g., Asia Killzone overrides London Session).
Ideal for day traders, scalpers, or ICT strategy followers who need clear visual cues for specific market hours.
Feedback
If you have suggestions for improvements or need help with customization, feel free to leave a comment or contact the author!
NDOG & NWOG - Liquidity + Sunday Box rroielDescription:
This script combines NDOG & NWOG liquidity levels with a Sunday Box framework to provide traders with structured levels for weekly bias, liquidity mapping, and potential entry/exit zones.
Features:
• Automatic plotting of NDOG & NWOG liquidity zones.
• Sunday Box (weekly open range) drawn to define structure and bias.
• Highlights liquidity sweeps and retests for trade confirmation.
• Configurable settings for box time, liquidity range, and display options.
• Built to support ROI/EL strategies by aligning liquidity with weekly key levels.
Use Case:
Helps traders identify where price is likely to react by combining liquidity-based zones with the Sunday box framework. Designed for clarity, confluence, and efficiency in execution.
Volume mura visionOverview
A simple, readable volume tool that highlights volume spikes relative to a moving-average baseline. Bars are color-coded:
Spike UP (price closed up)
Spike DOWN (price closed down)
Below-average volume
Near/above MA but not a spike (neutral)
Optional: plot the selected Volume MA as a line.
How it works
1. Compute a Volume MA (SMA/EMA/RMA/WMA) over Volume MA Length.
2. A spike occurs when Volume ≥ MA × (1 + Spike threshold%).
3. Bar color:
Spike + up candle → Spike UP color
Spike + down candle → Spike DOWN color
Volume < MA → Below-MA grey
Otherwise → Base grey
4. The MA line can be shown/hidden.
Inputs
Volume MA Length (len) — lookback for the volume moving average.
Spike threshold (%) over MA (thr_pct) — how far above the MA a bar must be to count as a spike.
MA Type (ma_type) — SMA / EMA / RMA / WMA for the volume baseline.
Show MA line (showMA) — toggle the MA overlay on the volume pane.
Colors
Base grey — volume near/above MA but below spike threshold.
Below-MA grey — volume below the MA.
Spike UP — spike on an up candle (close ≥ open).
Spike DOWN — spike on a down candle.
Alert
Volume spike — fires when Volume ≥ MA × (1 + threshold).
Usage tips
Lower the threshold to catch more activity; raise it to see only major bursts.
Shorter MA length reacts faster (more spikes); longer length smooths noise.
Combine with price action (breakouts, reversals) to confirm whether spikes signal participation or exhaustion.
Disclaimer
Educational tool, not financial advice. Trading involves risk.
ATR %Overview
Shows the Average True Range (ATR) as a percentage of a chosen price basis. Useful for a quick, apples-to-apples view of current volatility across symbols and timeframes. The value is displayed in a clean table at the bottom-right of the chart.
What it shows
Basis can be: Close, EMA(len), SMA(len), or VWAP.
Data timeframe can be the Chart timeframe or a Daily aggregation.
Inputs
ATR length (len) – ATR lookback.
Percent basis – Close / EMA / SMA / VWAP.
Data timeframe – Chart (uses the current chart TF) or Daily (computes ATR and basis from daily data).
Decimals – number of decimal places to display.
Text / Background / Frame colors – customize the table appearance.
Notes
In Daily mode, ATR and basis are taken from daily data and update on daily close.
VWAP is available only in Chart mode (Daily + VWAP will show n/a by design).
The script overlays the chart but does not plot lines—only a compact info box.
Use cases
Compare volatility across coins/stocks quickly using ATR% instead of raw ATR.
Switch basis to match your style (e.g., EMA for trend-aware scaling, VWAP for intraday context).
Set Daily to track higher-timeframe volatility while trading lower TFs.
Disclaimer
For educational purposes only. Not financial advice. Trading involves risk.
Custom Buy/Sell Pattern BuilderAre you tired of using trading indicators that only let you follow fixed, pre-designed rules? Do you wish you could build your own “Buy” or “Sell” signals, experiment with your own ideas, or see instantly if your unique pattern works—without learning coding or hiring a developer?
The Custom Buy/Sell Pattern Builder is designed for YOU.
This TradingView indicator lets ANY trader—even a complete beginner—define exactly what kind of price and volume conditions should create a BUY or SELL label on any chart, in any market, at any timeframe.
You don’t need to know programming. You don’t need to know the definition of a hammer, doji, volume spike, or Engulfing pattern.
With a few clicks and easy dropdown choices, you can:
Make your own rules for buying or selling
Choose how many candles your pattern should look at
Decide if you want the biggest body, the lowest volume, the biggest movement, or any combination you can imagine
The result?
You’ll see clear “BUY” or “SELL” labels automatically show up on your chart whenever the exact rule YOU built matches current price action.
No more guessing. No more forced strategies. Just pure control and visual feedback!
Why Is This Powerful?
Traditional indicators (like MACD, RSI, or even classic candlestick scanners) work the same for everyone—and only as their inventors defined.
But every trader, and every market, is unique.
What if you could say:
“Show me a ‘SELL’ every time the newest candle is bigger than the one before, but with LESS volume, while the bar before that had an even smaller body—but more volume than all others?”
With this tool, it’s EASY!
You simply pick which candle you want to compare (most recent, previous, etc), what to compare (body or volume—body means the candle’s “thickness”, from open to close), choose “greater than”, “less than”, or “equal to”, and set a multiplier if you want (like “half as much”, “twice as big”, etc).
After this, if any bar on the chart fits all your rules, it will mark it as a BUY or SELL, depending on your selection.
This means—
Beginners can start experimenting with their intuition or small ideas, without tech hurdles
Experienced traders can visualize and fine-tune any possible logic, before they commit to backtesting or automating a real strategy
Every “what if” or “I wonder” setup is just 2–3 clicks away
How Does It Work? Simple Steps
1. Choose Your Signal Type
“Buy” or “Sell”
This tells the indicator whether to mark the qualifying bars with a green “BUY” or red “SELL” label
2. Pick How Many Candles To Use
“Pattern Candle Count” input (2, 3, or 4)
Example: If you use 4, the pattern will be applied to the most recent 4 candles at every step
3. Define Your Pattern With Inputs
For each candle (from newest “0” to oldest “3”), you can set:
Body Condition (example: “is this candle’s body bigger/smaller/equal to another?”)
Pick which candle to compare against
Pick “>”, “<”, “>=”, “<=”, or “=”
Set a multiplier if needed (like “0.5” to mean “half as big as” or “2” for “twice as big as”)
Volume Condition (exact same choices, but based on trading volume—not the candle’s price body)
For example:
“Candle0 Body > Candle2 Body”
means “the latest candle’s real-body (open–close) is bigger than the one two bars ago.”
“Candle1 Volume <= Candle2 Volume”
means “the previous candle’s volume is less than or equal to the volume of the bar two periods ago.”
You can leave a comparison blank if you don’t want to use it for a particular candle.
What Happens After You Set Your Rules?
Every bar on your chart is checked for your logic:
If ALL body AND volume conditions are true (for each candle you specified),
AND
The signal side (“Buy” or “Sell”) matches your dropdown,
Then a green “BUY” or red “SELL” label will show right on the bar, so you can visually spot exactly where your logic works!
Practical Example:
Suppose you want an entry setup that is:
“Sell whenever the newest candle’s body is bigger than two bars ago, body before that is bigger than three bars ago, AND the newest candle’s volume is less than or equal to two bars ago, AND the candle three bars ago’s volume is less than or equal to half the candle two bars ago’s volume.”
You’d set:
Pattern Candle Count: 4
Side: Sell
Candle0 Body Ref#: 2, Op: >, Mult: 1
Candle1 Body Ref#: 3, Op: >, Mult: 1
Candle0 Vol Ref#: 2, Op: <=, Mult: 1
Candle3 Vol Ref#: 2, Op: <=, Mult: 0.5
And the script will find all “SELL” bars on your chart matching these conditions.
Inputs Section: What Does Each Setting Do?
Let’s break down each input in the indicator’s Settings one by one, so even if you’re new, you’ll understand exactly how to use it!
1. Pattern Candle Count (2–4)
What is it?
This sets how many candles in a row you want your rule to look at.
Example:
“4” means your rules are based on the most recent candle and the 3 before it.
“2” means you are only comparing the current and previous candles.
Tip:
Beginners often use 4 to spot stronger patterns, but you can experiment!
2. Signal Side
What is it?
Choose “Buy” or “Sell”. The word you pick here decides which colored label (green for Buy, red for Sell) appears if your pattern matches.
Example:
Want to spot where “Sell” is likely? Pick “Sell”.
Change to “Buy” if you want bullish signals instead.
3. Body & Volume Comparison Settings (per Candle)
For each candle (#0 is newest/current, #3 is oldest in your pattern window):
Body Comparison
Candle# Body Ref#
Choose which other candle you want to compare this one’s body to.
“0” = newest, “1” = previous, “2” = two bars ago, “3” = three bars ago
Candle# Body Op (Operator; >, <, >=, <=, =)
How do you want to compare?
“>” means “greater than” (is bigger than)
“<” means “less than” (is smaller than)
“=” means “equal to”
Candle# Body Mult (Multiplier)
If you want relative comparisons. For example, with Mult=1:
“Candle0 body > Candle2 body x 1” means just “0 is larger than 2.”
“Candle0 body > Candle2 body x 2” means “0 is more than double 2.”
Volume Comparison
Candle# Vol Ref# / Op / Mult
Exact same logic as body, but works on the “Volume” of each candle (how much was traded during that bar).
How to Set Up a Rule (Step by Step Example)
Say you want to mark a Sell every time:
The most recent candle’s real body is BIGGER than the candle 2 bars ago;
The previous candle’s body is also BIGGER than the candle 3 bars ago;
The current candle’s volume is LESS than or equal to the volume of candle 2;
The previous candle’s volume is LESS than or equal to candle 2’s volume;
The candle 3 bars ago’s volume is LESS than or equal to HALF candle 2’s volume.
You’d set:
Pattern Candle Count: 4
Side: "Sell"
Candle0 Body Ref#: 2, Op: “>”, Mult: 1
Candle1 Body Ref#: 3, Op: “>”, Mult: 1
Candle0 Vol Ref#: 2, Op: “<=”, Mult: 1
Candle1 Vol Ref#: 2, Op: “<=”, Mult: 1
Candle3 Vol Ref#: 2, Op: “<=”, Mult: 0.5
All other comparisons (operators) can be left blank if you don’t want to use them!
When these rules are met, a bright red “SELL” label will appear right above the bar matching all your conditions.
Practical Tips & FAQ for Beginners
What does “body” mean?
It’s the “true range” of the candle: the difference between open and close. This ignores wicks for simple setups.
What does “volume” mean?
This is the total trading activity during that candle/bar. Many traders believe that patterns with different volume “meaning” (such as low-volume up bars, or high-volume down bars) signal a meaningful change.
What if nothing shows on chart?
It just means your current rules are rarely or never matched! Try making your comparisons simpler (maybe just 2-body and 2-volume conditions to start).
You can always hit “Reset Settings” to go back to default.
Can I use this for both buying and selling?
YES! You can detect both bullish (Buy) and bearish (Sell) custom conditions; just switch “Signal Side.”
Do I need to know coding?
Not at all! Everything is in simple input panels.
Creative Use Cases, Example Recipes & Troubleshooting
Creative Ways to Use
Spotting Reversals
Example:
Buy when: the newest candle body is LARGER than the previous 3 bars, but ALL volumes are lower than their neighbors.
Why? Sometimes, a big candle with surprisingly low volume after a sequence of small bars can signal a reversal.
Finding Exhaustion Moves
Example:
Sell when: the current bar body is twice as big as two bars ago, but volume is half.
Why? A very big candle with very little volume compared to similar bars may show the move is “running out of steam.”
Custom “Breakout + Confirmation” Patterns
Example:
Buy when:
Candle 0’s body is greater than Candle 2’s by at least 1.5x,
Candle 0’s volume is greater than Candle 1 and Candle 2,
Candle 1’s volume is less than Candle 0.
Why? This could catch strong breakouts but filter out noisy moves.
Multi-bar Bias/Squeeze Filter
Use “Pattern Candle Count: 4”
Set all 4 volume conditions to “<” and each reference to the previous candle.
Now, a BUY or SELL only marks when each bar is “dryer”/less active than the last — a classic squeeze or low-volatility buildup.
Troubleshooting Guide
“I don’t see any Buy/Sell label; is something broken?”
Most likely, your rules are too strict or rare! Try using only two comparisons and leave other “Op” inputs blank as a test.
Double-check you have enough candles on the chart: you need at least as many bars as your pattern count.
“Why does a label appear but not where I expect?”
Remember, the script checks your rules for every NEW candle. The candle “0” is always the most recent, then “1” is one bar back, etc.
Check the color and type chosen: “Signal Side” must be “Buy” for green, “Sell” for red.
“What if I want a more complex pattern?”
Stack conditions! You can demand the body/volume of each candle in your window meet a different rule or all follow the same rule in sequence.
Mini Glossary — For Newcomers
Candle/Bar: Each bar on the chart, shows price movement during a fixed time (e.g., one minute, one hour, one day).
Body: The colored (or filled) part of the candle — the open-to-close price range.
Volume: How much of the asset was actually traded that candle/bar.
Reference Index: When you pick “2” as a reference, it means “the candle two bars ago in the pattern window.”
Operator (“Op”): The math symbol used to compare (>, <, =, etc).
Signal Side: Whether you want to highlight bullish (“Buy”) or bearish (“Sell”) bars.
Tips for Getting More Value
Start Simple—try just one or two conditions at first. See what lights up. Slowly add more logic as you get comfortable.
Watch the chart live as you change settings. The labels update instantly—this makes strategy design fast and visual!
Try flipping your ideas: If a certain pattern doesn’t work for buys, try reversing the direction for possible “sell” setups.
Remember: There is NO wrong idea. This indicator is only limited by your creativity—it’s a “strategy playground.”
Example Quick-Start Recipes
Classic Sell:
4 candles, side = Sell
Candle0 Body > Candle2; Candle1 Body > Candle3
Candle0 Vol <= Candle2; Candle1 Vol <= Candle2; Candle3 Vol <= Candle2 × 0.5
Simple Buy After Pause:
3 candles, side = Buy
Candle0 Body > Candle1; Candle0 Vol > Candle1
All other Ops blank
Low-Volume Pullback for Entry:
4 candles, side = Buy
Candle0 Body > Candle2
Candle0 Vol < Candle1; Candle1 Vol < Candle2; Candle2 Vol < Candle3
Final Words
Think of this as your “pattern lab.” No code, no guesswork—just experiment, see what the market actually gives, and design your own visual rulebook.
If you’re stuck, reset the script to defaults—it’s always safe to start again!
If you want more ready-made “recipes” for different strategies/styles, just ask and I’ll send some more setups for you.
Happy building—and may your edge always be YOUR edge!
SVX (Sentiment Velocity Index) EMA & Slope StructureThe SVX Momentum Framework is designed as a momentum and slope visualization tool. Designed to identify momentum shifts and pre-move conditions within price action.
What it draws:
- Plots five EMAs (8, 20, 40, 100, 200) To visualize short/medium trend structure. You can pick which ones to see.
- Calculates an EMA-based slope (rate of change) from actual closing-price movement and colors a neutral/positive/negative background for context. This is not ATR or Supertrend.
- Shows optional triangle context markers on bars that meet wick/body conditions that often precede momentum transitions (off by default / user-controlled).
- Shows Reference close (optional): Use when you need to verify price relative to standard closes for easier zone and level marking.
How the components work together:
- The EMA stack provides directional alignment (compression/expansion and relative order of 8/20/40/100/200).
- The slope quantifies whether recent movement is neutral, building (Green), or fading (Red); the background simply reflects that state.
- The triangle context markers flag a bar-shape condition (wick/body relationship) that can precede changes in behavior.
- The reference close is a visual aid for clarity when users compare candle closes and trading zones or levels .
How to read it:
- Structure: Look for EMA ordering (at least 8/20/100 recommended) and spacing to understand the underlying bias and compression/expansion.
- Slope state: Neutral (no bias, white), positive (building, green), or negative (fading, red). Use it as context, not as entries/exits.
- Context markers (optional): Treat them as visual highlights.
- Reference close (optional): Use when you need to verify price relative to candle close for easier zone and level marking.
How to use it (general guidance):
- Read structure first (EMA order/spread), then consider the slope state to understand whether conditions are neutral or possibly momentum-driven in the indicated direction.
- Combine with your own entry rules and/or engulfing candle patterns for timing, risk, and apply your preferred management.
What’s original here:
- The slope visualization is derived from actual closing-price movement, not Supertrend or ATR overlays.
- The wick/body context markers focus on bars that often precede transitions, presented as optional visuals.
- The reference close overlay is included purely to aid interpretation when comparing views to the native close and for more clear zone and level marking.
Access & intent:
- Educational visualization of structure and slope, providing a framework traders can build upon.
- The author does not provide financial advice. Use at your own discretion.
Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to trade. Past performance is not indicative of future results. The author assumes no responsibility for losses incurred from the use of this tool. TradingView, Inc. has no liability related to this script or its use.
Pivot Point TrendOverview
A trend-following trailing line built from confirmed pivot highs/lows and ATR bands. The line turns green in uptrends and red in downtrends. A flip happens only when price closes on the other side of the opposite trail, helping filter noise.
How it works:
Finds confirmed swing points (pivots) and builds a smoothed center from them.
From that center, creates ATR-based bands.
The active trail “locks” in the trend: in uptrends it never moves down; in downtrends it never moves up.
Close above the prior upper trail → bullish; close below the prior lower trail → bearish.
Inputs
Pivot Point Period (prd) – strictness of pivot confirmation (delay = prd bars).
ATR Period (pd) and ATR Factor (factor) – band width; higher values = fewer flips.
Calculation timeframe (calcTF) – leave empty to use chart TF, or set a hard TF like 1D, 4H.
Show Center Line – optional central guide.
Line Width – trail thickness.
Alerts
Bullish Flip – trend turns bullish.
Bearish Flip – trend turns bearish.
Trend Changed – any flip event.
Usage tips
Typical crypto intraday starters: prd 2–5, pd 10–14, factor 2.5–3.5.
For smoother signals, compute on a higher TF (e.g., calcTF = 1D) and time entries on your lower TF.
Prefer actions on bar close of the calculation TF to avoid intrabar whipsaw.
Notes on repainting
The script uses request.security(..., lookahead_off). Pivots confirm after prd bars by design; once confirmed, the center and trails do not use future data. Evaluate flips on bar close for consistency, especially when calcTF > chart TF.
Disclaimer
Educational use only. Not financial advice. Trading involves risk.
Gann Fan Strategy [KedarArc Quant]Description
A single-concept, rule-based strategy that trades around a programmatic Gann Fan.
It anchors to a swing (or a manual point), builds 1×1 and related fan lines numerically, and triggers entries when price interacts with the 1×1 (breakout or bounce). Management is done entirely with the fan structure (next/previous line) plus optional ATR trailing.
What TV indicators are used
* Pivots: `ta.pivothigh/ta.pivotlow` to confirm swing highs/lows for anchor selection.
* ATR: `ta.atr` only to scale the 1×1 slope (optional) and for an optional trailing stop.
* EMA: `ta.ema` as a trend filter (e.g., only long above the EMA, short below).
No RSI/MACD/Stoch/Heikin/etc. The logic is one coherent framework: Gann price–time geometry, with ATR as a scale and EMA as a risk filter.
How it works
1. Anchor
* Auto: chooses the most recent *confirmed* pivot (you control Left/Right).
* Manual: set a price and bar index and the fan will hold that point (no re-anchoring).
* Optional Re-anchor when a newer pivot confirms.
2. 1×1 Slope (numeric, not cosmetic)
* ATR mode: `1×1 = ATR(Length) × Multiplier` (adapts to volatility).
* Fixed mode: `ticks per bar` (constant slope).
Because slope is numeric, it doesn’t change with chart zoom, unlike the drawing tool.
3. Fan Lines
Builds classic ratios around the 1×1: 1/8, 1/4, 1/3, 1/2, 1/1, 2/1, 3/1, 4/1, 8/1.
4. Signals
* Breakout: cross of price over/under the 1×1 in the EMA-aligned direction.
* Bounce (optional): touch + reversal across the 1×1 to reduce whipsaw.
5. Exits & Risk
* Take-profit at the next fan line; Stop at the previous fan line.
* If a level is missing (right after re-anchor), a fallback Risk-Reward (RR) is used.
* Optional ATR trailing stop.
Why this is unique
* True numeric fan: The 1×1 slope is calculated from ATR or fixed ticks—not from screen geometry—so it is scale-invariant and reproducible across users/timeframes.
* Deterministic anchor logic: Uses confirmed pivots (with your L/R settings). No look-ahead; anchors update only when the right bars complete.
* Fan-native trade management: Both entries and exits come from the fan structure itself (with a minimal ATR/EMA assist), keeping the method pure.
* Two entry archetypes: Breakout for momentum days; Bounce for range days—switchable without changing the core model.
* Manual mode: Lock a session’s bias by anchoring to a chosen swing (e.g., day’s first major low/high) and keep the fan constant all day.
Inputs (quick guide)
* Auto Anchor (Left/Right): pivot sensitivity. Higher values = fewer, stronger anchors.
* Re-anchor: refresh to newer pivots as they confirm.
* Manual Anchor Price / Bar Index: fixes the fan (turn Auto off).
* Scale 1×1 by ATR: on = adaptive; off = use ticks per bar.
* ATR Length / ATR Multiplier: controls adaptive slope; start around 14 / 0.25–0.35.
* Ticks per bar: exact fixed slope (match a hand-drawn fan by computing slope ÷ mintick).
* EMA Trend Filter: e.g., 50–100; trades only in EMA direction.
* Use Bounce: require touch + reverse across 1×1 (helps in chop).
* TP/SL at fan lines; Fallback RR for missing levels; ATR Trailing Stop optional.
* Transparency/Plot EMA: visual preferences.
Tips
* Range days: larger pivots (L/R 8–12), Bounce ON, ATR Multiplier \~0.30–0.40, EMA 100.
* Trend days: L/R 5–6, Breakout, Multiplier \~0.20–0.30, EMA 50, ATR trail 1.0–1.5.
* Match the TV Gann Fan drawing: turn ATR scale OFF, set ticks per bar = `(Δprice between anchor and 1×1 target) / (bars) / mintick`.
Repainting & testing notes
* Pivots require Right bars to confirm; anchors are set after confirmation (no look-ahead).
* Signals use the current bar close with TradingView strategy mechanics; real-time vs. bar-close can differ slightly, as with any strategy.
* Re-anchoring legitimately moves the structure when new pivots confirm—by design.
⚠️ Disclaimer
This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
Candle Strength & Indecision Detection (VSA)This Pine Script combines Volume Spread Analysis (VSA) with candle strength grading, indecision candle recognition, and hammer detection to give traders a complete visual framework for momentum and reversal analysis. Candles are color-coded by strength tiers, indecision candles are highlighted with optional arrows, and hammers are validated with higher-timeframe rejection logic.
✨ Created and enhanced by the PieTrader Community
4H Rejection + 2x15m Delta StrategyThis strategy uses rejections levels on different timeframes (you can change this in the settings) to identify the possibility of a price reaction or movement in the opposite side and potentially getting involved.
The confirmation for an entry signal is the volume and specifically the total delta of the candles after tabbing the rejection level on that specific time frame.
The delta has to show 2 positive candles for a buy at a support level, or 2 negative candles for a sell at a resistance level.
The strategy is quite flexible as it gives you the chance to adjust a lot of the things within the settings.
You can play around with the time frames in which you want to get your confirmation for the signal, as well as choosing which time frame you want the strategy to draw your rejection levels in.
Note: This strategy may show profitable results in the backtest/strategy tester but still not 100% guaranteed. Therefore, you need to do your own research on the market and the included strategy for better results.
PAT [PieTrader]This Pine Script (//@version=6) is an advanced Price Action Toolkit (PAT) – PieTrader, enhanced by the PieTrader community to combine core Smart Money Concepts into one visual framework. It integrates market structure, liquidity sweeps, order blocks, and dynamic trendlines, with customizable settings for flexibility.
Market Structure (Zigzag): The script tracks trend shifts using a configurable zigzag length. Swing highs and lows are recorded, and optional zigzag lines visualise price movement. Structure shifts are highlighted with Change of Character (CHoCH) or Break of Structure (BoS) labels, providing clear signals of directional intent.
Order Blocks: On detecting structure breaks, bullish and bearish order blocks are marked with ATR-based zones. These are drawn as shaded boxes, with user control over how many remain visible. Invalid or broken blocks are automatically removed to keep the chart clean.
Liquidity Sweeps: Pivot highs and lows over a chosen lookback define liquidity levels. These are shown as horizontal lines that switch to dashed style once swept by price. Markers (“x”) identify sweep points, helping traders spot liquidity grabs. To optimise performance, older levels are deleted beyond a fixed storage limit.
Trendlines: Using pivot detection, the system identifies bullish and bearish trendlines. Valid lines with upward or downward slopes are extended in real time, updating dynamically with price. Bullish lines are teal; bearish lines are red.
Additional Features: A watermark option displays “PieTrader” on the chart, and colour themes are fully customizable.
In summary, the PieTrader community’s enhancements make this toolkit a comprehensive visual aid for analysing market structure, liquidity, and trend alignment within a streamlined charting solution.
Session Sniper Bands — Pro Overlay (Bollinger, Sessions, Engulf)The Session Sniper Bands — Pro Overlay combines three powerful tools into one clean, professional script designed to help traders spot high-probability setups across any market.
📌 What’s included:
Dual Bollinger Bands → track volatility squeezes, expansions, and mean reversion zones.
Customizable Trading Sessions (Tokyo / London / New York) → shaded regions with editable names, open/close lines, range, and average price markers.
Engulfing Candlestick Signals → automatic bullish and bearish engulfing arrows for precision entry timing.
✨ Features:
Session names and times are fully customizable (rename “Tokyo” to “Asia Open,” etc.).
Clear OB/OS volatility cues via Bollinger stack.
Lightweight visuals that won’t clutter your chart.
Works across Forex, Crypto, Indices, and Binary Options.
⚡ Why use it?
This overlay is built for traders who want to snipe entries with session context. Spot when volatility contracts, align with session flows, and confirm with engulfing momentum candles — all in one view.
⚠️ Disclaimer: This script is for educational purposes only and is not financial advice. Always test on demo before trading live.
ATEŞ ÇOKLU TARAMA)My educational scanning efforts are ongoing. I'll make adjustments based on your feedback. I look forward to your feedback if there are any incorrect data. Each group contains 40 stocks. The entire bid is attached. You can create your own custom list of 40+40.
مؤشر الحوت الثانيWhale II Indicator Description:
This indicator is developed in Pine Script v6 on the TradingView platform, designed to be a powerful analytical tool combining dynamic moving averages, trend speed, and transmission statistics (wave analysis).
It reveals market direction, energy, and momentum in a visually defined manner, along with statistical figures.
🎯 Key Components of the Indicator:
1. Dynamic Moving Average (DMA)
• Varies according to price action.
• It has two important options:
◦ Maximum Length: Specifies the smallest number of candles for which the average is calculated (larger values = slower and quieter line, smaller values = faster and sensitive line).
◦ Accelerator Multiplier: Increases or selects the speed of movement entry (high values = quick response to orders, but may be noisy).
•
✅ Gives you a dynamic line on a chart (green = bullish, red = bearish).
2. Trend Velocity (Trend Velocity)
• Calculates the strength of the current movement using the rate of price change.
• Shows:
• Colored shares (green chart): degrees if the trend is bullish and strong, red degrees if it is bearish.
• Candle Strength: If you enable the Candles option, the candles themselves are colored according to the strength of the trend (instead of their original color).
•
3. Wave Analysis Table (Transmission Table)
The statistical table appears in the corner (top right) where the numerical information helps you understand the market dynamics:
• Average Wave → Average Transmission Size (bullish or bearish).
• Max Wave → Largest Wave in the period.
• Current Wave Ratio → Compares the current wave to the average/largest wave, giving an idea of whether the current wave is strong or weak compared to the previous one. MEXC:WIFUSDT
مؤشر الحوت الأول✅ History (Signals)
• Most prominent buy/sell signals (Buy/Sell).
• Smart buy/sell signals (Smart Buy/Sell) are compatible with price alignment with the trend and EMA.
• Reversal indicators (Reversal signals) when the market is overbought/oversold.
• Channel breakouts signals when strong price levels are broken.
⸻
✅ Errors (Trend)
• Average trend bar: A multi-colored set with a custom background color.
• Trend Cloud: A cloud between the EMA150 and EMA250 that gives you the strength of the error (bullish/bearish).
• Chaos trend line: A moving ATR line (like a trailing stop) to confirm the error.
• EMA200: A solid line for general correction.
⸻
✅ Colors and Candlestick Reading
• Candlesticks are colored according to the Relative Strength Index (RSI) or the trend.
• Different colors indicate buying or selling strength (low RSI → red, high RSI →).
⸻
✅ Relative Strength Index + Oversold Zones
• Cap chart based on the Relative Strength Index (RSI):
• Green = Light overbought.
• Red = Light oversold.
• Measures oversold conditions and integrates with Facebook to confirm entry/exit.
⸻
✅ Dashboard
Located below the chart and displays:
• Volatility (weak, very strong, etc.).
• Current RSI value.
• Over the same timeframe (3-minute, 5-minute, 15-minute, 1-hour, 4-hour, daily, etc.).
⸻
✅ Multiple Management (Risk Management)
• Entry – Stop Loss – Stop Loss zones (TP1, TP2, TP3) are found directly on the chart.
• Draws lines and labels at entry, stop, and target levels.
• This feature can be enabled or disabled in the settings.
⸻
✅ Additional Tools
• Order Blocks (off by default in the code).
• Keltner Channels are cloud-like compression/divergence zones.
• Volatility Filter: Measures ATR and Elastic Divergence to give you the strength of the movement.
⸻
📊 In short:
Your indicator isn't just one; it's a complete suite of tools:
• Smart Buy/Sell Signals +
• Trend and Cloud + EMA200
• Reversal and Saturation Signals
• Dashboard for Multi-Timeframe Analysis
• Capital Management with Targets and Stops