Rally Base Drop Signals [LuxAlgo]The Rally Base Drop indicator is built around the Supply and Demand (SND) concept known as "Rally, Base & Drop" Candles. These candle types are commonly used in this trading approach to identify price structure.
This indicator highlights bars by labeling them as "Rally," "Drop," or "Base" candles. It also identifies specific sequence patterns formed by these candles.
🔶 USAGE
The Rally, Base, Drop candlestick approach is a straightforward method for identifying price action structure.
Candles are categorized into three types, which are then analyzed to understand market structure and Supply/Demand levels.
Rally: Two or more consecutive bullish candles.
Drop: Two or more consecutive bearish candles.
Base: A single bullish or bearish candle that breaks the previous trend.
🔹 Rally & Drop Candles
These candles show clear directional momentum and signal whether demand or supply is dominating. They are helpful when identifying trends, as they highlight strong price movement.
🔹 Base Candles
In most SND strategies, "Base" can have several interpretations.
Typically, base candles represent short periods of consolidation that test the trend before continuation. They can also be found at turning points (tops or bottoms).
For this indicator, a base candle is simply one that does not follow the direction of nearby candles or is where a Drop and Rally meet. Multiple base candles often reflect indecision in the market, suggesting a temporary balance between buyers and sellers.
🔹 Reversal Sequences
Rally-Base-Drop (RBD)
Drop-Base-Rally (DBR)
In Supply and Demand analysis, these sequences are considered reversals. They mark zones where buyer and seller activity has shifted, which can lead to future price reactions. These areas are known as "Supply or Demand Zones" and are often revisited by price, making them useful for trade setups.
🔹 Continuation Sequences
Rally-Base-Rally (RBR)
Drop-Base-Drop (DBD)
Continuation sequences show a brief pause in the trend, followed by further movement in the same direction. In SND terms, they represent zones where orders accumulate before a continuation move. These are typically used to join ongoing trends, as they indicate sustained interest from buyers or sellers.
🔶 DETAILS
🔹 Color Modes
The script includes three color modes. "No Color" is self-explanatory, while the other two options relate to how candles are detected.
A Rally or Drop requires at least two candles to be successfully identified. As a result, detection occurs on the second candle. However, the full Rally or Drop includes both candles.
Two coloring methods are available:
Full Color: Once a Rally or Drop is detected (on the second bar), both candles are colored, starting from the first. This reflects the full pattern.
Color on Detection: Only the second candle (where detection occurs) is colored. This avoids changing past bars and may be useful for live analysis.
🔶 SETTINGS
Sequences: Select which sequences to display on the chart.
Bar Color Logic: Choose the preferred bar coloring method.
インジケーターとストラテジー
cd_Quarterly_cycles_SSMT_TPD_CxGeneral
This indicator is designed in line with the Quarterly Theory to display each cycle on the chart, either boxed and/or in candlestick form.
Additionally, it performs inter-cycle divergence analysis ( SSMT ) with the correlated symbol, Terminus Price Divergence ( TPD ), Precision Swing Point ( PSP ) analysis, and potential Power of Three ( PO3 ) analysis.
Special thanks to @HandlesHandled for his great indicator, which I used while preparing the cycles content.
Details & Usage:
Optional cycles available: Weekly, Daily, 90m, and Micro cycles.
Displaying/removing cycles can be controlled from the menu (cycles / candles / labels).
All selected cycles can be shown, or you can limit the number of displayed cycles (min: 2, max: 4).
The summary table can be toggled on/off and repositioned.
What’s in the summary table?
• Below the header, the correlated symbol used in the analysis is displayed (e.g., SSMT → US500).
• If available, live and previous bar results of the SSMT analysis are shown.
• Under the PSP & TPD section, results are displayed when conditions are met.
• Under Alerts, the real-time status of conditions defined in the menu is shown.
• Under Potential AMD, possible PO3 analysis results are displayed.
Analysis & Symbol Selection:
To run analyses, a correlated symbol must first be defined with the main symbol.
Default pairs are preloaded (see below), but users should adjust them according to their exchange and instruments.
If no correlated pair is defined, cycles are displayed only as boxes/candles.
Once defined pairs are opened on the chart, analyses load automatically.
Pairs listed on the same row in the menu are automatically linked, so no need to re-enter them across rows.
SSMT Analysis:
Based on the chart’s timeframe, divergences are searched across Weekly, Daily, 90m, and Micro cycles.
The code will not produce results for smaller cycles than the current timeframe.
(Example: On H1, Micro cycles will not be displayed.)
Results are obtained by comparing the highs and lows of consecutive cycles in the same period.
If one pair makes a new high/low while the other does not, this divergence is added to SSMT results.
The difference from classic SMT is that cycles are used instead of bars.
PSP & TPD Analysis:
A correlated symbol must be defined.
For PSP, timeframe options are added to the menu.
Users toggle timeframes on/off by checking/unchecking boxes.
In selected timeframes, PSP & TPD analysis is performed.
• PSP: If candlesticks differ in color (bullish/bearish) between symbols and the bar is at a high/low of the timeframe (and higher/lower than the bars before/after it), it is identified as a PSP. Divergences between pairs are interpreted as potential reversal signals.
• TPD: Once a PSP occurs, the closing price of the previous bar and the opening price of the next bar are compared. If one symbol shows continuation while the other does not, it is marked as a divergence.
Example:
Let’s assume Pair 1 and Pair 2 are selected in the menu with the H4 timeframe, and our cycle is Weekly (Box).
For Pair 1, the H4 candle at the Weekly high level:
• Is positioned at the Weekly high,
• Its high is above both the previous and the next candle,
• It closed bearish (open > close).
For Pair 2, the same H4 candle closed bullish (close > open).
→ PSP conditions are met.
For TPD, we now check the candles before and after this PSP (H4) candle on both pairs.
Comparing the previous candle’s close with the next candle’s open, we see that:
• In Pair 1, the next open is lower than the previous close,
• In Pair 2, the next open is higher than the previous close.
Pair 1 → close > open
Pair 2 → close < open
Since they are not aligned in the same direction, this is interpreted as a divergence — a potential reversal signal.
While TPD results are displayed in the summary table, whenever the conditions are met in the selected timeframes, the signals are also plotted directly on the chart. (🚦, X)
• Higher timeframe TPD example:
• Current timeframe TPD example:
Alerts:
The indicator can be conditioned based on aligned timeframes defined within the concept.
Example (assuming random active rows in the screenshot):
• Weekly Bullish SSMT → Tf2 (menu-selected) Bullish TPD → Daily Bullish SSMT.
Selecting “none” in the menu means that condition is not required.
When an alert is triggered, it will be displayed in the corresponding row of the table.
• Example with only condition 3 enabled:
Potential PO3 Analysis:
According to Quarterly Theory, price moves in cycles, and the same structures are assumed to continue in smaller timeframes.
From classical PO3 knowledge: before the main move, price first manipulates in the opposite direction to trap buyers/sellers, then makes its true move.
The cyclical sequence is:
(A)ccumulation → (M)anipulation → (D)istribution → (R)eversal / Continuation.
Within cycle candles, the first letter of each phase is displayed.
So how does the analysis work?
If the active cycle is in (M)anipulation or (D)istribution phase, and it sweeps the previous cycle’s high or low but then pulls back inside, this is flagged in the summary table as a possible PO3 signal.
In other words, it reflects the alignment of theoretical sequence with real-time price action.
Confluence with SSMT and TPD conditions further strengthens the expectation.
Final Note:
No single marking or alert carries meaning on its own — it must always be evaluated in the context of your concept knowledge.
Instead of trading purely on expectations, align bias + trend + entry confirmations to improve your success rate.
Feedback and suggestions are welcome.
Happy trading!
Smart Pro Entry Guideज्यादातर नए और मिड-लेवल ट्रेडर indicator की भीड़ में या जल्दीबाज़ी में ग़लत entry/exit पर फँस जाते हैं, जिससे बार-बार loss होता है या सही trade छूट जाता है।
Smart Pro Entry Guide इसी असली समस्या का सीधा हल है:
यह indicator price action, candle analysis, volume और trend momentum – सबका adaptive combination लगाकर हर स्थिति में साफ शब्दों में (BUY/SELL/WAIT) real-time signal देता है। इसकी सबसे खास बात – higher और current timeframe की sync analysis और auto-adaptive logic, जिससे beginners/experienced – सभी traders किसी भी market structure में बिना confusion सही entry, support/resistance, liquidity और trend direction एक दम साफ देख सकते हैं।
Key Concept & Benefits
No Indicator Clutter: सिर्फ one-glance signals, सारे signals और levels auto-update ताकि screen पर कभी overload ना हो।
Exact Entry Guide: कब सही entry है – system खुद strongest action filter करता है, जिससे FOMO और whipsaw entry से बचा जा सके।
HTF+LTF Logic: Multitimeframe sync analysis – हर market mood (bullish, bearish, sideways) को पकड़े और जल्द signal ना बदले।
Auto S/R & Liquidity Zones: Important support/resistance और liquidity levels auto-plot, जिससे price action traders को ready reference मिले।
Clear Action/Direction: हर बार realtime table/dashboard में plain words में “market क्या चाहता है” दिखे – चाहे bull trap हो, sudden volume spike, wick reversal या trend exhaustion.
For Everyone: Trader चाहे newbie हो या pro – सिर्फ chart add करें और real market psychology का live simplified signal instantly पायें।
Ideal Usage
Instant decision support: जब भी confused हों entry/exit को लेकर – इस indicator की सिफारिश चेक करें।
Entry learning: Beginners को best real-time practice playground – हर entry/exit reason भी दिखता है।
Screen time & Stress कम: Chart पर clear, relevant info – no noise, no extra marks!
Smart Entry Guide – Pro Dashboard HTF/Action Split ट्रेडिंग को आसान, साफ और आत्मविश्वासी बनाता है – ताकि आप market signal miss ना करें, जल्दीबाज़ी में trap ना हों और हर बड़े move का सही हिस्सा बन सकें।
Input Setting:
Enable Wick Analysis (useWickAnalysis)
क्या है?
यह एक बूलियन (true/false) सेटिंग है जिससे यूज़र यह decide कर सकता है कि indicator में "wick analysis" को एक्टिव करना है या नहीं.
क्यों है?
"Wick analysis" ट्रेडिंग में कैंडलस्टिक के shadows (wick/tail) को analyze करता है — यानी किसी भी कैंडल का जो हिस्सा खुलने/बंद होने के दाम से उपर या नीचे जाता है, लेकिन वहीं टिकता नहीं।
यह analysis दर्शाता है कि प्राइस पर seller या buyer ने strength दिखाई, पर वो momentum टिक नहीं पाया— यानी rejection या sudden buying/selling pressure।
Intent (भावना/लक्ष्य)
मार्केट की psychology को और गहराई से पकड़ना।
Beginner को live chart पर वही logic समझाना जो manual price action expert traders ढूंढ़ते हैं।
False signals/whipsaws को avoid करना, खासकर wicks के कारण आने वाले traps से बचाव करना।
User के लिए फायदा
जब यह ON रहेगा, तो indicator extra alert देगा — अगर बहुत बड़ी wick बनी है (जैसे big lower wick यानी नीचे से strong buying या big upper wick यानी strong selling), तो signal जल्दी और सही मिलेगा।
इससे ट्रेडर को पता चलेगा कि market एक तरफ rejection दिखा चुका है — जिससे खास entry/exit का decision और strong हो जाता है।
FOMO या panic में गलती से entry/exit लेने से बचाव, क्यूंकि wick पहचानना often pro trader का काम था — indicator उसे भी automatically दिखा देता है।
Real market reversal या fake breakout points को early पहचानने में मदद।
संक्षेप में:
Enable Wick Analysis चालू करने पर indicator manual pro price action reading जैसा एक smart filter जोड़ लेता है — जिससे signals ज़्यादा powerful, और market के traps से बचने में मदद मिलती है।
Enable Absorption (useAbsorption)
क्या है?
यह एक बूल विकल्प (On/Off) है। जब आप इसे true/active करते हैं, तो indicator "absorption candle" का logic अपने analysis में शामिल करता है।
क्यों है?
Absorption trading में एक ऐसी स्थिति को दर्शाता है जहाँ एक तरफ से ज़बरदस्त buying या selling pressure आता है—लेकिन उसके सामने दूसरी ओर से equally strong order flow आकर move को absorb (निगल) लेता है, जिससे price को रोक दिया जाता है। यह market में hidden strength का संकेत होता है—जैसे कोई चलती ट्रेन अचानक दीवार से टकरा जाती है!
Indicator में absorption analysis यह पकड़ता है कि volume अचानक high है, और price एकदम lowest या highest point पर बंद हो गया, पर price बड़ा move नहीं कर पाया—यानी buyers या sellers का दबाव absorb हो गया।
Intent
Pro level price/volume dynamics को automatically पढ़ना, जिससे major reversals या breakout fakeouts का पता लगाया जा सके।
Beginners के लिए complicated manual candle/volume analysis को आसान बनाना।
Market में छुपी हुई liquidity और institutional order zones को पहचानना—जहाँ real move start हो सकता है।
User को क्या फायदा?
On करने पर जब भी absorption signal मिलेगा, indicator entry/exit या directional alert को और मजबूत बना देगा।
Reversal या fake breakout/trap के पहले ही user को advanced warning मिल सकती है—जो अक्सर सिर्फ बड़े price action expert charts से ही पकड़ते हैं।
Beginners के लिए "hidden" market action को सामने लायेगा—panic या FOMO entry से बचाव और patience बढ़ेगा।
खासकर volatile या news-driven market में जहाँ sudden wicks और volume spike निकलते हैं, वहाँ यह बहुत काबिल feature है।
संक्षेप में:
Enable Absorption ON रखने पर indicator market के छुपे हुए pressure zones को automatically detect करता है—traders को entry/reversal/exit points पर pro-level confidence देता है, जिससे major loss या फालतू entries से बचा जा सकता है।
Enable Unusual Breakout (useUnusualBreakout)
क्या है?
यह एक ON/OFF विकल्प है (बूल वैल्यू)। इसे सक्रिय करने पर indicator unusual breakout की प्रबल पहचान करता है — यानी जब candle का बॉडी औसत से बहुत बड़ा और वॉल्यूम ज़्यादा होता है।
क्यों है?
मार्केट में कभी-कभी अचानक बड़े मूव (breakout/breakdown) आते हैं — जिनमें volume भी साथ में surge करता है।
ऐसे unusual moves beginners अक्सर miss कर देते हैं, या उलटी साइड में फँस जाते हैं, क्योंकि वो normal range से बाहर signal होते हैं।
Intent
Sharp momentum और real breakout moves को identify करना।
Beginners को uncommon market situations में, पहले से alert करना, ताकि genuine move miss न हो और trap में भी न फँसे।
Volatility ke time पर traders को confidence और clarity मिल सके।
User फायदा कैसे ले सकता है?
ON रखने पर indicator जैसे ही unusual breakout detect करेगा (big candle + high volume), signal के साथ reason में दिखा देगा।
Scalping/trend ट्रेड या volatile मार्केट में, extraordinary moves को जल्दी पकड़ पाएँगे।
Entry miss या फालतू whipsaw moves में फँसने से बच सकते हैं, क्योंकि indicator unusual move को plain शब्दों में highlight करेगा।
High-probability moves में तेजी से action लेने का मौका मिलेगा।
संक्षेप में:
Unusual Breakout ON रखने पर indicator हर uncommonly strong move को समय पर पकड़ लेता है — जिससे users big and real market move miss नहीं करते और risky sudden traps से बचते हैं!
Enable Range/Expansion (useRangeExpansion)
क्या है?
यह एक boolean setting है (On/Off)। इसे ON करने पर indicator "Range Expansion" logic को activate करता है — यानी जब market में suddenly price range बढ़ जाती है, तब उसको खास तौर पर analyze करता है।
क्यों है?
"Range/Expansion" का मतलब है — जब किसी भी candle या bar का high-low suddenly पिछले average range के मुकाबले बहुत ज्यादा बड़ा/छोटा हो जाए।
यह अक्सर अचानक volatility, नए trend की शुरुआत, या powerful breakouts/breakdowns के वक्त होता है — यानी market stationary/restricted से एकदम dynamic/high-volatility mode में आ गई।
Beginners ये movement कई बार miss कर देते हैं या old range में फँसकर false entry ले लेते हैं।
Intent
Trend shift, volatility burst और range breakout जैसी critical movements को exact time पर पकड़ना।
User को warn करना कि market एक नए phase में आ चुकी है — अब entry/exit approach को accordingly adjust करना चाहिए।
Entry का best time signal करना, जब suddenly real move शुरू हो गया हो।
User को क्या फायदा?
ON करने पर जैसे ही market में unusual range expansion दिखाई देगी, indicator alert कर देगा — जिससे no-trade phase से out-of-box move को catch करना आसान हो जाएगा।
इसमें पुराने (previous) small ranges और sudden large candle के difference को detect किया जाता है — जिससे user sideways/confused market में trap होने से बच सकता है।
Best entry का timing improve करेगा — अगर expansion bullish/positive हो तो BUY या bearish/negative हो तो SELL quickly identify हो जाएगा।
Big trend moves miss नहीं होंगे, क्योंकि system खुद नए phase को instantly पकड़ लेगा।
संक्षेप में:
Enable Range/Expansion ON करने से indicator sudden trend shifts, breakout/breakdown या big volatility phase को तुरंत पकड़ता है — जिससे user entry/exit का फायदे-मंद decision ले सकते हैं, moving/range bound market trap से बच सकते हैं, और trend phase को miss नहीं करते!
Trend Bar Lookback (Rolling) (trendBarCount)
क्या है?
यह एक integer/numeric input है, जिससे आप set करते हैं कि indicator पिछले कितने candles/bars का data लेकर trend की direction और strength calculate (roll करता है) करे।
जैसे: अगर इसका मान 7 है, तो पिछले 7 candles की price movement देखकर trend का हिसाब करेगा।
क्यों है?
हर market/trader का style और time-frame अलग होता है;
Short lookback = तेज़ी से बदलने वाला, ज्यादा sensitive signal → scalping/small moves के लिए।
Long lookback = बड़ा data, ज़्यादा stable trend, कम whipsaw → swing/position trading के लिए।
Indicator को flexible बनाने के लिए यह option रखा गया, ताकि user अपने हिसाब से momentum/trend detection को adjust कर पाए।
Intent
User को control देना कि trend detection में कितना past data consider करना है।
Beginners और pros दोनों को flexibility देना — कोई ultra-fast trend देखना चाहे तो small value रखे, कोई safe/stable trend के लिए बड़ी value रख सकता है।
हर symbol/market के हिसाब से customization—volatile stocks में कम या ज़्यादा lookback set कर सकते हैं।
User के लिए फायदा
अपनी strategy, time-frame, और market के behaviour के हिसाब से best trend sensitivity set कर पायेंगे।
Short-term traders quick entries पकड़ सकते हैं; long-term traders noise से बच सकते हैं।
Indicator false signals या whipsaw से बचाने के लिए τtrendBarCount को adjust कर decision clarity पा सकता है।
Multi-timeframe analysis और system tuning ultra easy बन जाता है—user खुद देख सकता है कि कौन सा setting उसके लिए सबसे अच्छा result दे रहा है।
संक्षेप में:
Trend Bar Lookback user को ये control देता है कि trend/momentum calculation कितना “fast” या “slow” हो, जिससे वे अपनी style के हिसाब से indicator को बिलकुल fit बना सकते हैं—यह ट्रेडिंग में एक बहुत बड़ा practical edge देता है!
Bull/Bear Bars for Strong Trend Min (trendScoreMin)
क्या है?
यह setting यह define करती है कि पिछले lookback window (जैसे—Trend Bar Lookback) के अंदर लगातार कितनी bullish (green) या bearish (red) candles minimum चाहिए, ताकि indicator उसे "strong trend" मानकर BUY या SELL signal दे सके।
उदाहरण: अगर इसे 5 set किया है, तो पिछले lookback (माने 7) में कम-से-कम 5 बारें लगातार bullish हों—तभी उसे strong uptrend और vice versa के लिए strong downtrend trigger माना जाएगा।
क्यों है?
बहुत सारे indicators या strategies market में छोटे-छोटे या random price moves में भी trend detect कर लेते हैं, जिससे beginners बार-बार छोटे या झूठे (false) signal पर फंस जाते हैं।
trendScoreMin रखने का logic ही यह है कि सिर्फ तभी entry मिले, जब वहाँ सच्चा momentum, यानी majority candles एक direction में हों—ताकि weak trend, sideways, या whipsaw moves से user बचे।
Intent (मूल भावना)
Signal quality improve करना—सिर्फ “high probability” entries व strong momentum trade मिले।
Market noise और बार-बार signal flip या reversal के chance कम करना।
Beginner/trader discipline रखना—बार-बार entry/exit करके trap होने से रोकना।
User फ़ायदा (User कैसे लाभ उठा सकता है?)
अगर user aggressive है और ज्यादा fast signal चाहिए, तो इस value को कम रखे (जैसे 3-4)—उससे short trend/flips भी मिल जाएंगे।
अगर user को only strong/full-body trends चाहिए, loss से डर है या ज्यादा noise नहीं चाहिए, तो value ज्यादा रखें (6-7)—तभी signal आएगा जब market strongly एक तरफ जा रहा हो।
खासकर beginners जल्दी signal के चक्कर में fake moves पकड़ लेते हैं—यह setting उन्हें patience सिखाएगी और परेशान market moves में unwanted trades से रोकेगी।
Pro trader इसको नए-नए symbol या market reality के हिसाब से tweak कर सकते हैं—जैसे volatile crypto में कम, stable stock में ज्यादा।
Example Practical Use:
Suppose आपने lookback 7 रखा है और trendScoreMin 5, तो पिछले 7 candles में कम से कम 5 green पूरे हों तो ही BUY trigger बनेगा—वरना WAIT ही दिखेगा।
यह logic practically हर time frame, हर market, हर user type के लिए risk control और entry select करने को super easy और disciplined बना देता है।
Volume MA Length (length)
क्या है?
यह setting user से पूछती है कि वॉल्यूम का “moving average” कितने पिछले bars/candles के ऊपर लें।
माने, यह वह अवधि है जिसके आधार पर indicator वॉल्यूम का औसत निकालता है। Default value अक्सर 20 होती है, यानी पिछली 20 candles के volume का average लिया जाता है।
क्यों है?
Market में हर candle का वॉल्यूम अलग होता है—कभी ऊपर, कभी नीचे।
जब sudden volume spike/decline आता है तो वही असली move, trap या breakout का clue होता है।
Normal volume कितनी है ये पता रहे, ताकि unusual वॉल्यूम तुरंत पकड़ में आए।
Intent (लक्ष्य/भावना)
Beginner/pro दोनों trader को अपने हिसाब से volume behavior analyze करने देना।
हर symbol, market type, time frame आदि के लिए अपने हिसाब से logical वॉल्यूम spike/filter tuning देना।
Noise, trap या fake volume moves से alert रखना।
User फ़ायदा (कैसे use करे/benefit)
Short-term/small move के लिए: (e.g., Scalping, fast intraday) – कम value रखें जैसे 10–15। इससे fast volume change जल्दी पकड़ जायेगा।
Long-term/big move के लिए: (e.g., Swing, positional) – बड़ी value रखें जैसे 30–50। Stable average बनेगा, सिर्फ असली strong moves दिखेंगे।
Practical Entry/Exit: Unusual volume candle पर indicator quickly alert करेगा—FOMO, panic या silent entry से user बचेगा।
Beginner कोई भी market (Forex, stock, crypto) इस्तेमाल कर रहा हो, इस length के हिसाब से volume analysis best fit बना सकता है।
अगर volume ज्यादातर flat है, तो MA length बढ़ा लें। अगर हमेशा high change रहता है, तो कम कर सकते हैं।
Example:
अगर length 20 रखा और अगले candle का volume, पिछले 20 का average से 2x हो गया—system उसे impactful move मानेगा और यूजर को real breakout या absorption candle instant बता देगा।
यह setting छोटी है लेकिन trading में “volume traps” और “real participation” को पकड़ने के लिए बहुत काम की है। सही value experiment करके user अपनी strategy के लिए best sweet spot खुद खोज सकता है!
Swing Lookback Bars (swing_look)
क्या है?
यह setting बताती है कि indicator ब्रेकआउट/रिवर्सल या swing को पकड़ने के लिए कितनी पिछली candles (bars) का डेटा देखे।
Simple रूप में, जब system swing high/low (local top/bottom) calculate करता है, तो वह पीछे कितनी bars देखे — यह user decide करता है।
Default value 15 होती है, यानी पिछली 15 candles में सबसे ज़्यादा हाई या सबसे कम low को swing point माना जाएगा।
क्यों है?
हर मार्केट और हर trader का swing/reversal पढ़ने का तरीका अलग होता है — किसी को छोटी moves (scalping/small breakout) पकड़नी है, किसी को big swings (trend shift) चाहिए।
अगर छोटी value रखेंगे तो system जल्दी-जल्दी swings दिखाएगा; बड़ी value से सिर्फ major, मजबूत reversal points दिखेंगे।
Intent (लक्ष्य/भावना)
User को flexibility देना, ताकि वह chart structure अपनी strategy के हिसाब से देख सके।
Pro-level market structure analysis (higher highs/lows, lower lows/highs) को simplify करना।
Beginners को real swing/reversal या trend continuation signal में clarity देना, bar-बार changing signals से बचाना।
User फ़ायदा (कैसे use करें/benefit)
Short-term/Scalping के लिए: small value (जैसे 8-10)—quick swing points, fast choppy market में best है।
Swing/Positional Trading के लिए: larger value (15-30)—major reversal या only big breakouts/breakdowns दिखेंगे, noise कम, reliability ज्यादा।
Entry/exit timing ultra accurate हो जाती है — क्योंकि वही bars (swings) true reversal बन पाते हैं जिनके पीछे enough candles का context होता है।
Beginners भी chart पर local high/low, support/resistance आसानी से identify कर पाते हैं, manual drawing की ज़रूरत नहीं।
Trend-followers छोटे swing के trap से बच सकते हैं; reversal traders major profit capturing कर सकते हैं।
Example:
अगर swing_look = 15, तो indicator हर point पर पिछले 15 bars में highest high और lowest low देखेगा — अगर कोई बार इन values से ज़्यादा/कम है, तो swing high/low बन जाएगा।
इससे आप अपनी strategy को perfectly match करते हुए, strong और weak swings को filter कर सकते हैं—high probability trading, कम confusion, और confident setup!
HTF (Bias Window) (window_tf)
क्या है?
HTF (Higher Time Frame) Bias Window वह setting है जिससे आप यह decide करते हैं कि indicator multisystem logic में कौन सा higher time frame (जैसे—15min, 1H, 4H, 1D आदि) market bias/मूड पढ़ने के लिए इस्तमाल करे।
इसमें time-frame (window) select होता है जिस पर overall market trend, bias, liquidity और reversal zones का हिसाब लगाया जाता है।
क्यों है?
ज़्यादातर beginners या हाल ही के traders सिर्फ current/candle time-frame देखते हैं — जिससे बार-बार छोटे या fake signals आ जाते हैं।
लेकिन real market direction, big moves और trend reversals अक्सर bigger time frame (HTF) से ही decide होते हैं।
HTF bias window रखने का मकसद यह है कि entry/exit decisions हमेशा बड़े context के हिसाब से हों—market की asliyat कभी भी small time-frame में miss न हो!
Intent (मूल भावना)
User को multitimeframe trading की advanced power देना—बिना extra charts के।
हर trade से पहले bigger bias पता रहे—market bullish है, sideways है या bearish है, वो instantly clear हो।
Beginners को frustration, false breakout और whipsaw trap से बचाना—क्योंकि current TF का move अगर HTF के खिलाफ है तो trap होने के chances बहुत ज्यादा हैं।
User फ़ायदा (कैसे benefit लें?)
Scalping/trading में:
Quick trades के लिए छोटी HTF window (जैसे 15-30min) चुनें।
Swing/position trading में:
बड़ी window (1H, 4H, 1D) रखें—overall trend, major reversal & support/resistance zones का सही अंदाजा मिलेगा।
Beginner हो या Pro—HTF bias window के हिसाब से entry लें तो “trend के खिलाफ trade” ना के बराबर होंगे, result consistency बढ़ जाएगी।
HTF हमेशा direction/major move के पीछे की असली ताकत दिखाता है—choppy, sideways या reversal market में perfect filter की तरह काम करता है।
Example Practical Use:
Suppose आपने chart 5min का open किया है, पर HTF bias window 1H set किया—तो हर 5min move की असली दिशा hourly trend बताएगा, जिससे सिर्फ strong, genuine trend पर ही entry मिलेगी।
सारांश:
HTF Bias Window ऐसी setting है जो हर user को beginner से pro तक, market के बड़े structure के हिसाब से decision लेने की ताकत देती है—winning ratio और discipline दोनों full boost हो जाते हैं!
Adaptive Lookback (HTF) (lookback_sup)
क्या है?
Adaptive Lookback (HTF) वो setting है जिसमें user यह तय करता है कि higher time frame (HTF) analysis में सुपर इम्पॉर्टेंट data points—जैसे highest volume, biggest candle body, swing points आदि—calculate करने के लिए कितनी पिछली HTF candles को consider करना चाहिए।
यानी HTF में latest कितनी bars देखनी हैं ताकि extreme/high impact moves, zones, और levels का पता चले।
क्यों है?
बड़े moves या reversal अक्सर पिछले लंबे data history में बनती है — इसलिए adaptive lookback जरूरी है।
Short lookback से फटाफट बदलने वाले (quick, responsive) zones मिलेंगे; long lookback से ultra-reliable, rarely changing, big zones मिलेंगे।
हर symbol, strategy और time-frame के हिसाब से right lookback set करना ultra-important है — beginner के लिए भी और pro के लिए भी।
Intent (भावना/logic)
Market के real key levels, HTF trend strength और liquidity का असली context provide करना।
Trend exhaustion, real support/resistance shift, big volume pockets — सब detect हों, इसलिए adaptive tuning option देना।
Beginner को सिर्फ current देखने की गलती से बचाना और overall bias/history भी use करने का रास्ता मिलना।
User फ़ायदा (कैसे use करें/benefit)
छोटा lookback (10-15):
Fast market/volatile asset या intraday के लिए, ताकि indicator बदलती condition के हिसाब से तेजी से adapt करें।
Beginners जो टाइम-टू-टाइम active entries चाहते हैं, उन्हें short lookback से quick response मिलेगा।
बड़ा lookback (20-50+):
High TF पे, swing/positional users के लिए—ऐसे zones, जो बहुत rare और reliable हों। Real trend/fake out/trap से protection मिलेगी।
Pro traders, long-term portfolios में rarely shift होने वाले buy/sell levels automatic spot कर सकते हैं।
HTF के support/resistance, body high, volume high जैसी values निकालकर indicator हर signal को सिर्फ सच्चे big context में ही पास करेगा — accuracy, discipline और trust दोनों बनेगा।
Example:
मान लीजिए lookback_sup = 20; HTF पर, सबसे बड़े volume और candle body last 20 HTF bars से निकाले जाएँगे। अगर sudden spike/zone आता है, तो नया level बनेगा, वरना reliable old results चलेंगे।
निष्कर्ष:
Adaptive Lookback (HTF) आपको long/short trend context, big reversal, institution zones जैसी बड़ी info “ अपने time-frame/strategy के हिसाब से ही ” देता है—entry/exit के लिए ज्यादा भरोसेमंद और high-impact decision possible होता है!
Show Support/Resistance (showSR)
क्या है?
यह एक ON/OFF (True/False) setting है जिसके जरिए user decide करता है कि indicator chart पर automatically निकाले गए support और resistance levels को display करे या नहीं।
जब यह ON रहता है, तो सिस्टम खुद-ब-खुद सबसे ज़्यादा relevant support और resistance (S/R) levels को price chart पर label कर देता है।
क्यों है?
Beginners या even pro-traders भी कभी-कभी key S/R levels draw करने में गलती कर देते हैं या चीज़ें miss कर जाते हैं।
S/R levels trade entry, exit, stoploss और target decide करने का main scientific base होते हैं।
Manual S/R drawing में time भी लगता है और bias का risk भी रहता है—auto-detection हर trader का काम आसान कर देता है।
Intent (logic/लक्ष्य)
User को key market reversal/continuation zones instantly, chart पर real-time दिखाना।
Entry/exit decision-making को speed और confidence के साथ simple बनाना।
किसी भी strategy (price action, breakout, reversal etc.) में key level visualization on-the-fly मिले।
User फ़ायदा (कैसे use करें/benefit)
जैसे ही showSR ON करेंगे, सिस्टम चुपचाप adaptive logic से latest swing हाई/लो, उम्मीद के reversal/trap/continuation level labels chart पर दिखा देगा।
Entry के लिए—जब price support से bounce या resistance पर फंसे, तो action बहुत reliable होगा।
Stoploss/target planning ultra-simple—कोई भी level exact price पर देख सकते हैं।
Beginners को chart पढ़ना, risk management और candle structure analysis learning practically मिल जाता है—कोई guesswork या over-thinking नहीं।
Advanced user multi-timeframe chart्स पर cross-check के लिए instantly s/r देख सकते हैं।
Example:
Fast trading या market में फँसने वाले trade में, S/R ON कर देने से market की real “boundary” हर वक्त सामने रहेगी—best risk/reward और patience automatic आएगा।
निष्कर्ष:
Show Support/Resistance ON रखना हर trader को आत्मनिर्भर, confident और high-probability decision maker बना देता है—चाहे वह नया हो या प्रो।
Manual drawing, confusion या misplacement का risk एकदम vanish—chart always ready, always clear!Show Support/Resistance (showSR)
Show Liquidity Zones (showLIQ)
क्या है?
यह एक ON/OFF (True/False) टॉगल है—user decide करता है कि indicator chart पर हाई-वॉल्यूम वाले liquidity zones को highlight (दिखाए) करे या नहीं।
ON करने पर indicator intelligent logic से chart पर वही price area label करता है जहाँ सबसे ज़्यादा असली trade (liquidity) होती है—यानि जहाँ institutional, big-player activity या sudden big moves के आसार होते हैं।
क्यों है?
Market के बड़े moves या reversals अक्सर वहीं से शुरू होते हैं जहाँ बहुत high volume या liquidity जमा होती है; यही “trap” और “fake breakout” zone भी होते हैं।
Beginners liquidity zone को पचान नहीं पाते और असली move शुरू होने के समय उलट trade कर लेते हैं।
Automatic liquidity mapping से entry, exit या reversal का decision practical and pro-level हो जाता है।
Intent (logic/लक्ष्य)
User को real market power zones ekदम instantly chart पर दिखाना।
Beginners/pro दोनों को — कहाँ "smart money" छुपा है, कहाँ price trap या sudden reversal संभव है, उसका ready clue मिले।
Trade execution, stoploss placement और breakout management को safe, fast और systematic बनाना।
User फ़ायदा (कैसे use करें/benefit)
ON करने से chart पर वही zone highlight होंगे जहाँ price action सबसे ज्यादा meaning रखता है—entry का probability और risk management दोनों best रहेगा।
Beginners को समझ आएगा कि market में सिर्फ SR नहीं, liquidity zone भी important trend driver है।
Advanced user smart money follow करके trap से बचेगा और reversal या continuation पर strong एग्रेसिव entry ले सकेगा।
Panic moves, fake breakouts, और unusual volatility के समय यह zones maximize protection देते हैं।
Scalping, intraday, swing—हर strategy के लिए; liquidity zone का visualization फौरन available होगा।
Example:
Suppose price suddenly एक liquidity zone (high volume mark) के करीब आया—तो system आपको unconsciously alert करेगा कि या तो यह strong entry है या यहाँ से trend reversal मुमकिन है।
सारांश:
Show Liquidity Zones ON रखने से हर ट्रेडर instantly जान सकता है कि “market को सही मायने में कहाँ interest है”—entry timing sharp, big-player trap पहचानना आसान, और overall trading discipline ultra-confident रहेगा!
Manual guesswork पूरी तरह खत्म!
Show Trendlines (showTrend)
क्या है?
यह एक ON/OFF (True/False) setting है — user तय करता है कि indicator chart पर automatically adaptive trendlines plot करे या नहीं।
ON करने पर indicator current/higher time frame के हिसाब से latest price action trends (uptrend or downtrend) के relevant trendline सीधे chart पर draw कर देता है — साथ ही यह entry, breakout और reversal signal में instantly मदद करता है।
क्यों है?
Trendlines trading में price direction, entry/exit point, breakout या reversal zone, और overall price momentum visualize करने का सबसे बेसिक और सबसे भरोसेमंद तरीका हैं।
Beginners को manually trendline draw करना सीखना या perfect line लगाना बेहद tough लगता है — bias, error या miss होने का खतरा रहता है।
Auto-adaptive trendlines होने से market का असली structure बार-बार देखकर समझ में आता है — और signal confirmation भी आसानी से हो जाती है।
Intent (logic/लक्ष्य)
User को chart पर price action और trend का true angle instantly दिखाना।
Trend-following, breakout और reversal strategies को beginner level पर भी super easy बनाना।
No-bias charting experience — हर बार trendline reliable, adaptive और real-time दिखे।
User फ़ायदा (कैसे use करें/benefit)
Trend continuation/entry planning: जब price trendline के साथ/against react करे तो instant clarity मिलेगी — उपरी या निचली trendline के break होने पर entry/exit signal भी refined रहेगा।
Breakout trap या fake reversal से बचाव: Trendline हमेशा real price mood की side दिखाएगी — beginners कभी भी sideways market या false move में confused नहीं होंगे।
Chart minimal, practical और fast-acting रहेगा; चाहे swing tracing हो, scalping या long-term.
Advanced traders भी multiple timeframes/strategy के हिसाब से instant trendline reference के फायदा ले सकते हैं।
Pro-level visualization instantly बिना manual मेहनत के, confidence और patience अपने आप बढ़ेगी।
Example:
Suppose market uptrend में है, trendline chart पर auto-draw हो जायेगी; price जब भी support पर बने या break करे — system instant alert के साथ real trend जाने देगा।
निष्कर्ष:
Show Trendlines ON रखने से indicator entry/exit या reversal की direction instantly live दिखाता है — chart कभी blank, confusion या bias वाला नहीं रहता — beginners से लेकर expert तक, सभी को super-smooth price action discipline instantly मिल जाता है!
Manual drawing भूल जाएँ — chart हमेशा ready, always trustworthy!
S/R Lookback (Adaptive) (srLook)
क्या है?
यह setting यह डिफाइन करती है कि indicator adaptive support/resistance (S/R) levels निकालने के लिए पिछले कितनी bars (candles) का डेटा चेक करे।
यानी, हर बार जब indicator chart पर नया support या resistance label निकालता है, तो वह कितने पीछे जाकर swing high/low देखे — user खुद srLook से decide करता है।
Default value (जैसे 5 या उससे ऊपर)—पिछली 5 candles के lowest/highest को adaptive SR निकालने में इस्तेमाल करेगा।
क्यों है?
S/R calculation की reliability उस दौरान देखे गए data की width/size पर बहुत depend करती है।
कम lookback = तेजी से बदलने वाला support/resistance (quick trading/scalping)।
ज्यादा lookback = ज़्यादा stable, rarely changing, strong S/R (trend/swing position trading)।
हर strategy/trader और market structure के लिए सही lookback choose करना edge देता है।
Intent (लक्ष्य/logic)
User को control देना कि S/R detection कितना “responsive” हो या कितना “stable/reliable” हो।
Beginners को adaptive calculation logic और pro-traders को customizable S/R depth, दोनों देना।
Ultra clutter-free chart; chart भी साफ, levels भी logical।
User फ़ायदा (कैसे use करें/benefit)
Intraday/scalping के लिए:
कम srLook (5-7) — frequent, fast-reacting S/R; rapid moves के लिए बढ़िया।
Swing/positional trading के लिए:
ज्यादा srLook (10-20) — strong, rarely shifting S/R; false breakouts और noisy zones का risk बेहद कम।
Beginners खुद instantly देख सकते हैं कि chart पर कौन-सा level सबसे ज्यादा touch या respect हो रहा है — entry, stoploss, target super easy।
वैसे strategies में जहां price बहुत sideways है, srLook बढ़ाकर only real reversal zones को auto-pick कर सकते हैं।
Strategy-setup के हिसाब से experiment कर सकते हैं—result live देखेंगे।
Example:
अगर srLook = 7 है, तो indicator last 7 candles में सबसे lowest low को support और सबसे highest high को resistance मानकर chart पर adaptive डॉट या label लगा देगा — जैसे ही market S/R के पास आएगा system alert होगा।
निष्कर्ष:
S/R Lookback (Adaptive) user को अपने chart और trading style के हिसाब से best-fit support/resistance levels निकालने का फ्रीडम देता है—noise, guesswork और manual जानकारी की ज़रूरत खत्म, chart हमेशा practically trade-ready रहता है!
Liquidity Lookback (Adaptive) (liqLook)
क्या है?
Liquidity Lookback एक numerical setting है, जिससे user define करता है कि indicator liquidity (यानी unusual/high volume वाले zones) detect करने के लिए कितनी पिछली candles (bars) को average करें।
Default value (जैसे 20) - इसका मतलब है कि पिछले 20 bars का volume average लेकर ही liquidity zone set होगा।
क्यों है?
Liquidity trap, big volume breakout या absorption जैसे pro-level analysis सही तरीके से तभी identify होते हैं जब सही history देखी जाए।
कम lookback (छोटी window) से liquidity detection इतना fast हो जाता है कि हर छोटी volume spike भी ज़ोन बन जाती है (scalper/faster traders के लिए)।
बड़ी lookback (ज्यादा bars) से सिर्फ वे ही liquidity zones बनते हैं जो वास्तव में बहुत बार repeat हुए हों—ज्यादा reliable for swing/positional trading।
Intent (उद्देश्य/logic)
Chart पर liquidity detection को user strategy, asset type, और market behavior के हिसाब से customize करना।
Beginners को too many, irrelevant, या weak liquidity zones से बचाना और pro-users को rare yet powerful zone देने का विकल्प रखना।
System को practical, less noisy और adaptive बनाना।
User फ़ायदा (कैसे benefit लें?)
Fast/Scalping के लिए:
कम value रखें (5-10)—market में हर unusual volume पर liquidity zone दिखेगा, quick moves पकड़ पाएँगे।
Swing/Positional के लिए:
ज्यादा value रखें (20-30+)—सिर्फ high-impact, rarely changing, very important zone ही बनेगा, less noise!
Beginners simply experiment करके देख सकते हैं कि कौन सा value उसके chart और time-frame के लिए सबसे उपयोगी है।
Liquidity trap, fake breakout या panic entry का खतरा/liquidity drying zones आसानी से spot।
Pro-traders advanced tuning से ultra-specific zones बना सकते हैं।
Example:
अगर liqLook = 20, तो indicator पिछले 20 bars का volume average करेगा — और जब current volume उससे कहीं ऊपर जाएगा, तभी liquidity zone बनेगा।
छोटा देखना है तो कम value, बड़ी swing trade या safe zone चाहिए तो ज्यादा value।
निष्कर्ष:
Liquidity Lookback (Adaptive) हर user को अपने chart, trading style और strategy की जरूरत के अनुसार adaptive liquidity zones दिखाने का 100% control देता है — जिससे market trap, fake moves से बचना बहुत आसान हो जाता है और हर real move instantly identify होता है!
Liquidity Vol Multiplier (liqFactor)
क्या है?
यह एक float (जैसे—0.9, 1.2, 1.5 etc.) parameter है, जिससे user यह define करता है कि liquidity zone तब ही बनाना है जब current candle का volume, average liquidity volume (past liqLook bars का average) के कितने गुना से ज़्यादा हो।
यानी—market में unusual, real liquidity तभी highlight करनी है जब वो ordinary से काफी ऊपर हो।
क्यों है?
हर price action, reversal या breakout real volume पर ही बनता है—but, अगर हर छोटी volume spike को भी liquidity मान लें तो chart useless/overcrowded लगने लगेगा।
यह multiplier control देता है कि सिर्फ genuinely big money movement या rare event पर ही liquidity zone बने—regular/fake volume moves filter हो जाएँ।
Intent (logic/लक्ष्य)
System को noise-free, only big/true liquidity detect करना सिखाना, ताकि beginners बार-बार irrelevant signals से परेशान न हों।
Pro-users को smart-money वाली entries और true institutional action जल्दी और भरोसेमंद तरीके से दिखाना।
All-purpose—हर strategy, time-frame, asset type के हिसाब से practical tuning option देना।
User फ़ायदा (कैसे use करें/benefit)
Aggressive/Fast trades:
Liquidity vol multiplier कम रखें (0.8—1.0)—system छोटी-छोटी unusual moves को भी zones मानेगा (quick scalp या volatile moves के लिए)।
Conservative/Swing trades:
High value (1.2—2.0)—liquidity zone तभी बनेगा जब market में वाकई बड़ा order या participants move करें; गलती से fake zones आ ही नहीं सकते।
Beginners—अगर chart पर बहुत ज़्यादा liquidity zones दिख रहे हो तो value बढ़ा दें, कम दिख रहे हैं तो घटा दें।
Real power/trap zones हमेशा instantly मिलेंगे—entry, stoploss, या reversal सब safe, reliable और high-probability बन जाएगा।
Helps to avoid “false liquidity”—यानी normal या weak volume को ignore करके सिर्फ real/big action point दिखाएगा।
Example:
अगर liqFactor = 0.9 है, और avg liquidity 1L volume है—तो current volume 90,000 या उससे ज़्यादा होने पर ही liquidity zone बनेगा।
अगर liqFactor = 1.5 है—तो 1.5L से ऊपर volume हो तो ही zone बनेगा—system simply ignore कर देगा सब ordinary or dull market move।
निष्कर्ष:
Liquidity Vol Multiplier से liquidity detection real और practical रहता है—market के हर user के लिए chart साफ, entry high quality, और real risk management full control में।
Manual tuning करके ultra-personalized trading edge लेना super easy!
बिल्कुल! अब हम Dashboard के हर section को detailing में लेंगे—
हर parameter/intent की theory (ट्रेडर के लिए क्या फायदा?) और उसके नीचे LIVE code में logic कैसे काम कर रहा है दोनों बताएँगे, ताकि beginner और pro-trader दोनों को pure practical clarity मिले।
Dashboard Section: Intent HTF (dashboardIntent)
User Parameter / Intent क्या है?
Intent HTF बताता है कि higher time frame (HTF)—जैसे 1H, 4H, daily, जो भी आपने select किया—उस पर market का असली, पक्का bias क्या है:
BULLISH INTENT (HTF) — buyers overall control में हैं: उपर जाने की संभावना strongest है।
BEARISH INTENT (HTF) — sellers control में हैं: नीचे जाने/गिरावट की संभावना ज्यादा।
NO CLEAR INTENT — market sideways, indecisive या trend/fluctuation साफ नहीं है…entry करना risky हो सकता है।
यह Indicator कैसे Decide करता है? (आसान practical भाषा में)
बड़े Time Frame की Candle को Observe करना:
Indicator selected HTF पर candle का open, close, high, low, और volume देखता है (main chart time-frame से अलग window_tf setting के हिसाब से).
Biggest Volume & Move Compare करना:
पीछे lookback_sup जितनी candles में से, biggest candle body, biggest volume और percentage body निकालता है।
फिर percentile logic (जैसे top 80% percentile) देखता है—मतलब क्या current move उस historical data के comparison में वाकई unusual है?
Strict Signal Check:
अगर:
Candle का close उसके open से ऊपर है (for Bullish) और वह पिछले swing/high को भी cross कर रही है,
और volume/body/apni percentile threshold को beat कर रही है
…तभी intent बनेगा “HTF BULLISH”।
Vice versa अगर close नीचे, swing low से भी नीचे, और बाकी signals pass हो—तो “HTF BEARISH”।
अगर कोई भी strict condition fulfill नहीं होती, intent रहेगा “NO CLEAR INTENT”—यानि sideways/chop.
Persistent logic:
Intent बार-बार तड़ातड़ बदलता नहीं—एक बार बनी bias सिर्फ तभी change होगी, जब साफ-साफ opposite पक्का signal मिले।
इससे chart bar-bar flip नहीं करता—trader discipline और confidence में रहता है।
Trader को क्या Practical Benefit है?
Beginner — अब confuse नहीं होगा क्योंकी “market का real trend क्या है” सीधे dashboard पर लिखकर मिलेगा; कोई guess-work नहीं।
Pro-trader — directional bias के खिलाफ trade नहीं करेगा, risk-reward हमेशा optimal बनेगा।
Market sideways हो तो NO CLEAR INTENT दिखेगा, यानि extra discipline—trade avoid या wait करना easy लगेगा।
Example:
आपने 1H window चुनी। पिछली बार trend strong buyers वाला था, आज candle open से ऊपर, unusual volume, previous high breakout—system बोलेगा: BULLISH INTENT (HTF)
Market टेढ़ी, unclear—system NO CLEAR INTENT बोलेगा: avoid करो, या छोटी quantity में patience रखो।
नोट:
Intent HTF आपको winning side पर बने रहने, trap से बचने और हर big move के पहले reliable confirmation लेने की power देता है—कोई भी loss, overtrading और panic यहां से control में आ जाता है!
HTF Bias (persistentBiasMsg, htfBiasMsg)
क्या है - User की भाषा में:
“HTF Bias” ये बताता है कि बड़े time-frame (जैसे 1 घंटे, 4 घंटे, 1 दिन) पर market का असली माहौल क्या है — buyers के favor में (Bullish), sellers के favor में (Bearish), या market undecided/sideways (Chop) है।
Dashboard के बॉक्स में हमेशा updated रहता है — जिससे कोई भी trader instantly पहचान ले कि बड़े players का mood किस तरफ है।
Indicator इसका bias कैसे निकालता है—आसान भाषा में Logic:
HTF की Big Candle और Volume देखना:
Indicator main chart से ऊपर, एक और बड़े time-frame (जैसे 1H, 4H, 1D) पर market की बड़ी candle (उसका open, close, high, low) और उसका volume बहार ले आता है.
Historical Data से सबसे तेज़, शार्प move पकड़ना:
अब वह पीछे कुछ चुनी हुई बड़ी candles देखता है (user की lookback setting जितनी), और उनमें से सबसे बड़ी candle body, सबसे बड़ी volume, और सबसे बड़ा percentage body (size/length) निकालता है.
फिर इन values का percentile अप्लाई करता है (जैसे top 80% वाली candles).
Decision Point बनाना:
अब Indicator ये judge करता है:
क्या current HTF candle का close ज्यादा है open से?
क्या उसने पिछले swing/high को break किया?
क्या volume और candle का size उस बाकी historical data में सबसे बड़ा (या percentile के हिसाब से high) है?
अगर हां — तो यह मालूम होता है कि buyers/sellers ने बड़े time-frame पर सच्चा control दिखाया!
Bias assign करना (Bullish/Bearish/Chop):
अगर सब signal मिल जाएं और price ऊपर बंद हो, volume/body पुरानों से बड़ा हो तो — “HTF: Bullish”
अगर सब signal, पर price नीचे बंद हो, volume/body बड़े हों तो — “HTF: Bearish”
अगर signal clear नहीं है (कोई strong move या unusual volume/size नहीं) — “HTF: Chop” (मतलब न खरीदो न बेचो)
Bias Stable रखने का System:
Indicator bias को बार-बार flashy तरीके से नहीं बदलता!
जब तक clear और पक्की opposite signal ना मिले, bias पुराने वाले पर ही रहता है — जिससे हर बार का mood trustworthy और panic-free feel होता है.
Trader के लिए Practical Result:
आपको chart देखते ही जल्दी पता चल जायेगा — आज, इस time-frame पर market का बाप कौन है: buyers, sellers, या कोई भी नहीं!
आप बिना किसी doubt या panic के entry/exit plan कर सकते हैं — बस bias check करें और उसी direction की trade पर ज़ोर दें.
Beginners मार्केट के छोटे trap/fake-out से बच सकते हैं, Pro-trader कई time-frame strategies safe बना सकते हैं.
Simple Example:
मान लीजिए आप 15min chart देख रहे हैं, पर dashboard में “HTF Bias: Bullish” दिख रहा है (window_tf = 1H):
इसका मतलब hourly chart पर buyers की पकड़ है.
आप शांत mind से shorter chart पर buy setup में ही focus करेंगे!
जब तक bias flip न हो — only buy-side priority. Market sideways हो तो trade बचें.
Dashboard Section: Chart Action (chartAction)
User Parameter / Intent क्या है?
Chart Action यह डिसाइड करता है कि अभी main chart time-frame पर user को क्या action लेना चाहिए—BUY (खरीदें), SELL (बेचें), या WAIT (रुकें, कोई trade मत लें).
यह signal पूरा system के सारे rules, filters, trend strengths और user-selected options के साथ निकलता है—ताकि हर trade disciplined, practical और प्रूफ वाला हो.
Logic – Chart Action कैसे निकाला जाता है? (आसान words में)
System दो तरफ के इशारे देखता है:
Strong Trend:
System चेक करता है कि recent candles में majority bars एक ही साइड हैं (जैसे ज्यादातर green/bullish या red/bearish), और price moving average (trendBarCount वाली SMA) के ऊपर (long) या नीचे (short) है।
User Intent (Special Price Action Signals):
खास events जैसे wick analysis, absorption, unusual breakout, range expansion—इनमें से कोई strong signal active है या नहीं।
Rules – Signal किस logic से मिलते हैं:
BUY:
अगर strong trend long active हो (कई candles लगातार आगे),
या कोई भी user-intent वाली bullish signal ON हो (जैसे wick reversal, unusual breakout आदि)
=> तब “BUY”
SELL:
अगर strong trend short active हो (कई candles लगातार नीचे),
या bearish price action signal मिले
=> तब “SELL”
WAIT:
ऊपर में से कोई condition पूरी नहीं हो रही
=> कोई trade नहीं—“WAIT”
Why so strict?
System में दोनों—Trend & User Intent logics लें—ताकि fake move, sideways/trap से बचाव हो।
Signal तभी मिले जब सच्चा momentum या clear signal हो—false entry से बचाव!
Trader को Practical Result क्या मिलेगा?
Dashboard पर एकदम clear दिखेगा—“BUY” (green), “SELL” (red), या “WAIT” (yellow)
Beginners को कभी overtrade या बिना logic entry नहीं मिलेगी; chart action सिर्फ real, filters पास करने वाले मौके पर ही देगा।
Pro-Trader को signal-triggering full transparency और quick action—सिर्फ actionable मौके, कोई guess, कोई overconfidence नहीं।
WAIT की हालत में trader खुद-ब-खुद discipline में रहेगा और नो-ट्रेड का मज़ा समझेगा (best protection!)।
यह Logic background में कैसे चलता है? (सरल शब्दों में)
Indicator हर candle पर पूरी logic चेक करता है—trend score, price SMA, user enabled filters और price action triggers।
जैसे ही कोई strong buy या sell signal confidencely बनेगा—dashboard में action update हो जाएगा।
System कभी force entry नहीं देगा—अपने आप “WAIT” if कोई condition ना मिले.
Simple Example:
लगातार कई green bar, price average से ऊपर—system तरह का एक strong trend देखता है—फिर sudden unusual breakout candle (with big volume) आ गई—chart action: BUY।
Market अजीब/sideways—ना trend score पूरा, ना कोई action trigger—chart action: WAIT।
Strong red trend चला और sudden downside expansion candle—chart action: SELL।
Dashboard Section: TrendScore Long/Short
User Parameter / Intent क्या है?
यह cell आपको एक ही नजर में दिखाता है कि पिछली X candles (जितना “Trend Bar Lookback” set किया है) में कितनी candles बिना किसी confusion एकदम bullish direction में हैं—और कितनी bearish.
Format हमेशा — LongCount / ShortCount
जैसे: 5/2 का मतलब: 5 bullish, 2 bearish bar (trendBarCount=7).
Logic – यह TrendScore कैसे निकलता है?
Recent Candle Analysis:
Indicator अपनी selected window (e.g. पिछले 7 candles) में हर bar check करता है:
अगर bar का close, open से ज्यादा है: उसे bullish मानता है (LongCount +1)
अगर bar का close, open से कम है: उसे bearish मानता है (ShortCount +1)
Neutral candles (close = open) को ignore किया जा सकता है.
Count Store करा जाता है:
LongCount और ShortCount दोनों अलग-अलग number में store होते हैं.
Result Dashboard पर Show होता है:
यानि जैसे जैसे market direction बदलती है, trendScore dynamicaly update होता है.
Table cell में यह pair — “LongCount/ShortCount” — दिखता है.
Trader को Practical Benefit:
Quick Read:
एक हिस्से में कितने bars buyers ने control किया, कितने sellers ने—instantly दिख जाता है.
Market Mood:
अगर Long/Short count बराबर या ज्यादा short है तो समझ जाएं कि trend weak है—WAIT, no trade!
अगर Long बहुत ज्यादा है, short कम—Strong bullish momentum, safe entry; vice-versa bearish.
Beginner Friendly:
खुद manually candle गिनने की जरूरत नहीं—trendScore से हर beginner/confused trader direction clarity पा सकता है.
Strategy Tuning:
Swing, scalping या positional—हर setup के लिए lookback adjust कर सकते हैं, trendScore से फुर्तीला या slow trend देख सकते हैं.
Example:
Suppose आपने trendBarCount = 7,
पिछले 7 bars में 6 bullish, 1 bearish — TrendScore: 6/1 (Strong uptrend!)
अगर 2 long, 5 short — 2/5 (Strong downtrend!)
अगर 3/4, 4/3 — मतलब trend बराबर/sideways — Avoid rash trading.
Dashboard Section: Reason (WHY)
User Parameter / Intent क्या है?
Reason (WHY) user को बिलकुल साफ-साफ बताता है कि अभी dashboard जो trade action बता रहा है (BUY/SELL/WAIT), उसका सबसे बड़ा, सबसे मजबूत कारण क्या है।
यानी — system मुझे entry क्यों दे रहा है? किस filter या logic से ये action निकला?
Logic – Reason कैसे निकलता है? (Simple, Practical Explanation)
सब Active Price Action और Trend दाखिल पढ़ना:
Indicator हर candle पर यह देखता है कि कौन सा signal या filter सबसे ज्यादा powerful काम कर रहा है।
जैसे: unusual breakout (बड़ा range + volume), wick reversal (lower/upper wick extra बड़ा signal), absorption (high vol + special close), strong trend, या expansion candle आदि।
Priority/Order of Reasons:
Code एक-एक करके सबसे potent (ज्यादा weight वाला) reason को check करता है—
सबसे पहले unusual breakout है? तो वही reason।
नहीं, तो wick analysis—वह है तो वही।
ऐसे ही absorption, expansion, strong trend—जैसे जैसे logic pass करता है, first one को ही reason दिखा देता है।
अगर कोई भी खास signal active नहीं, ना trend-score, ना price-action —
Reason: “Wait/No Clear Signal”
Live Reason in Dashboard:
जैसे ही कोई नई candle बनेगी, reason bar/bar auto-update होता है, ताकि हर trade से पहले user को एक line में solid justification मिले।
Trader को Practical Benefit:
Complete Clarity:
आपको instantly पता चल जाएगा —entry मिली तो वह किस price action या trend signal से मिली।
No Blind Trust:
FAITH से नहीं—logic समझ के entry/exit लें।
Beginner या advanced trader—reason भटकेगा नहीं!
System Debug & Learn:
अगर बार-बार रीजन "Wait/No Clear Signal" दिखाए — patience रखें!
और जो भी signal आता है, उसकी price pattern instant chart पर match कर सकते हैं—pattern पहचानना आसान।
Transparency:
System कभी भी hidden logic पे trade फँसाएगा नहीं—सामने reason मिलेगा।
नोट:
Reason (WHY) cell हर trader को ultra-confidence देता है—signal का base, reasoning, और validation हर entry से पहले always ready!
Dashboard के बाकी logic भी चाहिए हों तो बताइए!Dashboard Section: Reason (WHY)
User Parameter / Intent क्या है?
“Reason (WHY)” dashboard cell आपको live बताता है:
इस candle पर trade का जो सिग्नल मिला (BUY/SELL/WAIT), उसका सबसे बड़ा कारण क्या था?
आपको पता चलता है, सिग्नल trend से आया, unusual breakout से, wick analysis से, दबाव या absorption से — या कोई reason ही नहीं, इसलिए WAIT signal।
Logic – कैसे Decide होता है? (आम भाषा में):
सारी Filters और Signals को Check करना:
हर बार system सारे price action filters एक-एक करके देखता है, जैसे:
क्या unusual breakout हुआ? (बहुत बड़ा range और volume)
क्या wick analysis से बार reversal signal मिला?
क्या volumetric absorption signal दिखी?
क्या expansion candle बना?
क्या strong trend pattern मिला?
इन सब signals में जिसे सबसे strong priority मिली है, वही as main reason चुनी जाएगी।
Order of Importance (Priority):
सबसे पहले unusual breakout trigger है? — तो वही.
फिर wick analysis — signal है तो वही.
ऐसे ही absorption, expansion, trend—जिसको पहले logic trigger हुआ उसे reason बना देंगे।
अगर कोई खास signal नहीं तो — “Wait/No Clear Signal”.
Reason Dashboard पर instant update होता है:
जैसे ही candle बनेगी, reason field auto-update — जिससे entry से पहले पता चले “सिग्नल का असली आधार क्या है?”।
Trader को फायदा:
कभी भी “blind trust” या confusion नहीं—हर action का open मनाव “सबूत” मिलता है।
सीखने के लिए — हर signal पर उस price pattern/logic को खुद तुरंत सीख सकेंगे।
प्रो और beginner दोनों — reason देख कर समझ सकते हैं कि कितना weighty/trusted signal मिला है।
अगर बार-बार “Wait/No Clear Signal” दिखे—entry से बचें, patience रखें।
Dashboard Section: TrendScore Long/Short
User Parameter / Intent क्या है?
यह section सीधा-सीधा आपको बताता है कि पिछली X candles (जितनी आपने “Trend Bar Lookback” सेट की है, जैसे 7) में से कितनी bullish बनीं (Long score), और कितनी bearish (Short score)।
फॉर्मैट: LongCount / ShortCount
जैसे: 5 / 2
मतलब: 7 में से 5 bars buyers के हाथ में, 2 bars sellers के।
Logic—कैसे निकलता है? (आसान भाषा में)
Candle-by-Candle Count:
Indicator, कहिए की एक छोटा सा loop चलाता है — पिछली जितनी candles आपने “trendBarCount” में select की उतनी।
हर candle की direction check करता है:
अगर close > open (green) → Long score +1
अगर close < open (red) → Short score +1
Result Store:
जितनी bullish bars मिलीं, उतना “Long”; bearish bars, उतना “Short”।
Table में यह pair साथ में show होता है — जैसे 5/2 या 3/4।
Live Auto-Update:
जैसी नई candle बनेगी, TrendScore update हो जाएगा — market का latest mood instantly दिख जाएगा।
Trader को Practical Benefit:
Instant Trend Strength:
Momentum देखना easy—buyers का domination है या sellers का, या बराबरी।
Trap/Fake Trend से Protection:
अगर Long और Short score करीब-करीब बराबर—market sideways या uncertain, entry avoid कर सकते हैं।
अगर Long बहुत ज्यादा—strong bullish trend (buying signal रिजि्ड बना रहेगा), vice versa short के लिए।
No Manual Count:
Beginner को बिना count किए candles का trend पता चलेगा—झंझट खत्म।
Strategy Tuning:
Aggressive trader small lookback/fast trend tune करें; conservative बड़ा lookback सेट करें—पूरा control!
Examples:
6/1: यानी पिछले 7 bars में 6 बार buyers ने win किया—momentum बहुत strong है!
3/4: दोनों almost same—trend weak या reversal zone, caution रखो।
0/7: केवल sellers, अतिवादी bearish—discipline maintain।
Summary:
TrendScore आपको instantly market के side का “real” हाल बताता है—entry से पहले intuition नहीं, clear number देखकर disciplined decision लो!
क्या है?
ये आपको दिखाता है कि “पिछली जितनी candles आप सेट करोगे” (जैसे 7), उनमें से कितनी bars bullish थीं (long score), कितनी bearish (short score)।
Logic कैसे चलता है?
Indicator हर बार पिछली X candles को देखता है।
अगर कोई bar की closing ऊपर (open से ऊपर) है — उसे bullish मानेगा (long score +1)
अगर नीचे — bearish (short score +1)
सबकी गिनती हो गई —
तो Dashboard में दिख जाएगा,
Example:
6/1 → 6 bullish, 1 bearish (strong uptrend)
2/5 → 2 bullish, 5 bearish (downtrend)
3/4 → बराबर – trend कमजोर है
जैसे-जैसे नई candle बनेगी, यह score भी auto-update रहेगा।
Trader को क्या फायदा?
बिना manually गिने, trend का सही हाल instantly पता लगेगा।
अगर दोनों तरफ का score नज़दीक है (3/4 या 4/3), तो समझो market चक्कर में है—cautious रहो, फंसने का chance।
एक साइड बहुत ज्यादा है (6/1, 7/0)—तो confidence से उसी तरफ entry/की planning करो।
निष्कर्ष:
TrendScore आपका सबसे तेज़, simplest “market mood thermometer” है—trend strong है, weak है या confusing—बस एक cell में दिख जाएगा!
Dashboard Section: Strong Trend (Long/Short)
User Parameter / Intent क्या है?
यह cell आपको तुरंत बताता है कि “अभी market में trend कितना पक्का, मजबूत और reliable है”—
YES (long) /
YES (short)
एक या दोनों side में।
यानी—क्या अभी buyers/sellers का जोर इतना है कि system उसे strong trend माने?
Logic—कैसे Decide होता है? (आसान/practical explaination)
TrendScore Threshold Check:
System सबसे पहले देखता है:
आपके चुने गए window (जैसे trendBarCount = 7) में, bullish या bearish bars का total score trendScoreMin से ज्यादा है या नहीं?
(जैसे min = 5, तो 7 में कम से कम 5 बार एक ही साइड हों।)
Price Position:
सिर्फ count काफी नहीं — check करता है कि अभी price अपनी average से ऊपर (long) या नीचे (short) भी है या नहीं।
Bulls के लिए: closing average से ऊपर
Bears के लिए: closing average से नीचे
Result Assign:
अगर दोनों conditions pass हों (count + average)—
तो “Strong Trend Long” (YES)
या “Strong Trend Short” (YES)
बाकी case में blank/empty यानी कोई strong trend नहीं।
Dashboard Cell:
Display:
अगर दोनों side strong हों: YES/YES
बस long: YES/
बस short: /YES
दोनों empty: /
Trader को Practical Benefit:
Fake move/trap से बचाव:
अगर strong trend नहीं दिखता है तो avoid करें—सिर्फ real momentum पर ही trade करो!
Entry confirmation:
Pro trader इस cell के YES आने पर ही aggressive setup लेता है—otherwise patience/avoid.
Quick Crosscheck:
Beginner को instantly समझ आ जाएगा—buy-side entry only तब लूँ जब YES (long), sell-side तब जब YES (short)
No guess, only discipline:
Trend कमजोर है—धैर्य रखो, system खुद बताएगा कब confident हो!
Examples:
**YES/ ** (Long side full strong trend, short weak)
** /YES** (Short side strong trend, long weak)
YES/YES (Very rare, usually trend reversal moment)
** /** (No strong trend, high risk, wait!)
निष्कर्ष:
Strong Trend cell सिर्फ high-probability, high-momentum setups के लिए GREEN/SIGNAL देता है—बाकी time patience सिखाता है। Trade हमेशा safest, trap से दूर!
Dashboard Section: HTF Vol/Body
User Parameter / Intent क्या है?
यह cell आपको higher time frame (HTF) पे दो चीजें real-time में दिखाता है:
V: (Volume) बड़ी candle पर आया actual volume कितना है
B: (Body %) उस HTF की candle का body percentage कितना है
यानी—market के बड़े trend या reversal के समय unusual volume और candle body size देखकर आप instantly समझ सकते हैं कि कितना मजबूत momentum या move आया।
Logic—कैसे Calculate होता है? (आसान/practical language)
HTF का डेटा उठाओ:
Indicator आपकी chosen विंडो (जैसे 1H, 4H) की candle को देखता है—उसका volume (V), open, close, high, low values।
Volume Calculation (V):
V: सिर्फ current HTF candle का volume ही नहीं दिखाता,
बल्कि पताि लेता है percentile logic के हिसाब से unusual/highest volume का adaptive average क्या है।
Compare भी करता है: क्या अभी volume “normal से बहुत बड़ा” है (यानी big move possible)?
Body Percentage (B):
B: Candle body (open-close) को पूरे candle ke range (high-low) से percentage में निकालता है:
जितना यह % ज्यादा, उतना momentum मांगा जाता है!
यानी, छोटी body = indecisive, बड़ी body = strong trend bar.
Dashboard Cell:
Show करता है:
“V: actual-vol / B: actual-body%”
Live auto-update होता है हर नई candle पे।
Trader को Practical Benefit:
Big Players का Action Quickly देखना:
अगर किसी HTF candle पे असामान्य volume या बड़ी body% दिखे, आप तुरंत समझ सकते हैं—market में institutions, big money एक्टिव है, breakout/trend reversal का chance ज्यादा है।
Trap & Fakeout Avoidance:
Low volume or low body% = sideways या fake move, entry avoid करें।
बहुत high volume + big body% = real break, momentum, safe entry!
Strategy Adaptation:
Swing, positional, or multiday trades के लिए, high volume/body% वाले candle का इंतजार ही आपके setup को next-level safe बना देगा।
Examples:
V: 152000 / B: 85.4 → HTF पे high unusual volume और body भी strong (great signal for big move)
V: 34000 / B: 12 → Volume low, body% छोटा (avoid, sideways/trap move possible)
V: 90000 / B: 35 → Normal volume, average trend; no urgent action
Summary:
HTF Vol/Body आपको instantly बताता है कि market में real action हो रहा है या noise; entry, exit या wait—all decision one glance में तय!
30 Min Pivot Enhanced# 30 Min Pivot Enhanced
The **30 Min Pivot Enhanced** indicator detects pivot reversals and potential buy/sell signals on the 30-minute timeframe. It combines streak-based trend exhaustion with pivot breakouts and optional flush (capitulation) candle detection.
## Core Logic
- Trend streaks: pivots form after consecutive same-color candles (`trendLength`)
- Flush detection: oversized red candles (ATR based) flagged as potential exhaustion
- Pivot candidates:
- Bullish → after a red streak (or flush) followed by a green candle
- Bearish → after a green streak followed by a red candle
- Confirmation: price must break pivot high/low within `maxBarsAfterPivot`
## Inputs
- Consecutive Trend Candles → streak length required for pivot
- Maximum Bars After Pivot → confirmation window
- Show Pivot Lines → toggle pivot levels on chart
- Flush Detection → ATR-based capitulation detection
- Flush Lookback → how many bars to keep flush valid
- Enable Buy/Sell Alerts → toggle trade alerts
## Visuals
- Buy pivots → green "P Buy" labels under price
- Sell pivots → red pivot lines at lows (if enabled)
- Flush markers → optional debug labels showing capitulation bars
## Alerts
- Buy Alert → price breaks above pivot high
- Sell Alert → price breaks below pivot low
---
Best for traders watching **30-minute reversal plays**, especially where exhaustion or flush candles precede a breakout.
Fractal Model [Free+] (T-Trades)Fractal Model - Higher Timeframe Analysis Tool
Advanced higher timeframe candle visualization with T-spot identification, sweep detection, and multi-timeframe price action analysis.
Introduction:
The Fractal Model is a Pine Script indicator that provides advanced higher timeframe (HTF) candle visualization and analysis. It identifies key price action patterns including T-spots, sweep signals, and imbalance zones to help traders understand market structure across multiple timeframes.
Description:
The Fractal Model analyzes price action by creating higher timeframe candles on your current chart, allowing you to see HTF structure without switching timeframes. It identifies specific price action patterns that often precede significant moves, including T-spot formations, sweep confirmations, and fair value gaps.
The indicator uses logarithmic midpoint calculations and pivot detection algorithms to identify high-probability entry and exit points. It automatically detects appropriate higher timeframes based on your current chart timeframe and provides real-time analysis of price action patterns.
Key Features:
Higher Timeframe Candle Visualization: Automatically creates higher timeframe candles on your current chart, allowing you to see HTF structure without switching timeframes. Supports up to 6 different HTF levels with automatic timeframe detection.
T-Spot Identification: Identifies T-spot formations using logarithmic midpoint calculations. T-spots mark areas where price is likely to form wicks based on specific price action patterns including sweep conditions and close position analysis.
Sweep Detection: Detects when price sweeps previous highs or lows but closes on the opposite side, creating potential reversal zones. Includes both high sweeps and low sweeps with visual confirmation lines.
Fair Value Gap (FVG) Detection: Identifies gaps between candle ranges where price didn't trade, creating potential support/resistance zones. Uses three-candle pattern analysis to detect imbalance areas.
Volume Imbalance Detection: Identifies areas where price action shows volume imbalance between consecutive candles, indicating potential continuation or reversal zones.
T-Spot Sweep Confirmation: Advanced confirmation system that requires pivot formation before T-spot touch, then close beyond the pivot level to confirm sweep signals.
TTFM Labeling System: Dynamic labeling system that tracks setup validity with C2, C3, and C4 labels indicating different types of T-spot formations and their confirmation status.
How the Code Works:
1. Higher Timeframe Detection:
The indicator automatically determines appropriate HTF based on your current chart:
- 1m charts: 15m HTF
- 3m charts: 30m HTF
- 5m charts: 1h HTF
- 15m charts: 4h HTF
- 30m-1h charts: 1D HTF
- 4h-8h charts: 1W HTF
- 1D charts: 1M HTF
2. T-Spot Calculation Algorithm:
T-spots are identified using logarithmic midpoint calculations combined with pivot-based logic:
- Calculates log midpoint = exp((log(high) + log(low)) / 2) for wick analysis
- Identifies sweep conditions: high > prev_high AND close < prev_high (bearish) or low < prev_low AND close > prev_low (bullish)
- Creates T-spot zones based on close position relative to logarithmic midpoint
- **Core Logic**: All T-spot formations are based on pivot creation patterns where price sweeps previous levels but closes on the opposite side, creating potential reversal zones
3. Sweep Detection Logic:
The code detects sweeps using pivot analysis:
- Uses ta.pivothigh() and ta.pivotlow() with 1,2 parameters for pivot detection
- Confirms sweeps when: pivot forms before T-spot touch AND close breaks beyond pivot level
- Tracks pivot levels and bars for confirmation validation
- **Pivot-Based Foundation**: The entire system is built on pivot creation logic - T-spots form when price creates pivots by sweeping previous levels but closing opposite, indicating potential reversal points
4. Fair Value Gap Detection:
FVG identification uses three-candle pattern analysis:
- Candle1.l > Candle2.h AND min(Candle1.o, Candle1.c) > max(Candle2.o, Candle2.c) for bullish FVG
- Candle1.h < Candle2.l AND max(Candle1.o, Candle1.c) < min(Candle2.o, Candle2.c) for bearish FVG
5. Visual Rendering System:
Uses array-based object management:
- Clears and redraws all visual elements on each bar
- Manages HTF candles, T-spots, sweeps, and labels using separate arrays
- Implements cleanup logic to prevent memory overflow
6. Pivot-Based T-Spot Types:
The indicator identifies several T-spot patterns based on pivot creation:
- **Standard T-Spots**: Price sweeps previous high/low but closes opposite, creating pivot
- **Expansive T-Spots**: Previous candle sweeps, current candle expands and closes beyond sweep level
- **Pro-trend T-Spots**: Price sweeps logarithmic midpoint but closes beyond previous levels
- **Silver T-Spots**: Special T-spots during specific market hours (4th-5th candle of day)
- All patterns require pivot formation through sweep-and-close logic for validation
Usage Guidance:
Add the Fractal Model indicator to your TradingView chart
Configure HTF settings and T-spot bias preferences
Adjust visual customization options to match your trading style
Monitor T-spot formations and sweep confirmations for entry signals
Trading Applications:
T-Spot Trading:
- Look for T-spot formations on higher timeframes
- Wait for price to touch T-spot levels
- Enter on sweep confirmation with proper pivot validation
- Use T-spot levels as support/resistance zones
Sweep Trading:
- Identify sweep patterns where price breaks previous highs/lows but closes opposite
- Use sweep levels as potential reversal zones
- Combine with T-spot analysis for higher probability setups
Fair Value Gap Trading:
- Trade FVG fills as price returns to imbalance areas
- Use FVG levels as support/resistance zones
- Combine with higher timeframe structure for context
Technical Specifications:
- Compatible with Pine Script v6
- Non-repainting indicator
- Supports all timeframes with automatic HTF detection
- Memory-efficient array management
- Real-time T-spot and sweep detection
- Customizable visual elements and colors
Disclaimer:
This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always conduct your own research and risk management before making trading decisions.
Buy & Sell Side Liquidity Lines (v6) — fixedIndicator for trading view which show buyside liquidity line and sell side liquidity line in real time on chart
Market Dynamics Engine (Revention)// | An All-in-One Market Analysis Suite |
// | |
// | This script provides a holistic view of the market by unifying a |
// | dynamic trend engine, an advanced market structure analysis module,|
// | and a multi-oscillator confluence system for identifying |
// | potential exhaustion points. |
// | |
// | This professional-grade tool features an adaptive trend ribbon, |
// | predictive liquidity targets, and high-probability POI confluence |
// | markers for a complete analytical experience.
Multi-Timeframe EMA Analysis SuiteThis comprehensive multi-timeframe moving average analysis tool provides systematic trend evaluation across five configurable timeframes with advanced kernel regression envelope technology for dynamic boundary detection.
Core Innovation - Multi-Timeframe EMA System:
The primary functionality displays multiple exponential moving averages (9, 21, 30, 50, 100, 200), weighted moving average (14), and simple moving average (200) across customizable timeframes including 1H, 4H, Daily, Weekly, and Monthly periods. Each timeframe and moving average can be individually enabled or disabled based on analysis requirements.
Advanced Features:
Intelligent label positioning algorithms with automatic overlap prevention across multiple timeframes
Dynamic offset calculation maintaining readability when price levels converge
Comprehensive data table displaying all moving average values with color-coded formatting
Real-time market status evaluation categorizing conditions from "Strong Bullish" to "Strong Bearish"
Performance-optimized rendering with adjustable detail controls
Technical Implementation:
Built using Pine Script v6 with optimized multi-timeframe security requests through tuple-based data retrieval
The system implements efficient memory management and dynamic table systems for responsive chart performance during complex multi-timeframe calculations
Original developments include intelligent label spacing algorithms, dynamic offset management across timeframes, and comprehensive market status evaluation logic using moving average alignment principles
Enhanced Envelope System:
Incorporates and significantly extends the kernel regression envelope concept originally developed by LuxAlgo in their Nadaraya-Watson Envelope indicator. The mathematical foundation uses Gaussian weighting functions with substantial implementation improvements:
Complete redesign using optimized polyline rendering system for superior performance
Addition of center line calculation and visualization not present in the original
Performance optimization controls with adjustable detail levels
Enhanced label management with real-time value displays
Seamless integration with multi-timeframe analysis capabilities
Configuration Options:
Complete customization including timeframe selection, moving average lengths, envelope parameters, label positioning, table sizing, and visual styling. Users can create personalized analysis setups tailored to specific trading timeframes and analytical preferences.
Practical Applications:
Suitable for trend confirmation across multiple timeframes, identification of dynamic support and resistance levels, multi-timeframe market structure analysis, and systematic market direction evaluation
The combination of traditional moving averages with adaptive envelope boundaries provides both classical technical analysis and modern algorithmic boundary detection
Usage Instructions:
Enable desired timeframes and moving averages based on your analysis period
The envelope provides dynamic support/resistance levels while moving averages indicate directional bias. Use repainting mode for current analysis or non-repainting mode for consistent historical signals. Adjust performance settings based on system requirements and analysis detail needs
Educational Purpose:
This indicator is designed for educational and analytical purposes. Users should conduct thorough testing and validation before incorporating this tool into trading decisions.
ADI TICK ExtremeZones 2This is an updated version of the TICK Extreme Zones Indicator Overlay.
What’s new in v2?
- Simplified panel: Metric | Value (cleaner layout, fast read).
- Optional TRIN row (rule of thumb: <~0.8 bullish, >~1.2 bearish).
John Carter uses TRIN (Arms Index) alongside TICK and ADD as part of his
“market internals” read. A low TRIN (<0.8) confirms strong breadth and upside
momentum when paired with positive TICK/ADD. A high TRIN (>1.2) warns of
heavy downside pressure, especially when TICK/ADD are negative. Around 1.0
is neutral/no strong tilt.
Carter also watches today’s TRIN relative to the prior day’s close:
• Opening below the prior TRIN close (esp. <1.0) = bullish breadth carryover.
• Opening above the prior TRIN close (esp. >1.2) = bearish pressure carryover.
• Reverting toward ~1.0 = balanced/choppy conditions.
Optional VOLD row (shown only during the last trading hour).
ORB Window (adjustable): opening-range band with shaded zone + dotted High/Low lines.
ORB breakout alerts on ORB High/Low (toggleable).
Table Text Size input to choose tiny/small/normal/large/huge.
All extras OFF by default; hidden rows render transparent.
ORB concept nods to John Carter’s approach: he emphasizes the first 30 minutes
of RTH (opening range) combined with internals like TICK, ADD, TRIN (with prior
close context), and VOLD to gauge market breadth and conviction before trend setups.
Panel layout (columns →, rows ↓)
Metric | TICK | ADD | TRIN* | VOLD*
Value | tick | add | trin* | vold*
*TRIN and VOLD columns are hidden unless enabled (VOLD only shows during the last trading hour)
Zones (same as v1)
+1000 (Dark Blue), +800/+600 (Light Blue) | −1000 (Red), −800/−600 (Yellow)
Quiet-zone coloring on TICK Value: > +200 green, < −200 red, else gray
Notes
- ORB times use US market hours (ET); you can set the ORB length (minutes).
- TRIN feed uses “TRIN.US” by default (adjust if necessary).
- Use the panel as a fast read on internals: TICK extremes, ADD sign/tilt, optional TRIN/VOLD.
- Pair with structure and risk management.
RSI by Tamil harmonic trader rajRSI indicator - will display RSI value in the middle right chart as per timeframe
Quantile Regression Bands [BackQuant]Quantile Regression Bands
Tail-aware trend channeling built from quantiles of real errors, not just standard deviations.
What it does
This indicator fits a simple linear trend over a rolling lookback and then measures how price has actually deviated from that trend during the window. It then places two pairs of bands at user-chosen quantiles of those deviations (inner and outer). Because bands are based on empirical quantiles rather than a symmetric standard deviation, they adapt to skewed and fat-tailed behaviour and often hug price better in trending or asymmetric markets.
Why “quantile” bands instead of Bollinger-style bands?
Bollinger Bands assume a (roughly) symmetric spread around the mean; quantiles don’t—upper and lower bands can sit at different distances if the error distribution is skewed.
Quantiles are robust to outliers; a single shock won’t inflate the bands for many bars.
You can choose tails precisely (e.g., 1%/99% or 5%/95%) to match your risk appetite.
How it works (intuitive)
Center line — a rolling linear regression approximates the local trend.
Residuals — for each bar in the lookback, the indicator looks at the gap between actual price and where the line “expected” price to be.
Quantiles — those gaps are sorted; you select which percentiles become your inner/outer offsets.
Bands — the chosen quantile offsets are added to the current end of the regression line to draw parallel support/resistance rails.
Smoothing — a light EMA can be applied to reduce jitter in the line and bands.
What you see
Center (linear regression) line (optional).
Inner quantile bands (e.g., 25th/75th) with optional translucent fill.
Outer quantile bands (e.g., 1st/99th) with a multi-step gradient to visualise “tail zones.”
Optional bar coloring: bars trend-colored by whether price is rising above or falling below the center line.
Alerts when price crosses the outer bands (upper or lower).
How to read it
Trend & drift — the slope of the center line is your local trend. Persistent closes on the same side of the center line indicate directional drift.
Pullbacks — tags of the inner band often mark routine pullbacks within trend. Reaction back to the center line can be used for continuation entries/partials.
Tails & squeezes — outer-band touches highlight statistically rare excursions for the chosen window. Frequent outer-band activity can signal regime change or volatility expansion.
Asymmetry — if the upper band sits much further from the center than the lower (or vice versa), recent behaviour has been skewed. Trade management can be adjusted accordingly (e.g., wider take-profit upslope than downslope).
A simple trend interpretation can be derived from the bar colouring
Good use-cases
Volatility-aware mean reversion — fade moves into outer bands back toward the center when trend is flat.
Trend participation — buy pullbacks to the inner band above a rising center; flip logic for shorts below a falling center.
Risk framing — set dynamic stops/targets at quantile rails so position sizing respects recent tail behaviour rather than fixed ticks.
Inputs (quick guide)
Source — price input used for the fit (default: close).
Lookback Length — bars in the regression window and residual sample. Longer = smoother, slower bands; shorter = tighter, more reactive.
Inner/Outer Quantiles (τ) — choose your “typical” vs “tail” levels (e.g., 0.25/0.75 inner, 0.01/0.99 outer).
Show toggles — independently toggle center line, inner bands, outer bands, and their fills.
Colors & transparency — customize band and fill appearance; gradient shading highlights the tail zone.
Band Smoothing Length — small EMA on lines to reduce stair-step artefacts without meaningfully changing levels.
Bar Coloring — optional trend tint from the center line’s momentum.
Practical settings
Swing trading — Length 75–150; inner τ = 0.25/0.75, outer τ = 0.05/0.95.
Intraday — Length 50–100 for liquid futures/FX; consider 0.20/0.80 inner and 0.02/0.98 outer in high-vol assets.
Crypto — Because of fat tails, try slightly wider outers (0.01/0.99) and keep smoothing at 2–4 to tame weekend jumps.
Signal ideas
Continuation — in an uptrend, look for pullback into the lower inner band with a close back above the center as a timing cue.
Exhaustion probe — in ranges, first touch of an outer band followed by a rejection candle back inside the inner band often precedes mean-reversion swings.
Regime shift — repeated closes beyond an outer band or a sharp re-tilt in the center line can mark a new trend phase; adjust tactics (stop-following along the opposite inner band).
Alerts included
“Price Crosses Upper Outer Band” — potential overextension or breakout risk.
“Price Crosses Lower Outer Band” — potential capitulation or breakdown risk.
Notes
The fit and quantiles are computed on a fixed rolling window and do not repaint; bands update as the window moves forward.
Quantiles are based on the recent distribution; if conditions change abruptly, expect band widths and skew to adapt over the next few bars.
Parameter choices directly shape behaviour: longer windows favour stability, tighter inner quantiles increase touch frequency, and extreme outer quantiles highlight only the rarest moves.
Final thought
Quantile bands answer a simple question: “How unusual is this move given the current trend and the way price has been missing it lately?” By scoring that question with real, distribution-aware limits rather than one-size-fits-all volatility you get cleaner pullback zones in trends, more honest “extreme” tags in ranges, and a framework for risk that matches the market’s recent personality.
ADX + DMI (Manual / Wilder) — MehmetThis script provides a customizable ADX + DMI indicator based on both Manual and Wilder’s calculation methods.
It helps traders measure trend strength and direction with greater flexibility.
Features:
- Adjustable ADX smoothing method (Manual or Wilder)
- +DI and -DI line visualization
- Clear trend strength signals
- Works across all timeframes
Useful for identifying when a trend is strong enough to follow or weak enough to avoid.
TPO Levels [VAH/POC/VAL]Poor H/L, Single Prints& Naked POCs
🎯 Key Features
📊 Multi-Timeframe Market Profile
Daily, Weekly, and Monthly session analysis
Automatic session detection and profile calculation
Historical session preservation up to 20 sessions
📈 Value Area Analysis
Value Area High (VAH) - Upper boundary of 70% activity
Point of Control (POC) - Most traded price level
Value Area Low (VAL) - Lower boundary of 70% activity
Visual Value Area box with customizable transparency
🎯 Naked Points of Control (nPOC)
Daily nPOC tracking with orange lines
Weekly nPOC (WnPOC) visible on all timeframes
Monthly nPOC (MnPOC) visible on all timeframes
Smart POC combining for nearby levels (reduces clutter)
Auto-removal when price touches naked POC
🟪 Single Print Detection
Daily single prints - Purple boxes
Weekly single prints - Blue boxes (persist on daily charts)
Monthly single prints - Teal boxes (persist on daily charts)
Automatic removal upon price touch
Extend right for active monitoring
⚠️ Poor Structure Identification
Poor Highs - Weak resistance (2+ TPOs at high)
Poor Lows - Weak support (2+ TPOs at low)
Pink dashed lines for easy identification
Historical poor structure tracking
Auto-removal when price breaks structure
🔥 Market Generated Information
Buying/Selling tail detection (disabled by default)
Previous session VAH/POC/VAL levels
Clean professional appearance
Minimal chart clutter design
*Default settings were set for BINANCE:BTCUSDT.P
My kind regards to those who sell this indicator for a monthly subscription 😊
LBM-Strategy Engine Pro: The Ultimate Confluence IndicatorOverview
Welcome to the Strategy Engine Pro , the ultimate confluence indicator designed for traders who demand precision and full control over their trading signals. This is not just an indicator; it is a complete, customizable strategy-building framework.
It seamlessly integrates three powerful concepts into a single, intuitive tool:
Advanced Moving Average Trend Analysis to define the market context.
An intelligent Support & Resistance Cycle Engine to identify key price levels.
A flexible 10-rule Strategy Builder that lets you design, test, and refine your own entry signals with surgical precision.
Core Features
1. Advanced Moving Average Trend Analysis
The indicator plots 5 fully configurable Moving Averages (MAs). You can choose the Period and Type (SMA, EMA, WMA, HMA, RMA) for each one. But its true power lies in its unique color-coding system, which analyzes the slope and momentum of each MA, not just its price.
MA Color Code:
Green: The MA is in a strong, confirmed uptrend.
Red: The MA is in a strong, confirmed downtrend.
Yellow: The MA is flat or in a transitional (sideways) phase.
This provides an instant visual snapshot of the market trend across five different timeframes.
2. Support & Resistance Cycle Engine
Forget simple pivot points. This indicator incorporates a sophisticated engine that identifies and plots significant "Master Cycle" levels on your chart.
Anchored Levels: These S/R lines are persistent and intelligent. When a key resistance level is broken, it automatically "flips" and becomes the new anchored support level, and vice-versa. This accurately maps out the market's structural progression.
The Strategy Builder: Your Personal Trading Lab
This is the heart of the indicator. You have 10 sequential rules that allow you to define the exact conditions for a Buy signal. The Sell signal is generated as the logical, symmetrical opposite.
For each rule, you can configure:
Source A & Source B: Choose from a wide range of data points:
Price values: Close, Open, High, Low.
Previous candle values: Close Before, Open Before, etc.
Moving Average values: MA 1 through MA 5.
MA Trend Colors: MA 1 Color, MA 2 Color Before, etc.
Operator: Define the comparison logic:
Standard: >, <, >=, <=
Events: Crossover, Crossunder
Color Logic: Is Color, Is NOT Color, Turned Color, Ceased to be Color
Important Note on Sell Signals: Sell conditions are designed to be the symmetrical opposite of the buy conditions you create.
If Buy is Close > MA 1, Sell will be Close < MA 1.
If Buy is MA 1 Color Is Green, Sell will be MA 1 Color Is Red.
If Buy is MA 1 Color Turned Green, Sell will be MA 1 Color Turned Red.
This ensures your sell strategy mirrors the logic of your buy strategy, preventing the "inverse problem" of getting sell signals on every candle that isn't a buy signal.
Mastering the Connectors: ( ) AND and ( ) OR
The true power of the Strategy Builder lies in its connectors, which allow you to create complex, multi-layered logic. The connector on a rule defines how it connects to the next active rule.
AND & OR: These work as you'd expect, creating a continuous chain of conditions.
Rule 1 (AND) & Rule 2 is evaluated as (R1 AND R2).
( ) OR (The Group Separator): This is your most powerful tool. It acts like closing a parenthesis in an equation. It finalizes the current group of rules and connects it to the
next group with a big "OR".
Example: (R1 AND R2) OR (R3 AND R4)
This creates two possible paths for a signal.
- Rule 1: Condition R1, Connector AND
- Rule 2: Condition R2, Connector ( ) OR <-- This closes the first group and links to the next with OR.
- Rule 3: Condition R3, Connector AND
- Rule 4: Condition R4
( ) AND (The Super-Filter): This allows you to create a "master" condition that must be true in addition to other complex conditions.
Example: (R1 OR R2) AND (R3 OR R4)
This requires a condition from the first group and a condition from the second group to be true.
- Rule 1: Condition R1, Connector OR
- Rule 2: Condition R2, Connector ( ) AND <-- This closes the first OR group and links to the next with AND.
- Rule 3: Condition R3, Connector OR
- Rule 4: Condition R4
By strategically combining these connectors, you can build any logical trading scenario you can imagine. We look forward to seeing the powerful strategies the community creates with this engine.
Complexity v3.2Complex Trend Analyzer v6.1 v3.2
Advanced multi-indicator trend analysis with dynamic timeframe adaptation!
Overview:
This sophisticated indicator combines multiple technical analysis tools for comprehensive trend analysis. It features EMA crossovers, RSI momentum, MACD signals, Bollinger Bands, volume analysis, divergence detection, and multi-timeframe analysis with dynamic parameter adaptation based on market volatility.
Key Features:
✅ Multi-Indicator Analysis - EMA, RSI, MACD, Bollinger Bands, Volume, ATR
✅ Divergence Detection - Bullish and bearish divergence with strength calculation
✅ Dynamic Timeframe Adaptation - Parameters adjust automatically based on timeframe
✅ Trend Tracking - Complete trend lifecycle with BUY/SELL/END signals
✅ Multi-Timeframe Analysis - M5, M15, M30 trend comparison
✅ Risk Management - Volatility filtering and warning system
✅ Visual Clarity - Clean labels, trend lines, and information table
How It Works:
The indicator uses a weighted scoring system:
• EMA (2.0) - Primary trend direction
• RSI (1.5) - Momentum confirmation
• MACD (1.5) - Trend momentum
• Bollinger Bands (1.0) - Volatility context
• Volume (1.0) - Volume confirmation
• Price Action (0.5 each) - Higher highs/lows
Signal Logic:
• BUY - Weighted score > threshold + filters passed
• SELL - Weighted score > threshold + filters passed
• END - Trend reversal conditions met
Visual Elements:
• 🟢 BUY - Green label with trend tracking
• 🔴 SELL - Red label with trend tracking
• ⚫ END - Gray label marking trend end
• × BUY - Green crosses for bullish divergence
• × SELL - Red crosses for bearish divergence
• ⚠️ - Warning signals for trend reversals
Information Table:
Real-time display showing:
• ATR volatility with signal (HIGH/MED/LOW/NORMAL VOL)
• Divergence status with strength percentage
• BUY/SELL signal count and overall signal
• Multi-Timeframe analysis (M5, M15, M30)
• Current trend with strength percentage
• Detailed trend strength analysis
Dynamic Adaptation:
Parameters automatically adjust based on timeframe:
• M1 - Fastest reaction (1.5-7.5 bars)
• M3 - Quick response (2-10 bars)
• M5 - Standard setting (3-15 bars)
• M15 - Slower, more reliable (4-20 bars)
Settings:
• EMA - Fast (9), Slow (21), Trend (50)
• RSI - Length (14), Overbought (70), Oversold (30)
• MACD - Fast (12), Slow (26), Signal (9)
• Bollinger Bands - Length (20), Multiplier (2.0)
• ATR - Length (14) for volatility measurement
• Volume Threshold - 1.5x average volume
Best Practices:
🎯 Works best in trending markets
📊 Use as overlay on main chart
⚡ Combine with price action analysis
🛡️ Always use proper risk management
🔍 Watch for divergence signals
⚠️ Pay attention to warning signals
Pro Tips:
• Green background = Strong uptrend, Red background = Strong downtrend
• Orange background = Risk zone (high volatility/RSI extremes)
• × marks indicate divergence opportunities
• ⚠️ warnings signal potential trend reversals
• Use multi-timeframe analysis for confirmation
• Monitor the information table for comprehensive market view
Alerts:
• BUY Alert - "BUY signal detected"
• SELL Alert - "SELL signal detected"
• Divergence Alert - "Divergence detected"
• Warning Alert - "Trend warning"
Version 3.2 Improvements:
• Enhanced multi-indicator analysis
• Improved divergence detection with strength calculation
• Advanced dynamic timeframe adaptation
• Comprehensive risk management system
• Professional visual presentation
• Weighted scoring system for better accuracy
Created with ❤️ for the trading community
This indicator is free to use for both commercial and non-commercial purposes.
Shadow Mimicry🎯 Shadow Mimicry - Institutional Money Flow Indicator
📈 FOLLOW THE SMART MONEY LIKE A SHADOW
Ever wondered when the big players are moving? Shadow Mimicry reveals institutional money flow in real-time, helping retail traders "shadow" the smart money movements that drive market trends.
🔥 WHY SHADOW MIMICRY IS DIFFERENT
Most indicators show you WHAT happened. Shadow Mimicry shows you WHO is acting.
Traditional indicators focus on price movements, but Shadow Mimicry goes deeper - it analyzes the relationship between price positioning and volume to detect when large institutional players are accumulating or distributing positions.
🎯 The Core Philosophy:
When price closes near highs with volume = Institutions buying
When price closes near lows with volume = Institutions selling
When neither occurs = Wait and observe
📊 POWERFUL FEATURES
✨ 3-Zone Visual System
🟢 BUY ZONE (+20 to +100): Institutional accumulation detected
⚫ NEUTRAL ZONE (-20 to +20): Market indecision, wait for clarity
🔴 SELL ZONE (-20 to -100): Institutional distribution detected
🎨 Crystal Clear Visualization
Background Colors: Instantly see market sentiment at a glance
Signal Triangles: Precise entry/exit points when zones are breached
Real-time Status Labels: "BUY ZONE" / "SELL ZONE" / "NEUTRAL"
Smooth, Non-Repainting Signals: No false hope from future data
🔔 Smart Alert System
Buy Signal: When indicator crosses above +20
Sell Signal: When indicator crosses below -20
Custom TradingView notifications keep you informed
🛠️ TECHNICAL SPECIFICATIONS
Algorithm Details:
Base Calculation: Modified Money Flow Index with enhanced volume weighting
Smoothing: EMA-based smoothing eliminates noise while preserving signals
Range: -100 to +100 for consistent scaling across all markets
Timeframe: Works on all timeframes from 1-minute to monthly
Optimized Parameters:
Period (5-50): Default 14 - Perfect balance of sensitivity and reliability
Smoothing (1-10): Default 3 - Reduces false signals while maintaining responsiveness
📚 COMPREHENSIVE TRADING GUIDE
🎯 Entry Strategies
🟢 LONG POSITIONS:
Wait for indicator to cross above +20 (green triangle appears)
Confirm with background turning green
Best entries: Early in uptrends or after pullbacks
Stop loss: Below recent swing low
🔴 SHORT POSITIONS:
Wait for indicator to cross below -20 (red triangle appears)
Confirm with background turning red
Best entries: Early in downtrends or after rallies
Stop loss: Above recent swing high
⚡ Exit Strategies
Profit Taking: When indicator reaches extreme levels (±80)
Stop Loss: When indicator crosses back to neutral zone
Trend Following: Hold positions while in favorable zone
🔄 Risk Management
Never trade against the prevailing trend
Use position sizing based on signal strength
Avoid trading during low volume periods
Wait for clear zone breaks, avoid boundary trades
🎪 MULTI-TIMEFRAME MASTERY
📈 Scalping (1m-5m):
Period: 7-10, Smoothing: 1-2
Quick reversals in Buy/Sell zones
High frequency, smaller targets
📊 Day Trading (15m-1h):
Period: 14 (default), Smoothing: 3
Swing high/low entries
Medium frequency, balanced risk/reward
📉 Swing Trading (4h-1D):
Period: 21-30, Smoothing: 5-7
Trend following approach
Lower frequency, larger targets
💡 PRO TIPS & ADVANCED TECHNIQUES
🔍 Market Context Analysis:
Bull Markets: Focus on buy signals, ignore weak sell signals
Bear Markets: Focus on sell signals, ignore weak buy signals
Sideways Markets: Trade both directions with tight stops
📈 Confirmation Techniques:
Volume Confirmation: Stronger signals occur with above-average volume
Price Action: Look for breaks of key support/resistance levels
Multiple Timeframes: Align signals across different timeframes
⚠️ Common Pitfalls to Avoid:
Don't chase signals in the middle of zones
Avoid trading during major news events
Don't ignore the overall market trend
Never risk more than 2% per trade
🏆 BACKTESTING RESULTS
Tested across 1000+ instruments over 5 years:
Win Rate: 68% on daily timeframe
Average Risk/Reward: 1:2.3
Best Performance: Trending markets (crypto, forex majors)
Drawdown: Maximum 12% during 2022 volatility
Note: Past performance doesn't guarantee future results. Always practice proper risk management.
🎓 LEARNING RESOURCES
📖 Recommended Study:
Books: "Market Wizards" for institutional thinking
Concepts: Volume Price Analysis (VPA)
Psychology: Understanding smart money vs. retail behavior
🔄 Practice Approach:
Demo First: Test on paper trading for 2 weeks
Small Size: Start with minimal position sizes
Journal: Track all trades and signal quality
Refine: Adjust parameters based on your trading style
⚠️ IMPORTANT DISCLAIMERS
🚨 RISK WARNING:
Trading involves substantial risk of loss
Past performance is not indicative of future results
This indicator is a tool, not a guarantee
Always use proper risk management
📋 TERMS OF USE:
For personal trading use only
Redistribution or modification prohibited
No warranty expressed or implied
User assumes all trading risks
💼 NOT FINANCIAL ADVICE:
This indicator is for educational and analytical purposes only. Always consult with qualified financial advisors and trade responsibly.
🛡️ COPYRIGHT & CONTACT
Created by: Luwan (IMTangYuan)
Copyright © 2025. All Rights Reserved.
Follow the shadows, trade with the smart money.
Version 1.0 | Pine Script v5 | Compatible with all TradingView accounts
BASE - Consolidation with Fractal BreakoutsHow It Works
This indicator analyzes historical price data to find periods where the market is trading within a relatively tight range, which is a key characteristic of consolidation. Once a consolidation period is identified, it draws a channel showing the upper and lower price boundaries. The indicator then looks for a breakout, which is a significant price movement beyond these boundaries.
Fractal Breakouts: The script uses a fractal-based approach to confirm breakouts. A fractal is a specific price pattern that marks a high or low point in the market. The code identifies a breakout when the price breaks above a previous fractal high (an upward breakout) or below a previous fractal low (a downward breakout).
Visual Elements: The indicator provides several visual cues to help traders:
Consolidation Zone: It shades the area between the high and low of the consolidation period to make it visually distinct.
Boundary Lines: It draws dashed lines marking the high and low prices of the consolidation range.
Middle Line: An optional line is displayed at the 50% mark of the consolidation range.
Breakout Symbols: It places up (⬆) or down (⬇) arrow symbols on the chart to indicate the direction of a confirmed breakout.
Candle Colors: It can optionally color the price candles themselves to signal a breakout.
Alerts: The script is configured to trigger an alert when a breakout occurs, notifying the user.
Customization
The script offers several user-configurable settings to tailor its behavior, which are accessed through the indicator's settings menu:
Loopback Period: Controls the number of past bars the indicator looks at to identify price fractals.
Min Consolidation Length: Sets the minimum number of bars required to define a valid consolidation period.
Paint Consolidation Area: A toggle to show or hide the shaded consolidation zone.
Show Fractal Breakout Symbols: A toggle to show or hide the breakout symbols.
Show Middle Price Line: A toggle to show or hide the middle price line.
Color Candles on Breakout: A toggle to enable or disable coloring the candles during a breakout.
This tool is useful for traders who employ breakout strategies, as it automates the process of identifying potential entry and exit points after a period of market indecision.
Ohm Horizontal line//@version=5
indicator("Ohm Horizontal line", overlay=true)
// Input parameters
atrPeriod = input.int(14, "ATR Period", minval=1)
atrMultiplier = input.float(1.0, "ATR Multiplier", step=0.1)
numLevels = input.int(10, "Number of Levels (each side)", minval=1)
lineWidth = input.int(1, "Line Width", minval=1, maxval=4)
labelOffset = input.int(20, "Label Offset", minval=0)
// Calculate daily ATR
dailyAtr = request.security(syminfo.tickerid, "D", ta.atr(atrPeriod))
// Function to get rounded price based on ATR
getRoundedPrice(price, atrValue) =>
math.round(price / (atrValue * atrMultiplier)) * (atrValue * atrMultiplier)
// Calculate center price (current close rounded to nearest ATR multiple)
centerPrice = getRoundedPrice(close, dailyAtr)
// Create arrays for price levels
var float levels = array.new_float(2 * numLevels + 1)
var float midLevels = array.new_float(2 * numLevels)
// Update price levels
updateLevels() =>
array.set(levels, numLevels, centerPrice)
for i = 1 to numLevels
upperLevel = centerPrice + i * dailyAtr * atrMultiplier
lowerLevel = centerPrice - i * dailyAtr * atrMultiplier
array.set(levels, numLevels + i, upperLevel)
array.set(levels, numLevels - i, lowerLevel)
// Calculate mid levels
if i > 1
upperMid = (array.get(levels, numLevels + i) + array.get(levels, numLevels + i - 1)) / 2
lowerMid = (array.get(levels, numLevels - i) + array.get(levels, numLevels - i + 1)) / 2
array.set(midLevels, numLevels + i - 2, upperMid)
array.set(midLevels, numLevels - i + 1, lowerMid)
// Update levels on every bar
updateLevels()
// Plot horizontal lines and price labels
var line horizontalLines = array.new_line(2 * numLevels + 1)
var line midLines = array.new_line(2 * numLevels)
var label priceLabels = array.new_label(2 * numLevels + 1)
// Function to draw or update a line
drawLine(lineArray, index, y, color, width, style) =>
if na(array.get(lineArray, index))
array.set(lineArray, index, line.new(bar_index, y, bar_index + 1, y, color=color, width=width, style=style, extend=extend.both))
else
line.set_xy1(array.get(lineArray, index), bar_index, y)
line.set_xy2(array.get(lineArray, index), bar_index + 1, y)
line.set_color(array.get(lineArray, index), color)
line.set_width(array.get(lineArray, index), width)
line.set_style(array.get(lineArray, index), style)
// Draw main levels
for i = 0 to 2 * numLevels
level = array.get(levels, i)
lineColor = i == numLevels ? color.yellow : (i > numLevels ? color.green : color.red)
drawLine(horizontalLines, i, level, lineColor, lineWidth, line.style_solid)
if na(array.get(priceLabels, i))
array.set(priceLabels, i, label.new(bar_index + labelOffset, level, str.tostring(level, format.mintick), color=color.new(color.black, 100), textcolor=lineColor, style=label.style_none, size=size.small))
else
label.set_xy(array.get(priceLabels, i), bar_index + labelOffset, level)
label.set_text(array.get(priceLabels, i), str.tostring(level, format.mintick))
label.set_textcolor(array.get(priceLabels, i), lineColor)
// Draw mid levels (without labels)
for i = 0 to 2 * numLevels - 1
midLevel = array.get(midLevels, i)
lineColor = i >= numLevels ? color.new(color.green, 50) : color.new(color.red, 50)
drawLine(midLines, i, midLevel, lineColor, 1, line.style_dashed)
// Display current ATR value
var label atrLabel = na
label.delete(atrLabel)
atrLabel := label.new(bar_index , high, text="ATR: " + str.tostring(dailyAtr, "#.##"), color=color.new(color.blue, 0), textcolor=color.white, size=size.small)
Composite Time ProfileComposite Time Profile Overlay (CTPO) - Market Profile Compositing Tool
Automatically composite multiple time periods to identify key areas of balance and market structure
What is the Composite Time Profile Overlay?
The Composite Time Profile Overlay (CTPO) is a Pine Script indicator that automatically composites multiple time periods to identify key areas of balance and market structure. It's designed for traders who use market profile concepts and need to quickly identify where price is likely to find support or resistance.
The indicator analyzes TPO (Time Price Opportunity) data across different timeframes and merges overlapping profiles to create composite levels that represent the most significant areas of balance. This helps you spot where institutional traders are likely to make decisions based on accumulated price action.
Why Use CTPO for Market Profile Trading?
Eliminate Manual Compositing Work
Instead of manually drawing and compositing profiles across different timeframes, CTPO does this automatically. You get instant access to composite levels without spending time analyzing each individual period.
Spot Areas of Balance Quickly
The indicator highlights the most significant areas of balance by compositing overlapping profiles. These areas often act as support and resistance levels because they represent where the most trading activity occurred across multiple time periods.
Focus on What Matters
Rather than getting lost in individual session profiles, CTPO shows you the composite levels that have been validated across multiple timeframes. This helps you focus on the levels that are most likely to hold.
How CTPO Works for Market Profile Traders
Automatic Profile Compositing
CTPO uses a proprietary algorithm that:
- Identifies period boundaries based on your selected timeframe (sessions, daily, weekly, monthly, or auto-detection)
- Calculates TPO profiles for each period using the C2M (Composite 2 Method) row sizing calculation
- Merges overlapping profiles using configurable overlap thresholds (default 50% overlap required)
- Updates composite levels as new price action develops in real-time
Key Levels for Market Profile Analysis
The indicator displays:
- Value Area High (VAH) and Value Area Low (VAL) levels calculated from composite TPO data
- Point of Control (POC) levels where most trading occurred across all composited periods
- Composite zones representing areas of balance with configurable transparency
- 1.618 Fibonacci extensions for breakout targets based on composite range
Multiple Timeframe Support
- Sessions: For intraday market profile analysis
- Daily: For swing trading with daily profiles
- Weekly: For position trading with weekly structure
- Monthly: For long-term market profile analysis
- Auto: Automatically selects timeframe based on your chart
Trading Applications for Market Profile Users
Support and Resistance Trading
Use composite levels as dynamic support and resistance zones. These levels often hold because they represent areas where significant trading decisions were made across multiple timeframes.
Breakout Trading
When composite levels break, they often lead to significant moves. The indicator calculates 1.618 Fibonacci extensions to give you clear targets for breakout trades.
Mean Reversion Strategies
Value Area levels represent the price range where most trading activity occurred. These levels often act as magnets, drawing price back when it moves too far from the mean.
Institutional Level Analysis
Composite levels represent areas where institutional traders have made significant decisions. These levels often hold more weight than traditional technical analysis levels because they're based on actual trading activity.
Key Features for Market Profile Traders
Smart Compositing Logic
- Automatic overlap detection using price range intersection algorithms
- Configurable overlap thresholds (minimum 50% overlap required for merging)
- Dead composite identification (profiles that become engulfed by newer composites)
- Real-time updates as new price action develops using barstate.islast optimization
Visual Customization
- Customizable colors for active, broken, and dead composites
- Adjustable transparency levels for each composite state
- Premium/Discount zone highlighting based on current price vs composite range
- TPO aggression coloring using TPO distribution analysis to identify buying/selling pressure
- Fibonacci level extensions with 1.618 target calculations based on composite range
Clean Chart Presentation
- Only shows the most relevant composite levels (maximum 10 active composites)
- Eliminates clutter from individual session profiles
- Focuses on areas of balance that matter most to current price action
Real-World Trading Examples
Day Trading with Session Composites
Use session-based composites to identify intraday areas of balance. The VAH and VAL levels often act as natural profit targets and stop-loss levels for scalping strategies.
Swing Trading with Daily Composites
Daily composites provide excellent swing trading levels. Look for price reactions at composite zones and use the 1.618 extensions for profit targets.
Position Trading with Weekly Composites
Weekly composites help identify major trend changes and long-term areas of balance. These levels often hold for months or even years.
Risk Management
Composite levels provide natural stop-loss levels. If a composite level breaks, it often signals a significant shift in market sentiment, making it an ideal place to exit losing positions.
Why Composite Levels Work
Composite levels work because they represent areas where significant trading decisions were made across multiple timeframes. When price returns to these levels, traders often remember the previous price action and make similar decisions, creating self-fulfilling prophecies.
The compositing process uses a proprietary algorithm that ensures only levels validated across multiple time periods are displayed. This means you're looking at levels that have proven their significance through actual market behavior, not just random technical levels.
Technical Foundation
The indicator uses TPO (Time Price Opportunity) data combined with price action analysis to identify areas of balance. The C2M row sizing method ensures accurate profile calculations, while the overlap detection algorithm (minimum 50% price range intersection) ensures only truly significant composites are displayed. The algorithm calculates row size based on ATR (Average True Range) divided by 10, then converts to tick size for precise level calculations.
How the Code Actually Works
1. Period Detection and ATR Calculation
The code first determines the appropriate timeframe based on your chart:
- 1m-5m charts: Session-based profiles
- 15m-2h charts: Daily profiles
- 4h charts: Weekly profiles
- 1D charts: Monthly profiles
For each period type, it calculates the number of bars needed for ATR calculation:
- Sessions: 540 minutes divided by chart timeframe
- Daily: 1440 minutes divided by chart timeframe
- Weekly: 7 days worth of minutes divided by chart timeframe
- Monthly: 30 days worth of minutes divided by chart timeframe
2. C2M Row Size Calculation
The code calculates True Range for each bar in the determined period:
- True Range = max(high-low, |high-prevClose|, |low-prevClose|)
- Averages all True Range values to get ATR
- Row Size = (ATR / 10) converted to tick size
- This ensures each TPO row represents a meaningful price movement
3. TPO Profile Generation
For each period, the code:
- Creates price levels from lowest to highest price in the range
- Each level is separated by the calculated row size
- Counts how many bars touch each price level (TPO count)
- Finds the level with highest count = Point of Control (POC)
- Calculates Value Area by expanding from POC until 68.27% of total TPO blocks are included
4. Overlap Detection Algorithm
When a new profile is created, the code checks if it overlaps with existing composites:
- Calculates overlap range = min(currentVAH, prevVAH) - max(currentVAL, prevVAL)
- Calculates current profile range = currentVAH - currentVAL
- Overlap percentage = (overlap range / current profile range) * 100
- If overlap >= 50%, profiles are merged into a composite
5. Composite Merging Logic
When profiles overlap, the code creates a new composite by:
- Taking the earliest start bar and latest end bar
- Using the wider VAH/VAL range (max of both profiles)
- Keeping the POC from the profile with more TPO blocks
- Marking the composite as "active" until price breaks through
6. Real-Time Updates
The code uses barstate.islast to optimize performance:
- Only recalculates on the last bar of each period
- Updates active composite with live price action if enabled
- Cleans up old composites to prevent memory issues
- Redraws all visual elements from scratch each bar
7. Visual Rendering System
The code uses arrays to manage drawing objects:
- Clears all lines/boxes arrays on every bar
- Iterates through composites array to redraw everything
- Uses different colors for active, broken, and dead composites
- Calculates 1.618 Fibonacci extensions for broken composites
Getting Started with CTPO
Step 1: Choose Your Timeframe
Select the period type that matches your trading style:
- Use "Sessions" for day trading
- Use "Daily" for swing trading
- Use "Weekly" for position trading
- Use "Auto" to let the indicator choose based on your chart timeframe
Step 2: Customize the Display
Adjust colors, transparency, and display options to match your charting preferences. The indicator offers extensive customization options to ensure it fits seamlessly into your existing analysis.
Step 3: Identify Key Levels
Look for:
- Composite zones (blue boxes) - major areas of balance
- VAH/VAL lines - value area boundaries
- POC lines - areas of highest trading activity
- 1.618 extension lines - breakout targets
Step 4: Develop Your Strategy
Use these levels to:
- Set entry points near composite zones
- Place stop losses beyond composite levels
- Take profits at 1.618 extension levels
- Identify trend changes when major composites break
Perfect for Market Profile Traders
If you're already using market profile concepts in your trading, CTPO eliminates the manual work of compositing profiles across different timeframes. Instead of spending time analyzing each individual period, you get instant access to the composite levels that matter most.
The indicator's automated compositing process ensures you're always looking at the most relevant areas of balance, while its real-time updates keep you informed of changes as they happen. Whether you're a day trader looking for intraday levels or a position trader analyzing long-term structure, CTPO provides the market profile intelligence you need to succeed.
Streamline Your Market Profile Analysis
Stop wasting time on manual compositing. Let CTPO do the heavy lifting while you focus on executing profitable trades based on areas of balance that actually matter.
Ready to Streamline Your Market Profile Trading?
Add the Composite Time Profile Overlay to your charts today and experience the difference that automated profile compositing can make in your trading performance.
Slingshot Trend 🎯⏰How to Use the Slingshot Trend Indicator 🎯⏰ (65-Minute Timeframe)
The **Slingshot Trend Indicator** helps spot bullish trend entries using price action and EMAs, optimized for your favorite 65-minute timeframe. Here’s a simple guide:
⚙️ Setup
- Add the indicator to your chart.
- Set the 89 EMA timeframe to 65 minutes (or keep the default 195 minutes for higher-timeframe confirmation).
🔑 Key Features
- **Slingshot EMA**: Short-term EMA (default length: 4) to detect breakouts.
- **EMA Stack**: Confirms bullish trend when 21 EMA > 34 EMA > 55 EMA > 89 EMA.
- **Price Above 89 EMA**: Ensures price is above the 65-minute 89 EMA.
- **ATR Targets**: Uses 14-period ATR for dynamic price targets.
- **Visuals**:
- Blue EMA line (optional).
- Teal bars for bullish conditions (optional).
- Orange labels for entry signals (optional).
- Yellow entry line and green dashed target line (optional).
- Price labels for entry/target (optional).
- ATR dashboard showing average ATR multiple, win %, and time-to-target (optional).
📘 How to Trade
- **Entry**: Go long when an orange label appears (price closes above Slingshot EMA after three closes below, with bullish EMAs on the 65-minute chart).
- **Target**: Aim for the green dashed line (entry price + ATR-based target).
- **Exit**: Close when bullish conditions end (EMAs not stacked or price below 65-minute 89 EMA).
- **Stop Loss**: Not included; consider 2× ATR below entry or a support level.
- **Alerts**: Enable “First Trending SlingShot” for entry notifications.
✨ Customize
Adjust in settings:
- 89 EMA timeframe (e.g., set to 65 minutes).
- Bar color (default: teal).
- Toggle EMA line, bar coloring, entry labels, lines, price labels, and dashboard.
- Slingshot EMA length (default: 4).
💡 Tips
- Backtest on the 65-minute timeframe for your asset.
- Combine with support/resistance or other indicators.
- Use proper risk management.
Ohm Horizontal line//@version=5
indicator("Ohm Horizontal line", overlay=true)
// Input parameters
atrPeriod = input.int(14, "ATR Period", minval=1)
atrMultiplier = input.float(1.0, "ATR Multiplier", step=0.1)
numLevels = input.int(10, "Number of Levels (each side)", minval=1)
lineWidth = input.int(1, "Line Width", minval=1, maxval=4)
labelOffset = input.int(20, "Label Offset", minval=0)
// Calculate daily ATR
dailyAtr = request.security(syminfo.tickerid, "D", ta.atr(atrPeriod))
// Function to get rounded price based on ATR
getRoundedPrice(price, atrValue) =>
math.round(price / (atrValue * atrMultiplier)) * (atrValue * atrMultiplier)
// Calculate center price (current close rounded to nearest ATR multiple)
centerPrice = getRoundedPrice(close, dailyAtr)
// Create arrays for price levels
var float levels = array.new_float(2 * numLevels + 1)
var float midLevels = array.new_float(2 * numLevels)
// Update price levels
updateLevels() =>
array.set(levels, numLevels, centerPrice)
for i = 1 to numLevels
upperLevel = centerPrice + i * dailyAtr * atrMultiplier
lowerLevel = centerPrice - i * dailyAtr * atrMultiplier
array.set(levels, numLevels + i, upperLevel)
array.set(levels, numLevels - i, lowerLevel)
// Calculate mid levels
if i > 1
upperMid = (array.get(levels, numLevels + i) + array.get(levels, numLevels + i - 1)) / 2
lowerMid = (array.get(levels, numLevels - i) + array.get(levels, numLevels - i + 1)) / 2
array.set(midLevels, numLevels + i - 2, upperMid)
array.set(midLevels, numLevels - i + 1, lowerMid)
// Update levels on every bar
updateLevels()
// Plot horizontal lines and price labels
var line horizontalLines = array.new_line(2 * numLevels + 1)
var line midLines = array.new_line(2 * numLevels)
var label priceLabels = array.new_label(2 * numLevels + 1)
// Function to draw or update a line
drawLine(lineArray, index, y, color, width, style) =>
if na(array.get(lineArray, index))
array.set(lineArray, index, line.new(bar_index, y, bar_index + 1, y, color=color, width=width, style=style, extend=extend.both))
else
line.set_xy1(array.get(lineArray, index), bar_index, y)
line.set_xy2(array.get(lineArray, index), bar_index + 1, y)
line.set_color(array.get(lineArray, index), color)
line.set_width(array.get(lineArray, index), width)
line.set_style(array.get(lineArray, index), style)
// Draw main levels
for i = 0 to 2 * numLevels
level = array.get(levels, i)
lineColor = i == numLevels ? color.yellow : (i > numLevels ? color.green : color.red)
drawLine(horizontalLines, i, level, lineColor, lineWidth, line.style_solid)
if na(array.get(priceLabels, i))
array.set(priceLabels, i, label.new(bar_index + labelOffset, level, str.tostring(level, format.mintick), color=color.new(color.black, 100), textcolor=lineColor, style=label.style_none, size=size.small))
else
label.set_xy(array.get(priceLabels, i), bar_index + labelOffset, level)
label.set_text(array.get(priceLabels, i), str.tostring(level, format.mintick))
label.set_textcolor(array.get(priceLabels, i), lineColor)
// Draw mid levels (without labels)
for i = 0 to 2 * numLevels - 1
midLevel = array.get(midLevels, i)
lineColor = i >= numLevels ? color.new(color.green, 50) : color.new(color.red, 50)
drawLine(midLines, i, midLevel, lineColor, 1, line.style_dashed)
// Display current ATR value
var label atrLabel = na
label.delete(atrLabel)
atrLabel := label.new(bar_index , high, text="ATR: " + str.tostring(dailyAtr, "#.##"), color=color.new(color.blue, 0), textcolor=color.white, size=size.small)
Liquidation/Doji CandlesLiquidation/Doji Candles
This indicator highlights candles with a body length smaller than 30% of the candle’s total range. These candles are displayed in orange, representing potential liquidation points or doji candles.
The idea behind this tool is to help traders spot moments of market indecision, where buying and selling pressure are in balance. Such conditions often hint at institutional liquidation events or possible retail-driven reversals.
You can fully customize the detection sensitivity by adjusting the percentage input. This allows you to tighten or loosen the condition depending on your trading style and market preference.
To support passive traders, the script also includes built-in alerts for:
• The formation of a new liquidation/doji candle.
• A close above its high (bullish engulfment).
• A close below its low (bearish engulfment).
These alerts make it easier to stay on top of potential market shifts without needing to constantly monitor the charts.
ICT 00:00, 08:30, 09:30 & 13:30 Opens (NY) — Prior-Day HistoryICT 00:00, 08:30, 09:30 & 13:30 Opens (NY)
This is a derivative of ALPHAICTRADER’s open-source script, republished under the MPL-2.0 with clear attribution and documented changes. It plots four New-York–anchored intraday reference levels—0000, 0830, 0930, 1330—as short, right-padded stubs with clean side labels. Use these time anchors (ICT-style midnight + key US windows) to frame bias, volatility pockets, and intraday trade locations.
What’s original in this version (changes)
Right-padded stubs instead of chart-wide rays — each level ends N bars past the latest candle (configurable).
Side labels at the line tip — text-only labels (0000, 0830, 0930, 1330) that sit at the right end of each stub and update every bar.
Optional prior-day history — show Today only or Today + Prior Day; older lines/labels auto-pruned.
Per-anchor controls — Display, Style, Color, Width, and Show Label for each time.
What it plots (and why)
0000 (NY Midnight): daily session anchor for bias/liquidity context.
0830 (NY): macro data window (CPI/NFP/claims) where volatility often concentrates.
0930 (NY): US cash equity market open; opening-drive structure/acceptance tests.
1330 (NY): early-afternoon anchor for continuation vs. fade.
How it works (under the hood)
Session detection: time("1", session, "America/New_York"); first bar flagged via not na(ts) and na(ts ).
Anchor price: open of that first bar per session/day.
Rendering: lines drawn with xloc=bar_index from start bar to bar_index + Right Pad; x2 updates every bar (no extend.right).
Labels: placed at line.get_x2(line) + Label Pad, soft color variant; updated per bar to stay on the tip.
History: arrays keep either today only or today + yesterday and delete anything older immediately.
How to use
Add to any intraday chart (futures/FX/indices). Anchors are always NY-time; TradingView handles DST.
Inputs
00:00 / 08:30 / 09:30 / 13:30 (NY): Display, Line Style, Color, Width, Show Label
Right Edge: Right Pad (bars) · Label Pad (bars)
History: Show Prior Day (History) — off = today only; on = today + yesterday
Suggested pads: Right Pad 2–5 bars; Label Pad 0–2.
These are context anchors, not signals. Combine with your execution model (market structure, liquidity, FVG/OBs, etc.).
Attribution & License (MPL-2.0)
Original work: “ICT NEW YORK MIDNIGHT OPEN AND 8.30 AM OPEN” by ALPHAICTRADER (MPL-2.0).
This derivative: modifications listed above; source published and kept under MPL-2.0 per license terms.
If you distribute a modified version of this Pine file, you must keep MPL-2.0, retain the copyright/licensing header, publish your modified source, and document your changes.
Notes: Pine v5. Minimalist (no day dividers). Educational tool; not financial advice.
Copyright: © ALPHAICTRADER 2022 · © Funk 2025
License: MPL-2.0