OPEN-SOURCE SCRIPT
Güncellendi Cnagda Trading Tool

Cnagda Trading Tools - complete set of intraday trading
1. Trendline breakout based On ATR.
2. Live RSI, volume/candle average 20 Periods, trend direction last 34 periods, and some useful dashboard features.
3. Ma Scalp Line provide trend support and resistance + Where Line More Flat Previous Time You Also Use That Range As Support And Resistance
4. RSI based POC ( Point Of Control) indicate high Volume Area like fixed Range Volume profile
5. London session breakout with buy/sell Signal and NewYork session opening half hour range breakout with Buy/sell signal
Ma Scalp Buy And Sell Signal For Short term Scalping ( 5 Min Timeframe) Based on Ema And Wma Crossover
I hope these tools will improve your trading, but you should trade only after proper research, this indicator is not responsible for any loss.
1. Trendline breakout based On ATR.
2. Live RSI, volume/candle average 20 Periods, trend direction last 34 periods, and some useful dashboard features.
3. Ma Scalp Line provide trend support and resistance + Where Line More Flat Previous Time You Also Use That Range As Support And Resistance
4. RSI based POC ( Point Of Control) indicate high Volume Area like fixed Range Volume profile
5. London session breakout with buy/sell Signal and NewYork session opening half hour range breakout with Buy/sell signal
Ma Scalp Buy And Sell Signal For Short term Scalping ( 5 Min Timeframe) Based on Ema And Wma Crossover
I hope these tools will improve your trading, but you should trade only after proper research, this indicator is not responsible for any loss.
Sürüm Notları
1. Elliott wave theory Moves On Dashboard2. Create New Fib calculation for catching retracement and golden ration Trade without using original fib tool on chart
3. Add Dow Jones Theory Based HH, HL, LL, LH for Fib Correct Calculation And Manually Trend Research
Some trader comments were asking me to tell about its settings or logic
So let me tell you that my aim of making this indicator was to give you maximum tools at one place so that you can easily trade and you do not need any tool to capture any price action or movement because every second of every trader is precious.
Along with this way take trades and conditions that Most Of trader see before taking any trade, I have put same conditions in this indicator so that all Traders work becomes easy before taking any trade.
Apart from this buy/sell recommendation that is coming in it is the same condition that Pro Trader before taking any trade. But I would like you to first understand with the help of the indicator and then take any trade.
Its setting is the same that Most Of Trader use and this indicator gives good trades on Scalp and intra, for that you should keep following points in mind.
1 Before taking any trade, let confirmation candle get executed and at same time see market trend MA Scalp line, if this line is above then it acts as resistance and if it is below then it acts as support
2. In this mainly POC label means that from where poc label is visible there is good volume and from here market is becoming neutral, from here reversal or continuation can happen.
3. Before taking a trade on breakout, see that there are 2 labels, partial and only breakout, partial means breakout can happen and breakout means it has happened but keep in mind liquidity sweep in this as well
4. In session breakout the signal comes only when range breakout happens but before taking a trade in this keep in mind that SL hunting is very high at this time so take any decision only after clear direction
Dashboard Explained
RSI - First section shows you the overbought and oversold zones >70 overbought and <30 oversold
Swing % - Swing is calculated from recent swings to show how much % fall or rise has taken place in low and high, this will help you capture price movement
FIB % - Fib % is calculated from recent pivot and recent to previous pivot so that you can catch entries at retracements and golden ratio.
Volume - Here how much volume is coming in the current candle as compared to 20 periods average, this will help you to take price action and volume based trades easily
1. Blue Candle - >1.5 and above volume/20 periods
2. Yellow Candle - >1 and <1.5
3. Green Candle - Bull trend direction continuation
4. Red Candle - Bear trend direction continuation
5. Grey Candle - neutral, sideways and very low volume
Trend - You can adjust this section according to how many periods of trend you want to see, the default is 34, change it according to you
Signal - Signal calculates your trend periods and ma scalp line and tells you in which direction market is currently
Elliott Wave - Classic Elliott wave theory has not been used here because most traders trade on small time frames, so if you do not hold, then I believe that Elliott Wave Classic does not give that kind of result, so I have optimized it for small time frames so that you can capture the impulsive and corrective moves of the trend.
Main Functions and Logic
(A) RSI, ADX and Trend Conditions
f_adx(len): is a function of the indicator that calculates the ADX value. It follows the logic of Directional Movement Index.
Trading signals (Buy/Sell) are generated by taking RSI (Relative Strength Index) and averages like EMA, WMA.
(B) Scalp Logic
The state is set to “BUY”, “SELL” or “NEUTRAL” based on different moving average (EMA, WMA) crossovers.
Whenever a new position is initiated (BUY/SELL), the same price is saved in an array and its average (scalp_ma) is displayed.
(C) RSI Special Logic
Entry signals are generated with the RSI crossover/crossunder event and high volume conditions.
As the condition is met, labels and states are updated accordingly.
3. Trend, Swing and Fibonacci
Comparisons are made between price low/high, last pivots, and moving averages for trend detection.
Elliott wave phase and swing high/low are automatically updated when a new pivot is formed.
Swing % and Fibonacci percentages are calculated and their status (Golden Ratio, Midpoint etc.) is also derived.
4. Trendline Breakouts (TL)
User can turn on/off trendline breakouts with input.
Custom methods (ATR, Stdev, Linreg) are used to derive trendline slope and breakout levels.
Breakout, partial breakout labels and trendlines are updated continuously.
5. London and New York Session Boxes
The code creates time based boxes for London and NY sessions, trading breakout signals are generated based on their high/low and EMA, ADX, RSI conditions.
When the box breaks and other conditions are met, “BUY/SELL” or “NY BUY/NY SELL” labels are auto plotted.
6. Alerts and Table
An alertcondition is triggered on all buy/sell breakouts so that the user gets instant notification.
A dynamic table is created showing the latest status of the indicators (RSI, Swing %, Fibonacci %, Volume, Trend, Signal, Elliott phase).
7. Labels, Cleanup and Miscellaneous
Old labels, lines are limited to keep the chart clean.
Most of things in indicator are kept automatic and dynamic for ease of live trading/analysis.
Disclosure
This script is an educational visualization. It does not place trades and is not financial or investment advice.
Sürüm Notları
1. Include Trend Based Fib Extension Tool2. Gain Calculation For Future Projection
1. for using Trend Based Fib Extension Tool - Traders use Trend Based Fib Extension Tool to know next step by comparing last 2 swings. Keeping this in mind, I have included this tool in your indicator so that you can make Fib based Future Trend predictions easily.
2. Gann projection - Gann projections help you plan targets, potential reversal points, and dynamic support/resistances without any manual calculations. Use them to set clear levels for profit booking, stop losses, or to assess chances of major market movements!
1. How Does Fibonacci Extensions Work in This Indicator?
1. Auto-Detection of Swings and Trend:
The indicator automatically finds the last two major swing points (highs/lows) on the chart.
It checks whether the current trend is UP or DOWN based on these pivots.
2. Draws Important Fibonacci Levels:
Using those two swing points, it automatically calculates standard Fibonacci retracement levels (0.236, 0.382, 0.5, 0.618, 0.786) and Fibonacci extension levels (1.618, 2.0, 2.618).
All these important price levels are shown as colored labels on your chart.
As the trend or swings change, the indicator updates these levels live.
How Should a Trader Use This for Entry & Exit?
Entry:
If price is trending up and pulls back to a lower Fibonacci retracement (like 0.382, 0.5, or 0.618) and holds there—this could be a good buy entry.
If trend is down, watch for price to pull up to a Fibonacci retracement from above, then reject it—this could be a sell entry.
Exit/Targets:
If you enter a trade, the Fibonacci extension levels (1.618, 2.0, 2.618) become your possible target prices—great places to book profit or tighten your stop-loss.
Prices often pause or reverse near extension levels, so use them for exits or partial profit booking.
This indicator’s table also shows you “Signal” (Buy/Sell), Trend Score, Volume, Elliott Wave, and Gann levels—read these to strengthen your plan.
If the “Signal” says “Strong Buy” and price is near a retracement, that’s extra entry confidence.
If volume spikes as you approach a target, or the signal flips, you might want to exit sooner.
Example, Step by Step
Suppose the chart shows an UP trend:
Price pulls back to the 0.618 retracement and holds there.
The signal in the table is “Buy”, and volume is healthy.
You enter a long (buy) trade here.
Aim for the extension levels—1.618, 2.0. When price hits those, think about booking profit or moving your stop-loss up!
If price stalls or reverses at these extensions, that’s a strong hint to exit!
In Short:
Entry: Use retracement (pullback) levels to enter with the trend.
Target/Exit: Use extension levels for your targets.
Extra Confirmation: Watch the signal table for “Buy/Sell”, trend direction, and volume for better accuracy!
2. How does Gann Projection work in this indicator?
indicator automatically takes a Gann Base Price (usually, the latest close, or one you select).
It calculates upside and downside price targets using this formula:
Up: (√Base + n × 0.25)² (for n = 1, 2)
Down: (√Base − n × 0.25)² (for n = 1, 2)
So, for each bar, you get two up targets (so9_up1, so9_up2) and two down targets (so9_dn1, so9_dn2).
These levels are automatically updated as price moves and are shown in indicator’s status table as “Gann SO9 Proj”.
How to use Gann Projections for trading (Entry & Exit)?
Entry:
1. Consider entering Long (Buy), if price is bullish and nearing/upbreaking a Gann upside projection, especially if also confirmed by other signals (trend, volume, etc.).
2. Consider Short (Sell), if price is bearish and moving towards a Gann down projection, with confirmation.
Exit/Targets:
If you are already in a trade, use the Gann projections as your profit targets.
For long trades: plan to book profits or trail stop near so9_up1 or so9_up2.
For short trades: target so9_dn1 or so9_dn2.
If price hits a projection and shows reversal signs or a signal flips, it's a smart place to exit/lock-in gains.
Quick example
Suppose your trade is long and Gann SO9 Proj table says “↑ 215.30, 220.10”.
You can set target 1 at 215.30, target 2 at 220.10.
If price strikes these, book profit or shift your stop-loss.
If you’re short and it says “↓ 188.60, 182.25”, use those as targets for booking profits on the short side.
In Short:
Let the indicator show Gann levels.
Use them as ready-made targets for your trade, or as places to be careful (expect possible reversals there).
For best results, combine Gann targets with signals from the table (trend, volume, etc.) to make your entry/exit decisions smarter.
Sürüm Notları
make a Small Time Frame Friendly ( 5 Min Time Frame)Sürüm Notları
Optimize setting using AiWith the help of AI, settings have been optimized to get maximum true signal using all Indicator tools. For this, by giving live access to AI, every logic was backtested on 5 min timeframe of past 1 month. After that, settings were optimized with least false signals so that you get the right entry. Along with this, there were some shortcomings in all the tools, they were rectified and the dashboard was also improved for correct signal. if you want chat copy for better understanding please make a private message, because I don't know I can share link here or not.
Sürüm Notları
New Low Volume Candle - YellowFor the last 5 months I was checking the combination of volume and price and found a pattern which I want to share with you in this indicator
My only purpose of putting this candle logic is that when the market is trending and the volume keeps increasing but at some stage the traders will get tired that it is enough and where the volume has reduced, that is, the traders are tired of continuing the trend and from there reversal is bound to happen, because they need more strength to continue the trend, so they will have to take 2 steps back
Low volume candle - Yellow - New update, in the old one yellow used to indicate high volume
It is from this point that we execute our entry, there are some facts which I would like to share with you
When the price is below the MA line, then short entry is made with good risk reward, its opposite is for long entry
I have shared my experience but you must do your research while using this logic, Thank you
Sürüm Notları
Added Liquidity Level :- What is “Liq. UP” and “Liq. DOWN”?
Liq = Liquidation Points:
This section will tell you if there is sudden high volume and price action above or below the previous session box, possibly resulting in liquidation (Stop Hunt / Forced exits) of shorts or longs.
This is a technique to shortlist the possible area of reversal or big impulsive moves in trading.
Complete Flow of Calculation
A. First Session Box
First a box of LNX/NYX session is created (example of LNX):
Box High/Low: LNX_boxHigh, LNX_boxLow
Avg Volume (box period): LNX_avgVol = ta.sma(volume, 10)
B. Remembering High, Low and AvgVOL of previous session
Bar-by-bar, these variables are updated
They take a snapshot as soon as the previous box ends, so that they can be referenced for further calculations.
C. Trend Score Change
The delta of change in the trend score, calculated across indicators (e_trendScore)
D. Liq UP/DOWN Logic (in simple language)
Logic Explain:
The first condition checks if there is a price explosion (above the previous High for UP, below the previous Low for DOWN).
The second condition checks the volume – there should be a sudden increase from the previous average.
Change in TrendScore is also taken for confirmation – if there is a sudden trend reversal or a big delta is seen.
REAL USAGE: How to View LIQ Points on Chart?
If market breaks after the Yellow/Aqua colored session box tag and there is unusual high volume - then this LIQ UP/DOWN will show the price of that point in the dashboard.
This point can signal a stop-hunt for market makers or the exit phase of large liquidity.
Traders consider these as warning/fresh entry zones of a potential reversal or impulse move.
SUMMARY POINTS
Liq. UP: explosion + high volume above previous session high = liquidity taken from shorts (stop hunt)
Liq. DOWN: explosion + high volume below previous session low = liquidity taken from longs
**Latest liq point is shown in Dashboard – "+"(up), "–"(down), if not found then "-".
Coding implementation is completely candle action + volume + trend shift based—no repaint.
Sürüm Notları
Added multi Timeframe Retracement level in Dashboard ( Fib Zone )Remove SO9 Projection
Many traders like to trade in retracement zone or it is a part of their strategy. So from now on whenever price is in the retracement zone on any time frame from 3 minutes to 1 day in the indicator, you will see it on the dashboard itself. You will not need to change the time frame, because I believe that every second is important for every trader.
So9 projection has been removed because it was for future prediction but was not working as well as it was wanted. So instead of this you can use Liquid Up or Liquid Down because overall market cannot move anywhere without liquidity, so you can predict which way the market can go.
Sürüm Notları
Added Imbalance ZoneToggle Switch ( For Clean Chart)
And Some Minor Optimization
Imbalance zones show a sudden mismatch of supply-demand in trading—that is, when buyers or sellers suddenly dominate on one side, and a gap-like effect is created on the price chart. Its logic is:
If the high of a candle is below the low of the previous candle (high < low), then it is Imbalance (Bearish) i.e. a strong selling zone—as the price jumped down, sellers overpowered the supply there.
If the low of the current candle is above the high of the previous candle (low > high), then it is Imbalance (Bullish) i.e. a strong buying zone—buyers pushed demand and made the price jump.
Main points:
Imbalance zones show that there was a lot of liquidity on one side of the market and less on the other.
On the chart, these are usually shown by colored boxes/labels—green (bullish), red (bearish).
If the price comes back to that zone in the future, then there is a possibility of a reversal or strong reaction from there.
This logic is helpful in capturing the entry-exit patterns of smart money/trade institutions and is very useful in supply-demand based trading systems.
Imbalance zones can behave like key support/resistance.
Sürüm Notları
some minor change In input section for less false signalimproved loading speed
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.