SATTAM | Lost Balance | Digital LevelsOVERVIEW
Lost Balance plots a price grid derived from digit-sum arithmetic on a swing pivot, then looks for break-and-retest entries at those levels with a full risk map attached.
The idea is that a market's reaction distances are not arbitrary: the digits of a significant swing price are reduced to a single root number, and that root selects one of three fixed spacing "families". Every level in the grid sits an exact multiple of that spacing away from the pivot.
HOW IT WORKS
1 — Core code
The script finds the most recent confirmed pivot high or low on a higher timeframe. It takes the first four digits of that price from the left (ignoring the decimal point), adds them, then reduces the sum to a single digit between 1 and 9.
Example: pivot 4065.33 → 4065 → 4+0+6+5 = 15 → 1+5 = 6. Core code = 6.
2 — Family law
The core code selects the grid spacing:
• codes 1, 4, 7 → family 12 → 12.0 price units
• codes 2, 5, 8 → family 15 → 15.0 price units
• codes 3, 6, 9 → family 18 → 18.0 price units
3 — Level grid
From the pivot, the script draws N levels above and N below, each exactly one family step apart. The pivot line itself is highlighted.
4 — Structure filter
Market bias is read from the same higher timeframe using swing sequence: higher high plus higher low is bullish, lower high plus lower low is bearish, anything else is neutral. Longs are only allowed in a bullish structure, shorts only in a bearish one, and no signals are produced when structure is neutral.
5 — Entry
On the chart timeframe, a signal requires two events in order. First a candle closes through a grid level. Then price returns to that same level and closes back in the direction of the break. The setup is discarded if price closes back on the wrong side, or if the retest does not occur within the configured bar window.
6 — Risk map
Entry is placed at the broken level itself, which makes every distance a whole number of family steps:
• Stop loss — one step back (the previous level)
• Target 1 — one step forward, 1:1
• Target 2 — two steps forward, 1:2
• Target 3 — three steps forward, 1:3
A red box marks the risk zone and a green box the reward zone. When Target 1 is touched, a "SL → BE" marker appears and the script switches its own stop tracking to breakeven.
SETTINGS
• Level timeframe — where the pivot and grid come from (15 / 30 / 60 / 120 / 240)
• Pivot length — left/right bars required to confirm a swing
• Manual pivot price — type a swing price yourself to override auto-detection
• Levels per side — how many grid lines to draw above and below
• Structure filter — enable or disable the directional filter
• Max bars to wait for retest — how long a break stays valid
• Enable Target 3
• Colors for levels, pivot, risk zone and reward zone
An on-chart table shows the pivot price, its first four digits, the digit sum, the core code, the family, the step in price units, and the current structure.
ALERTS
Four alerts are available through "Any alert() function call": long signal, short signal, Target 1 touched (move stop to breakeven), and stop loss hit.
HOW TO USE
Open a 3-minute chart, leave the level timeframe on 60 minutes, and wait for the grid and structure to settle. When a signal prints, the entry, stop and targets are already drawn at exact grid prices — no measuring required.
IMPORTANT NOTES
The family steps of 12, 15 and 18 are absolute price units, not percentages or ATR multiples. This makes the script meaningful on gold, where those values correspond to 120, 150 and 180 points, and meaningless on instruments quoted at a very different scale such as major FX pairs. Adjust your expectations accordingly, or use the manual pivot input to experiment.
The source method does not define how market structure should be measured, so a standard swing-sequence read is used here. It can be turned off if you prefer to set the bias yourself.
Only one position is tracked at a time. A new signal is not accepted until the current one resolves at its stop or final target.
This script draws levels and setups for study and execution assistance. It does not place orders and it is not financial advice.
CREDITS
The digital-levels method — core code extraction, the three spacing families, and the step-based stop and target map — comes from the "Lost Balance" chapter of the SOVEREIGN trading book. The Pine implementation, structure filter, break-and-retest state machine and trade tracking are original work.
نظرة عامة
يرسم المؤشر شبكة أسعار مشتقة من جمع أرقام سعر بيفوت، ثم يبحث عن دخول بكسر وإعادة اختبار عند تلك المستويات مع خريطة مخاطرة كاملة.
آلية العمل
1. الشفرة المركزية — يرصد آخر قمة أو قاع مؤكد على فريم أعلى، يأخذ أول 4 أرقام من اليسار، يجمعها، ثم يبسّط الناتج لرقم واحد بين 1 و 9.
مثال: 4065.33 ← 4065 ← 4+0+6+5 = 15 ← 1+5 = 6.
2. قانون العائلات — الشفرات 1-4-7 تعطي عائلة 12، والشفرات 2-5-8 عائلة 15، والشفرات 3-6-9 عائلة 18. وهذه هي المسافة الثابتة بين المستويات.
3. الشبكة — من البيفوت تُرسم مستويات فوق وتحت، المسافة بينها خطوة العائلة بالضبط.
4. الهيكلة — قمة أعلى مع قاع أعلى = صاعد، وقمة أدنى مع قاع أدنى = هابط. الشراء مسموح في الصاعد فقط والبيع في الهابط فقط، ولا إشارات في العرضي.
5. الدخول — إغلاق شمعة خارج المستوى، ثم عودة السعر للمستوى نفسه وإغلاقه في اتجاه الكسر.
6. خريطة المخاطرة — الدخول عند المستوى المكسور، والوقف عند المستوى السابق، والأهداف الثلاثة عند المستويات التالية بنسب 1:1 و 1:2 و 1:3. عند لمس الهدف الأول يظهر وسم SL → BE.
ملاحظة مهمة
خطوات العائلة (12 و 15 و 18) قيم سعرية مطلقة وليست نسباً، فهي ذات معنى على الذهب حيث تعادل 120 و 150 و 180 نقطة، وبلا معنى على أدوات ذات تسعير مختلف كلياً مثل أزواج العملات الرئيسية.
المؤشر أداة رسم ومساعدة تنفيذ، لا ينفّذ أوامر ولا يُعد نصيحة مالية.
المصدر
منهج المستويات الرقمية مأخوذ من فصل "التوازن المفقود" في كتاب SOVEREIGN. التنفيذ بلغة Pine وفلتر الهيكلة وآلة حالة الكسر وإعادة الاختبار ومتابعة الصفقة عمل أصلي. Indicator

Risk Reward Scenario Analyzer - Entry Stop Target VisualizerOverview
Risk Reward Scenario Analyzer is an interactive trade-planning and scenario-research indicator for manually defined Entry, Stop and Target levels.
The script does not generate a market-direction signal, select an entry, recommend a stop, or predict a target. The user defines the trade geometry. The indicator then measures the planned reward-to-risk multiple, stress-tests that multiple against entry-price drift, and audits whether the Stop or Target was reached first under explicit confirmed-OHLC rules.
The implementation is centered on three connected research tasks:
1. Entry execution drift testing
2. Confirmed-OHLC first-touch auditing
3. Consecutive testing of multiple hypothetical scenarios
This combination is the main reason the script exists as a separate publication rather than as a basic risk/reward box.
Interactive trade plan
The user places four interactive values directly on the chart:
- Entry
- Anchor time
- Stop loss
- Take-profit target
The Entry and Anchor form one interactive chart point. Stop and Target can be repositioned independently.
Direction can be selected manually or derived from the geometry:
Long:
Stop < Entry < Target
Short:
Target < Entry < Stop
Invalid geometry remains visible for correction and is not processed as a valid scenario.
Two activation methods are available:
Assume filled at anchor:
The research scenario begins from the selected anchor.
Wait for entry touch:
The scenario activates only after a confirmed chart bar trades through the selected Entry. Exit evaluation begins on the following confirmed bar because chart OHLC cannot prove whether the Entry, Stop or Target occurred first inside the activation bar.
Planned R multiple
The basic calculations are:
Planned risk distance =
Absolute value of Entry - Stop
Planned reward distance =
Absolute value of Target - Entry
Gross R multiple =
Planned reward distance / Planned risk distance
The displayed gross break-even win rate is:
100 / (1 + Gross R)
This is a mathematical break-even threshold derived from the selected reward-to-risk relationship. It is not a prediction of the strategy's actual win rate.
Entry execution stress test
A planned R multiple can deteriorate when the actual entry is less favorable than the intended entry.
The Entry execution tolerance model keeps the selected Stop and Target fixed, then shifts the Entry in both directions.
The tolerance distance can be defined as:
- A percentage of the planned risk distance
- A number of minimum ticks
- A fraction of ATR captured at the anchor
For a Long scenario, the adverse entry is above the planned Entry and the favorable entry is below it.
For a Short scenario, the adverse entry is below the planned Entry and the favorable entry is above it.
The script calculates:
- Adverse entry R
- Favorable entry R
- Retained R percentage
- Low, Moderate or High R erosion
Retained R is calculated as:
Adverse entry R / Planned R x 100
This section is a sensitivity test. It does not predict spread, slippage or the price at which an order will actually be filled.
Confirmed-OHLC first-touch audit
After activation, the script audits whether the Stop or Target was reached first.
Terminal outcomes are evaluated from confirmed chart bars. The activation bar is excluded from exit evaluation because its intrabar sequence is unavailable from OHLC data alone.
The outcome states are:
- Target
- Stop
- Ambiguous
- Expired
- Active
- Waiting for entry
- Invalid
Gap opens are evaluated at the opening price before the normal high-low touch logic is applied.
If a confirmed bar touches both Stop and Target and the opening price did not already resolve the sequence, chart OHLC cannot reveal which level occurred first.
The default same-bar policy is:
Mark ambiguous
Two optional research assumptions are also available:
- Assume stop first
- Assume target first
These alternatives are explicit user-selected assumptions. They are not presented as reconstructed intrabar facts.
The scenario becomes Expired when the selected research horizon ends before Stop or Target is resolved.
Standard candlestick charts are recommended. Heikin Ashi, Renko, Kagi, Line Break, Point and Figure and other non-standard chart types can contain synthetic OHLC values. The panel identifies non-standard chart data as synthetic.
MFE, MAE and live progress
After activation, the script tracks:
- Maximum favorable excursion in R
- Maximum adverse excursion in R
- Current or terminal R
- Elapsed bars
- Research horizon
The activation bar is excluded from MFE and MAE for the same intrabar-order reason used by the first-touch audit.
Current R can change while the realtime bar is open. Target, Stop, Ambiguous and Expired outcomes are finalized from confirmed bars.
Risk budget, quantity and execution costs
The risk budget can be entered as:
- A percentage of account size
- A fixed cash amount
Cash conversion can use the symbol's point value or a manually entered point value.
Optional execution-cost assumptions include:
- Round-trip cash cost per unit
- Slippage in minimum ticks per side
Modeled loss per unit is:
Price risk per unit + Modeled execution costs
Modeled win per unit is:
Price reward per unit - Modeled execution costs
Raw quantity is:
Risk budget / Modeled loss per unit
The result is rounded down to the selected quantity step.
When costs are enabled, the script also calculates:
- Cost-adjusted R
- Cost-adjusted break-even win rate
- Modeled cash loss at Stop
- Modeled cash result at Target
The modeled quantity is an arithmetic research result. It is not a recommended, optimal or safe order size.
Point values, contract multipliers, lot conventions, commissions and margin requirements can differ by broker, exchange and instrument. Users must verify the applicable contract specifications independently.
Visual workflow
The main chart display includes:
- Reward area
- Risk area
- Entry execution tolerance band
- Entry, Stop and Target references
- Live or terminal R marker
- Compact scenario readout
The readout is intentionally limited to the information most relevant to reviewing the current scenario:
- Direction and state
- Planned or cost-adjusted R
- Mathematical break-even threshold
- Adverse entry R and retained R
- Risk budget and modeled quantity
- Modeled Stop and Target cash outcomes
- Current or terminal R
- Elapsed bars and research horizon
After a scenario resolves, the visual workflow can:
- Keep the full scenario
- Compact the result
- Clear completed visuals
Moving Entry, Anchor, Stop or Target causes Pine to recalculate the scenario from the selected inputs. A completely new placement can be started with PulseWire's Reset points command.
This behavior is intended for rapid comparison of several user-defined trade hypotheses. Previous scenarios are not stored as a permanent trade journal.
Alerts
The script provides factual alert conditions for:
- Scenario activation
- Target reached first
- Stop reached first
- Ambiguous same-bar outcome
- Research horizon expiry
Users must create the desired alerts separately through PulseWire's alert dialog.
Calculation behavior
The script does not use future data, lookahead or higher-timeframe data requests.
Changing an interactive point or any other input causes the available chart history to be recalculated using the new settings. This is normal input-driven Pine behavior and should not be interpreted as a persistent record of an earlier scenario.
Limitations
- Entry, Stop, Target, account values and cost assumptions are entered manually.
- The script does not identify or recommend a trade setup.
- It does not predict market direction.
- It does not read brokerage positions or Trading Panel account data.
- It does not place, modify or close orders.
- It does not reconstruct tick-by-tick movement inside historical bars.
- Same-bar Stop and Target order is unknowable from OHLC alone.
- Gap handling at the bar open is a research model, not a guaranteed fill model.
- Actual fees, spread, slippage and execution prices can differ from the entered assumptions.
- Point value can differ by broker, exchange and contract specification.
- Currency conversion, taxes, funding changes and margin requirements are not calculated automatically.
- Non-standard chart prices may not represent executable market prices.
- Results depend on the accuracy of the user's inputs.
- The script is a scenario visualization and research tool, not financial advice or a trade recommendation. Indicator

SMT Divergence Matrix [JOAT]════════════════════════════════
SMT DIVERGENCE MATRIX
════════════════════════════════
Smart Money Technique divergence, automated. This tool watches your chart symbol against up to two correlated reference assets and flags the moment they disagree at a swing — the classic footprint of one market failing to confirm another. When your chart carves a new low that a correlated market refuses to match, that non-confirmation is highlighted as a potential turn.
▎ WHAT IT DOES
It compares swing highs and lows on your chart to the same swings on two reference instruments and looks for SMT divergence — where the assets normally move together but split at a pivot. Each qualifying event is drawn as a connector line between the two chart pivots, tagged with a BUY or SELL pill, and paired with an optional ATR-based stop and target zone. A dashboard reports live correlation, structure, and which reference triggered.
▎ HOW IT WORKS
• Swing detection — confirmed pivot highs and lows are located on the chart using a configurable left/right pivot length . Larger values isolate more significant swings.
• Reference sync — the same high/low/close series are pulled for up to two reference assets on your chart's timeframe, guarded against invalid symbols.
• Bullish SMT — the chart prints a lower low while a correlated reference prints a higher low . That failure to confirm the downside is read as bullish non-confirmation.
• Bearish SMT — the chart prints a higher high while a correlated reference prints a lower high , reading as bearish non-confirmation.
• Either reference can trigger — a signal fires from whichever asset fails to confirm; the dashboard shows REF1, REF2, or both.
• Correlation filter — rolling correlation between chart and reference is measured over a lookback. SMT only makes sense when assets normally track together, so signals can be restricted to references whose correlation is currently at or above a minimum.
• Confirmation filter — the triggering bar can be gated by RSI momentum turning in the signal direction, by a directional candle close, by both , or by nothing.
• Cooldown — a minimum bar gap between same-direction signals prevents clustering, and the engine never fires a buy and sell on the same bar.
• Trade zones — on each signal, entry is taken at the close, stop is placed a chosen ATR multiple away, and the target is projected at your risk/reward ratio. The zones live-extend to the right each bar and freeze the moment price touches the stop or target.
▎ HOW TO USE IT
• Set Reference Asset 1 and 2 to instruments that genuinely correlate with your chart (index futures, sector peers, a lead/lag pair). The technique is only meaningful when the assets normally move together.
• A BUY pill below price marks bullish non-confirmation; a SELL pill above price marks bearish non-confirmation. The pill text names the reference that triggered.
• The divergence line connects the two chart pivots involved, so you can see the exact swings being compared.
• Treat the red zone as risk (entry-to-stop) and the blue/violet zone as reward (entry-to-target). Use them as a visual framework, not a mechanical order.
• Combine signals with your own read of market structure, session timing, and key levels rather than trading them in isolation.
▎ KEY SETTINGS
• Engine — swing pivot length, the two reference symbols and their enable toggles, and correlation lookback.
• Filters — confirmation mode (None / RSI / Candle / Both), RSI length, positive-correlation requirement with a minimum threshold, and signal cooldown.
• Trade Model — show ATR SL/TP toggle, ATR length, stop distance in ATR multiples, risk/reward target, and a cap on drawn setups for performance.
• Visuals — divergence lines, signal labels, pivot markers, label size, custom bull/bear colors, an optional candle zone-reader, and a session VWAP with ±σ bands.
• Dashboard — show toggle, position, and text size.
▎ DASHBOARD
The panel reports correlation state and value for each reference (Strong+, Positive, Weak, Negative, Strong−, or OFF), the last SMT side with the triggering reference, current market structure (HH / HL / LH / LL), running bull/bear counts , total divergences , live signal status , and current ATR .
▎ ALERTS
• Bullish SMT — chart lower low versus a correlated higher low.
• Bearish SMT — chart higher high versus a correlated lower high.
Both include ticker and interval placeholders in the message.
▎ NOTES
• Works on any symbol and any timeframe; references are read on the chart's own timeframe.
• Signals are based on confirmed pivots, which require the configured right-side bars to close before a swing is validated.
• Colored candles and VWAP bands are off by default for a clean chart, and the drawn-setup cap keeps performance stable.
• Reference data uses non-lookahead requests and tolerates invalid symbols without breaking the script.
For research and education only. This is not financial advice. No indicator predicts the future, on-chart signals and counts are illustrative of historical behavior only, and past behavior does not guarantee future results. Always manage your own risk.
Made with passion by JackOfAllTrades ⚡ Indicator

Pivot Sniper Method [trade_w_samet]🎯 Pivot Sniper Method
Pivot Sniper Method is a confirmed pivot-reversal, signal-quality, session-filtering, trade-mapping, alert, and loaded-history statistics indicator designed to convert confirmed price pivots into a structured chart-review workflow.
The script is built around one central idea:
Not every confirmed pivot should be treated as an equal-quality reversal setup.
Instead of displaying every pivot as an identical signal, Pivot Sniper Method evaluates each confirmed pivot through a five-part Signal Strength model, applies the selected directional and session rules, maps a complete Entry / Stop Loss / TP1 / TP2 / TP3 structure, manages optional Break-Even behavior, and records the result through an internal R-based tracker.
When an eligible pivot is confirmed, the script can:
• Display a confirmed BUY or SELL label
• Show the calculated Signal Strength percentage directly below the direction label
• Evaluate Pivot Distance, Wick Quality, Confirmation Candle, Volume Participation, and Trend Alignment
• Apply Bullish, Bearish, or Both directional bias
• Restrict new signals to London, New York, London + New York, All Sessions, or a Custom session
• Apply an adjustable signal cooldown
• Calculate the Entry at the confirmation-candle close
• Calculate Stop Loss using ATR, Pivot Level, Pivot + ATR Buffer, or Signal Candle
• Calculate independently adjustable TP1, TP2, and TP3 targets
• Move the active Stop Loss to Break-Even after TP1 or TP2
• Add an optional favorable Break-Even tick offset
• Replace the current active tracked trade when a new eligible signal appears
• Display active Entry, Stop / Break-Even, TP1, TP2, and TP3 lines and labels
• Remove the separate Entry line and label after Break-Even becomes active
• Display compact tooltips containing signal, price, risk, target, and status information
• Track Trades, Win Rate, NET R, Average R, TP1 / TP2 / TP3 hit rates, and Break-Even results
• Display a compact premium desktop dashboard
• Display a reduced Phone Mode dashboard
• Move the dashboard to any chart corner
• Support Auto, Dark, Light, and Phone visual modes
• Support static alertcondition() events
• Support one combined “Any alert() function call” workflow
• Include symbol, timeframe, strength, Entry, Stop, targets, Stop Loss mode, Break-Even mode, and session context in dynamic alerts
The purpose of the script is to provide a transparent framework for studying confirmed pivots, setup quality, session context, predefined risk, multiple reward targets, Break-Even behavior, and bar-based historical outcomes.
It is not financial advice.
It is not an automated trading system.
It does not execute broker orders.
It does not calculate position size.
It does not guarantee that a confirmed pivot will produce a reversal.
It does not guarantee that historical Win Rate or NET R will continue in future market conditions.
It does not include spread, commission, slippage, latency, financing, taxes, partial fills, or broker-specific execution.
It does not reconstruct the exact intrabar path inside historical candles.
━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━
At a high level, Pivot Sniper Method performs the following sequence:
• Searches price for confirmed pivot lows and pivot highs.
• Requires the selected number of completed candles on the right side of a pivot.
• Rejects simultaneous bullish and bearish pivot confirmation on the same calculation.
• Evaluates the selected Trend Bias.
• Evaluates the selected Trading Session.
• Evaluates the signal cooldown.
• Calculates a 0–100 Signal Strength score.
• Rejects signals below the selected minimum strength when the strength filter is enabled.
• Displays a BUY or SELL label only when all active signal rules pass.
• Opens a tracked trade at the close of the confirmation candle.
• Selects a Stop Loss using the active Stop Loss Mode.
• Uses ATR as a safety fallback when a structural Stop Loss is invalid.
• Calculates TP1, TP2, and TP3 from the actual Entry-to-Stop risk distance.
• Tracks target and stop touches from the candle after entry.
• Moves the active Stop Loss to Break-Even after the selected target condition.
• Replaces an active tracked trade at the current close when a new eligible signal appears.
• Records each completed trade in R.
• Updates a compact dashboard with state, trade, performance, and quality information.
• Generates static and dynamic PulseWire alert events.
The script does not use machine learning.
It does not claim to predict every market reversal.
Its dashboard is not PulseWire Strategy Tester.
Its statistics are calculated internally from the script’s own confirmed-signal, OHLC-touch, replacement-exit, and Break-Even rules.
━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE IDEA
━━━━━━━━━━━━━━━━━━━━━━
A pivot low identifies a price point that is lower than the selected number of candles on both sides.
A pivot high identifies a price point that is higher than the selected number of candles on both sides.
Confirmed pivots can provide useful reversal context, but a pivot alone does not answer:
• whether the setup agrees with the selected directional bias
• whether the setup occurs during the selected trading session
• whether the pivot candle contains a meaningful rejection wick
• whether price has moved sufficiently away from the confirmed pivot
• whether the confirmation candle supports the intended direction
• whether volume participation is elevated or ordinary
• whether price and the selected EMA structure support the direction
• where Stop Loss should be placed
• how the trade should be mapped in R
• when Break-Even should become active
• how a new signal should affect an existing tracked trade
• how the setup behaved under the script’s historical bar-touch rules
Pivot Sniper Method therefore treats the pivot as the first stage of a complete process rather than the final decision.
The complete workflow is:
potential pivot
→ right-side pivot confirmation
→ same-bar conflict rejection
→ directional-bias validation
→ session validation
→ cooldown validation
→ five-part quality scoring
→ minimum-strength validation
→ BUY or SELL signal
→ confirmation-candle Entry
→ Stop Loss selection
→ TP1 / TP2 / TP3 mapping
→ active-trade management
→ optional Break-Even
→ TP3, Stop, Break-Even, or replacement exit
→ internal R result
→ dashboard update
→ alert event
━━━━━━━━━━━━━━━━━━━━━━
🧩 WHY THIS IS NOT A SIMPLE PIVOT MARKER
━━━━━━━━━━━━━━━━━━━━━━
A basic pivot script can stop after placing a shape on a confirmed swing high or swing low.
Pivot Sniper Method continues beyond pivot detection.
Each eligible setup passes through a coordinated structure:
confirmed price pivot
→ 0–100 quality evaluation
→ bias and session permission
→ structured Entry
→ selectable Stop Loss model
→ independent TP1, TP2, and TP3 targets
→ optional Break-Even transition
→ live target-status updates
→ active-trade replacement logic
→ historical R accounting
→ compact statistics dashboard
→ static and dynamic alerts
The pivot module defines the confirmed reversal location.
The Signal Strength module evaluates quality.
The Trend Bias module controls permitted directions.
The Time Filter controls when new setups may be accepted.
The trade-mapping module converts the setup into explicit price levels.
The Break-Even module changes active risk only after the selected target is confirmed.
The statistics module summarizes the exact results produced by those rules.
The alert module communicates signal and trade-management events.
These modules are not unrelated indicators placed together.
They form one process for identifying, filtering, mapping, monitoring, and reviewing confirmed pivot-reversal setups.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE SCRIPT WORKS
━━━━━━━━━━━━━━━━━━━━━━
The script runs directly on the main price chart.
It calculates confirmed price pivots using independently adjustable left-side and right-side lengths for highs and lows.
The default pivot configuration is:
• Pivot High Left Bars: 10
• Pivot High Right Bars: 10
• Pivot Low Left Bars: 10
• Pivot Low Right Bars: 10
The signal engine then combines:
• confirmed pivot status
• Bullish / Bearish / Both bias permission
• selected session permission
• Signal Strength threshold
• cooldown permission
• same-bar dual-pivot rejection
• confirmed chart-bar status
A BUY signal is based on a confirmed pivot low.
A SELL signal is based on a confirmed pivot high.
The signal label is placed on the confirmation candle, not on the original historical pivot candle.
The Entry is also stored at the close of the confirmation candle.
This separation is important:
Pivot Price
The historical swing level that became confirmed after the selected right-side bars.
Signal Candle
The later candle where the script knows the pivot exists and all active filters pass.
Entry Price
The close of that later signal-confirmation candle.
━━━━━━━━━━━━━━━━━━━━━━
🔍 PIVOT DETECTION MODEL
━━━━━━━━━━━━━━━━━━━━━━
Pivot High Left Bars determines how many candles to the left must have lower highs than a potential pivot high.
Pivot High Right Bars determines how many completed candles must form to the right before the potential pivot high is confirmed.
Pivot Low Left Bars determines how many candles to the left must have higher lows than a potential pivot low.
Pivot Low Right Bars determines how many completed candles must form to the right before the potential pivot low is confirmed.
Higher left and right values generally identify larger and less frequent swing structures.
Lower values generally identify smaller and more frequent structures.
The high and low settings are independent.
This allows users to study symmetrical configurations such as 10 / 10 for both directions, or asymmetrical configurations when market behavior requires different sensitivity for pivot highs and pivot lows.
The central pivot calculation is:
float confirmedPivotHigh = ta.pivothigh(
high,
leftHighInput,
rightHighInput
)
float confirmedPivotLow = ta.pivotlow(
low,
leftLowInput,
rightLowInput
)
bool rawBuySignal =
barstate.isconfirmed and
not na(confirmedPivotLow)
bool rawSellSignal =
barstate.isconfirmed and
not na(confirmedPivotHigh)
These functions return a confirmed pivot value only after the required right-side bars exist.
A confirmed pivot does not automatically become a signal.
It must still pass:
• same-bar conflict rejection
• Trend Bias
• Trading Session
• Signal Strength
• cooldown
━━━━━━━━━━━━━━━━━━━━━━
⏳ PIVOT CONFIRMATION AND SIGNAL TIMING
━━━━━━━━━━━━━━━━━━━━━━
This section is essential for correct interpretation.
The script uses confirmed pivot functions.
A pivot is not known on the original pivot candle.
For example, with Pivot Low Right Bars set to 10:
• the potential pivot low occurs
• ten additional candles must complete to its right
• the pivot becomes confirmed on the later calculation candle
• the BUY candidate can then be evaluated
The signal label is displayed on the later confirmation candle.
The trade Entry is stored at the close of that confirmation candle.
The script does not backdate the BUY or SELL trade label to the original pivot candle.
This means:
• the pivot price belongs to an earlier historical candle
• the signal becomes available later
• the displayed Entry reflects the later confirmation close
• increasing right-side bars increases confirmation delay
• decreasing right-side bars confirms smaller structures earlier
The script also requires barstate.isconfirmed for raw pivot candidates.
Signals are therefore based on completed chart candles.
This reduces unfinished current-candle changes, but it does not remove the inherent delay required by pivot confirmation.
━━━━━━━━━━━━━━━━━━━━━━
🟢 CONFIRMED BUY LOGIC
━━━━━━━━━━━━━━━━━━━━━━
A BUY candidate begins when a pivot low is confirmed.
The candidate is rejected when a pivot high is also confirmed on the same calculation.
The remaining BUY candidate must satisfy:
• Trend Bias is Bullish or Both
• the selected Trading Session is active
• the BUY Signal Strength meets the minimum threshold when filtering is enabled
• the cooldown is ready
• the chart bar is confirmed
When accepted, the script displays:
▲ BUY
strength%
The strength percentage appears on the second line to keep the label compact.
The compact two-line BUY label is constructed as:
string buyLabelText =
showStrengthOnSignalInput
? "▲ BUY " + str.tostring(buySignalStrength) + "%"
: "▲ BUY"
The SELL label uses the mirrored ▼ SELL format.
The label is placed below the signal candle.
The BUY tooltip can display:
• Confirmed BUY
• Signal Strength
• Confirmed Pivot price
The tracked Entry is the signal-confirmation candle close.
The BUY Stop Loss is placed below Entry using the selected Stop Loss Mode.
TP1, TP2, and TP3 are calculated above Entry from the actual Entry-to-Stop risk distance.
━━━━━━━━━━━━━━━━━━━━━━
🔴 CONFIRMED SELL LOGIC
━━━━━━━━━━━━━━━━━━━━━━
A SELL candidate begins when a pivot high is confirmed.
The candidate is rejected when a pivot low is also confirmed on the same calculation.
The remaining SELL candidate must satisfy:
• Trend Bias is Bearish or Both
• the selected Trading Session is active
• the SELL Signal Strength meets the minimum threshold when filtering is enabled
• the cooldown is ready
• the chart bar is confirmed
When accepted, the script displays:
▼ SELL
strength%
The strength percentage appears on the second line.
The label is placed above the signal candle.
The SELL tooltip can display:
• Confirmed SELL
• Signal Strength
• Confirmed Pivot price
The tracked Entry is the signal-confirmation candle close.
The SELL Stop Loss is placed above Entry using the selected Stop Loss Mode.
TP1, TP2, and TP3 are calculated below Entry from the actual Entry-to-Stop risk distance.
━━━━━━━━━━━━━━━━━━━━━━
💪 SIGNAL STRENGTH MODEL
━━━━━━━━━━━━━━━━━━━━━━
Signal Strength is a 0–100 quality score.
The final score contains five components worth up to 20 points each:
1. Pivot Distance
2. Wick Quality
3. Confirmation Candle
4. Volume Participation
5. Trend Alignment
The score is intended to compare the internal characteristics of confirmed pivot setups under the same script rules.
It is not a probability forecast.
A 75% label does not mean there is a guaranteed 75% probability of profit.
It means the setup received 75 points out of the script’s 100-point quality model.
The Minimum Signal Strength input controls the required score.
Default:
55
When the filter is enabled:
• scores below the minimum are rejected
• scores equal to or above the minimum are eligible
• lower thresholds generally create more signals
• higher thresholds generally create fewer signals
The strength percentage can be hidden from the BUY / SELL label without disabling the strength filter.
The five component values are combined into the final score:
int buySignalStrength = int(math.round(
math.min(
buyPivotDistanceScore +
buyWickScore +
buyCandleScore +
volumeScore +
buyTrendScore,
100.0
)
))
int sellSignalStrength = int(math.round(
math.min(
sellPivotDistanceScore +
sellWickScore +
sellCandleScore +
volumeScore +
sellTrendScore,
100.0
)
))
A score is therefore the sum of five internal measurements, capped at 100.
━━━━━━━━━━━━━━━━━━━━━━
📏 PIVOT DISTANCE COMPONENT
━━━━━━━━━━━━━━━━━━━━━━
Pivot Distance evaluates how far the confirmation-candle close is from the confirmed pivot relative to ATR.
For BUY candidates, the model measures the distance from the confirmed pivot low to the current close.
For SELL candidates, it measures the distance from the current close to the confirmed pivot high.
The normalized value is capped internally.
The maximum contribution is 20 points.
This component does not claim that a larger distance is always better.
It only measures the amount of price separation used by this quality model.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ WICK QUALITY COMPONENT
━━━━━━━━━━━━━━━━━━━━━━
Wick Quality evaluates the rejection wick on the original pivot candle.
For BUY candidates:
• lower wick size is compared with the full pivot-candle range
For SELL candidates:
• upper wick size is compared with the full pivot-candle range
A larger relevant wick can contribute more points, up to 20.
This component attempts to represent rejection behavior at the confirmed swing.
A large wick does not guarantee reversal continuation.
━━━━━━━━━━━━━━━━━━━━━━
📊 CONFIRMATION CANDLE COMPONENT
━━━━━━━━━━━━━━━━━━━━━━
The Confirmation Candle component evaluates the candle where the pivot becomes confirmed and the signal is processed.
The model considers:
• body size relative to the full candle range
• bullish close direction for BUY candidates
• bearish close direction for SELL candidates
The body ratio contributes most of the component score.
A directional close can add an additional internal bonus.
The maximum contribution is 20 points.
The confirmation candle is not the original pivot candle.
━━━━━━━━━━━━━━━━━━━━━━
🔊 VOLUME PARTICIPATION COMPONENT
━━━━━━━━━━━━━━━━━━━━━━
Volume Participation compares current volume with an adjustable volume average.
Default volume length:
20
Higher relative volume can contribute more points, up to 20.
The component is internally capped.
When usable volume data is unavailable, the script applies a neutral fallback contribution instead of automatically assigning zero.
Volume behavior differs across asset classes and data feeds.
For some symbols, displayed volume can represent exchange volume.
For others, it can represent tick activity or a provider-specific value.
━━━━━━━━━━━━━━━━━━━━━━
📈 TREND ALIGNMENT COMPONENT
━━━━━━━━━━━━━━━━━━━━━━
Trend Alignment uses an adjustable EMA.
Default EMA length:
50
For BUY candidates, the component evaluates:
• whether price is above the EMA
• whether the EMA is rising
For SELL candidates, it evaluates:
• whether price is below the EMA
• whether the EMA is falling
Each condition contributes part of the 20-point component.
This EMA is used as one component of Signal Strength.
It is not a separate hard directional filter.
A setup can still receive points from the other four components when Trend Alignment is weak.
━━━━━━━━━━━━━━━━━━━━━━
🧭 TREND BIAS
━━━━━━━━━━━━━━━━━━━━━━
Trend Bias controls which signal directions are permitted.
Available modes:
• Bullish
• Bearish
• Both
Bullish
Allows only confirmed BUY signals.
Bearish
Allows only confirmed SELL signals.
Both
Allows confirmed signals in both directions.
Trend Bias does not change pivot detection.
It changes which confirmed candidates are allowed to become signals and tracked trades.
The final signal gate combines pivot confirmation, directional permission, session permission, Signal Strength, and cooldown:
bool buySignal =
buyCandidate and
bullishBiasAllowed and
timeFilterPassed and
buyStrengthPassed and
cooldownReady
bool sellSignal =
sellCandidate and
bearishBiasAllowed and
timeFilterPassed and
sellStrengthPassed and
cooldownReady
Only candidates that pass every active condition become BUY or SELL signals.
━━━━━━━━━━━━━━━━━━━━━━
🕒 SESSION FILTER
━━━━━━━━━━━━━━━━━━━━━━
The Trading Session input controls when new signals can be accepted.
Available modes:
• All Sessions
• London
• New York
• London + New York
• Custom
London uses:
08:00–17:00
Europe/London time
New York uses:
09:30–16:00
America/New_York time
London + New York accepts signals during either defined session.
Custom allows the user to define a session and select:
• Exchange
• UTC
• Europe/London
• America/New_York
• Europe/Istanbul
• Asia/Tokyo
The session filter affects new entries only.
An already active tracked trade continues to be managed outside the selected session.
The dashboard displays whether the current session rule is OPEN or CLOSED.
━━━━━━━━━━━━━━━━━━━━━━
⏳ COOLDOWN AND CONFLICT HANDLING
━━━━━━━━━━━━━━━━━━━━━━
Signal Cooldown Bars defines the minimum number of completed candles required between accepted signals.
Default:
0
A value of 0 disables additional cooldown filtering.
Higher values reduce how frequently new signals can be accepted.
When a pivot high and pivot low are both confirmed on the same calculation, the script rejects both candidates.
This prevents contradictory BUY and SELL signals from being accepted on the same candle.
━━━━━━━━━━━━━━━━━━━━━━
🎯 ENTRY AND ACTIVE-TRADE REPLACEMENT MODEL
━━━━━━━━━━━━━━━━━━━━━━
The Entry is stored at the close of the accepted signal candle.
The script maintains one active tracked trade.
However, new eligible signals are not ignored while a trade is active.
When a new eligible BUY or SELL signal appears:
• the current active trade is valued at the new signal candle’s close
• its current R result is added to statistics
• its active lines and labels are removed
• the new signal opens a new tracked trade
This behavior applies to eligible same-direction and opposite-direction signals.
The replacement exit is not a broker fill.
It is an internal close-based accounting rule used to keep only one active tracked trade.
Because replacement exits can occur before TP3, Stop Loss, or Break-Even, NET R can include partial positive or negative R outcomes.
━━━━━━━━━━━━━━━━━━━━━━
🛑 STOP LOSS SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes four Stop Loss modes:
• ATR
• Pivot Level
• Pivot + ATR Buffer
• Signal Candle
ATR
BUY:
Entry − ATR × multiplier
SELL:
Entry + ATR × multiplier
Default ATR length:
14
Default ATR multiplier:
2.0
Pivot Level
BUY:
confirmed pivot low
SELL:
confirmed pivot high
Pivot + ATR Buffer
BUY:
confirmed pivot low − ATR × pivot buffer
SELL:
confirmed pivot high + ATR × pivot buffer
Default pivot buffer:
0.25 ATR
Signal Candle
BUY:
signal candle low
SELL:
signal candle high
The script validates the selected Stop Loss.
For BUY, Stop Loss must be meaningfully below Entry.
For SELL, Stop Loss must be meaningfully above Entry.
When the selected structural stop is invalid, the script uses the ATR Stop Loss as a safety fallback.
The actual risk distance is:
absolute difference between Entry and the validated Stop Loss
That distance becomes 1R for all target calculations.
The requested Stop Loss is selected from the active mode:
requestedStopPrice :=
stopLossModeInput == "ATR"
? activeEntryPrice - atrFallbackDistance
: stopLossModeInput == "Pivot Level"
? confirmedPivotLow
: stopLossModeInput == "Pivot + ATR Buffer"
? confirmedPivotLow - atrValue * pivotBufferATRInput
: low
For SELL trades, the same logic is mirrored above Entry.
The script then validates the requested structural stop.
When the selected price is not on the correct side of Entry, ATR is used as the fallback.
━━━━━━━━━━━━━━━━━━━━━━
🏆 TP1 / TP2 / TP3 SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
TP1, TP2, and TP3 are independently adjustable.
Default values:
• TP1: 1R
• TP2: 2R
• TP3: 3R
For BUY:
target = Entry + risk distance × selected R multiple
For SELL:
target = Entry − risk distance × selected R multiple
TP1 and TP2 are intermediate target events.
TP3 is the final target and closes the active tracked trade.
When TP3 is touched:
• TP1 is also recorded if it was not already recorded
• TP2 is also recorded if it was not already recorded
• TP3 is recorded
• the trade closes at the selected TP3 R value
Users should normally keep:
TP1 < TP2 < TP3
The script allows independent values, so users are responsible for maintaining a logical target sequence.
After the validated Stop Loss is stored, the script defines 1R and calculates each target:
activeRiskDistance :=
math.max(
math.abs(activeEntryPrice - activeStopPrice),
syminfo.mintick
)
activeTP1Price :=
activeTradeDirection == 1
? activeEntryPrice + activeRiskDistance * tp1RRInput
: activeEntryPrice - activeRiskDistance * tp1RRInput
activeTP2Price :=
activeTradeDirection == 1
? activeEntryPrice + activeRiskDistance * tp2RRInput
: activeEntryPrice - activeRiskDistance * tp2RRInput
activeTP3Price :=
activeTradeDirection == 1
? activeEntryPrice + activeRiskDistance * tp3RRInput
: activeEntryPrice - activeRiskDistance * tp3RRInput
The target calculations therefore remain proportional to the actual Entry-to-Stop distance.
━━━━━━━━━━━━━━━━━━━━━━
🟡 BREAK-EVEN SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Break-Even Mode includes:
• Off
• After TP1
• After TP2
After TP1
The Stop Loss moves to Entry after the TP1-touch candle closes.
After TP2
The Stop Loss moves to Entry after the TP2-touch candle closes.
The updated Break-Even stop applies from the following candle.
An optional favorable tick offset can be added.
For BUY:
Break-Even = Entry + offset
For SELL:
Break-Even = Entry − offset
When Break-Even becomes active:
• the Stop Loss line changes to the Break-Even color
• the Stop label changes from SL to BE
• the separate Entry line is deleted
• the separate Entry label is deleted
• only the BE level remains at or near Entry
This prevents Entry and Break-Even labels from overlapping at the same price.
A Break-Even stop with zero offset produces approximately 0R.
A positive favorable offset can produce a small positive R result.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ SAME-CANDLE STOP AND TARGET HANDLING
━━━━━━━━━━━━━━━━━━━━━━
Historical OHLC candles do not reveal the exact sequence of all intrabar price movement.
A candle can include both the active Stop price and one or more target prices.
When the active Stop and a target are both touched inside the same historical candle, the script uses a conservative rule:
The active Stop receives priority.
This applies to the original Stop Loss and the active Break-Even stop.
Trade-management checks begin on the candle after Entry.
The Entry candle cannot immediately close the new tracked trade.
The conservative priority rule can produce different results from lower-timeframe reconstruction or tick-level execution data.
━━━━━━━━━━━━━━━━━━━━━━
📐 ACTIVE TRADE VISUAL SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
While a tracked trade is active, the script can display:
• Stop Loss or Break-Even line
• Entry line
• TP1 line
• TP2 line
• TP3 line
• Stop Loss or Break-Even label
• Entry label
• TP1 label
• TP2 label
• TP3 label
The lines project to the right by the selected number of bars.
Default:
20 bars
Stop and Entry use solid lines.
Targets use dashed lines.
After TP1 or TP2 is reached:
• the corresponding target label changes to a completed state
• the corresponding line becomes more transparent
After Break-Even activates:
• the Entry line and Entry label disappear
• the active Stop line and label become BE
When the trade closes or is replaced:
• active trade lines are deleted
• active trade labels are deleted
The script does not preserve completed trade lines as permanent historical drawings.
━━━━━━━━━━━━━━━━━━━━━━
🏷️ LABELS, TOOLTIPS, AND TEXT
━━━━━━━━━━━━━━━━━━━━━━
BUY and SELL labels use two lines when strength display is enabled:
direction
strength%
Available Label Size values:
• Tiny
• Small
• Normal
• Large
• Huge
The setting controls:
• BUY
• SELL
• Entry
• Stop Loss
• Break-Even
• TP1
• TP2
• TP3
Phone Mode overrides the selected label size with Tiny.
Visible chart labels use bold and italic formatting.
Signal tooltips can show:
• direction
• strength
• pivot price
Trade-level tooltips can show:
• Entry strength
• risk distance
• Stop Loss mode
• Stop or BE price
• target R value
• target price
• target status
• Break-Even tick offset
Tooltips are informational chart elements.
They do not represent broker orders.
━━━━━━━━━━━━━━━━━━━━━━
📟 COMPACT PREMIUM DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━
The desktop dashboard is divided into four sections:
STATE
• symbol and timeframe
• active signal and strength
• current trade status
• session status
TRADE
• active Stop Loss mode
• Entry and Stop / Break-Even
• TP1 / TP2 / TP3 scale
• live R
PERFORMANCE
• total trades started
• closed trades
• Win Rate
• NET R
• Average R
• TP1 / TP2 / TP3 hit rates
QUALITY
• latest strength
• Trend component
• Volume component
• Wick component
• Confirmation Candle component
• Pivot Distance component
• Trend Bias
• Break-Even mode
• Minimum Strength
Quality components are displayed in a compact format:
T = Trend
V = Volume
W = Wick
C = Candle
P = Pivot Distance
The dashboard can be positioned at:
• Top Right
• Bottom Right
• Top Left
• Bottom Left
The selected input is translated into a PulseWire table position:
string dashboardTablePosition =
dashboardPositionInput == "Top Right" ? position.top_right :
dashboardPositionInput == "Top Left" ? position.top_left :
dashboardPositionInput == "Bottom Left" ? position.bottom_left :
position.bottom_right
if barstate.islast
table.set_position(
statisticsTable,
dashboardTablePosition
)
━━━━━━━━━━━━━━━━━━━━━━
📊 STATISTICS METHODOLOGY
━━━━━━━━━━━━━━━━━━━━━━
The statistics are produced by the script’s internal bar-based tracker.
They are not imported from a broker.
They are not verified account results.
They are not PulseWire Strategy Tester results.
Total Trades Started
Number of accepted signals that opened a tracked trade.
Total Trades Closed
Number of tracked trades closed by:
• Stop Loss
• Break-Even
• TP3
• active-trade replacement
TP1 Hit Rate
TP1 touches divided by Total Trades Started.
TP2 Hit Rate
TP2 touches divided by Total Trades Started.
TP3 Hit Rate
TP3 touches divided by Total Trades Started.
NET R
Sum of all recorded closed-trade R outcomes.
Average R
NET R divided by Total Trades Closed.
Win Rate
Positive-R trades divided by positive-R plus negative-R trades.
Exact 0R Break-Even results are excluded from the Win Rate denominator.
A favorable Break-Even offset can produce a small positive R result and can therefore be classified as a positive-R trade.
Replacement exits use the close of the new signal candle and can contribute partial R.
Statistics depend on:
• loaded chart history
• symbol
• timeframe
• exchange or broker feed
• left and right pivot settings
• Trend Bias
• session setting
• cooldown
• strength threshold
• EMA and volume lengths
• ATR settings
• Stop Loss mode
• target settings
• Break-Even settings
• replacement-signal sequence
Changing any of these inputs can change historical results.
━━━━━━━━━━━━━━━━━━━━━━
🎨 THEME SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes:
• Auto
• Dark Mode
• Light Mode
• Phone Mode
Auto
Detects the chart background and selects the corresponding light or dark visual palette.
Dark Mode
Uses:
• darker green and red signal colors
• dark dashboard surfaces
• white chart-label text
• dark Entry color
• muted dashboard text
• red brand header
Light Mode
Uses:
• brighter green and red signal colors
• light dashboard surfaces
• dark BUY text where required
• adjusted Entry and dashboard colors
• red brand header
Theme selection changes presentation.
It does not change pivot detection, Signal Strength, trade levels, statistics, or alerts.
━━━━━━━━━━━━━━━━━━━━━━
📱 PHONE MODE
━━━━━━━━━━━━━━━━━━━━━━
Phone Mode is designed for smaller chart areas.
It uses:
• Tiny signal labels
• Tiny active-trade labels
• one-pixel trade-level lines
• dark visual palette
• compact dashboard text
• reduced dashboard rows
The Phone Mode dashboard displays:
• Signal and Strength
• Status
• Win Rate and NET R
• Session
The compact layout intentionally removes most desktop details.
Phone Mode changes presentation only.
It does not change calculations.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes static PulseWire alert conditions for:
• Confirmed BUY
• Confirmed SELL
• Stop Loss Hit
• Break-Even Activated
• Break-Even Hit
• TP1 Hit
• TP2 Hit
• TP3 Hit
Static BUY and SELL messages can include:
• exchange
• ticker
• timeframe
• Signal Strength
• Entry
• Stop
• TP1
• TP2
• TP3
The script also includes dynamic alert() events for:
• BUY signal
• SELL signal
• Stop Loss hit
• Break-Even activation
• Break-Even hit
• TP1 hit
• TP2 hit
• TP3 hit
Dynamic signal messages can include:
• trade_w_samet identifier
• event type
• direction
• symbol
• timeframe
• Signal Strength
• Entry
• Stop
• TP1
• TP2
• TP3
• Stop Loss Mode
• Break-Even Mode
• Trading Session
• session OPEN / CLOSED state
Dynamic trade-management messages preserve the active trade’s stored values before the trade state is reset.
Alert events use once-per-bar-close frequency.
A dynamic signal message is assembled from the stored trade values:
string buyEntryAlertMessage =
"trade_w_samet | Pivot Sniper Method" +
" Event: BUY SIGNAL" +
" Direction: BUY" +
" Symbol: " + syminfo.tickerid +
" Timeframe: " + timeframe.period +
" Strength: " + str.tostring(buySignalStrength) + "%" +
" Entry: " + str.tostring(activeEntryPrice, format.mintick) +
" SL: " + str.tostring(activeStopPrice, format.mintick) +
" TP1: " + str.tostring(activeTP1Price, format.mintick) +
" TP2: " + str.tostring(activeTP2Price, format.mintick) +
" TP3: " + str.tostring(activeTP3Price, format.mintick)
alert(
message=buyEntryAlertMessage,
freq=alert.freq_once_per_bar_close
)
The complete live message also includes Stop Loss Mode, Break-Even Mode, and session context.
Alerts are monitoring tools.
They do not execute or modify broker orders.
━━━━━━━━━━━━━━━━━━━━━━
🔔 HOW TO USE ALERTS
━━━━━━━━━━━━━━━━━━━━━━
For a specific static event:
1. Add Pivot Sniper Method to the chart.
2. Open PulseWire’s Create Alert window.
3. Select the indicator as the condition.
4. Select the required BUY, SELL, Stop, Break-Even, TP1, TP2, or TP3 event.
5. Select the notification method.
6. Test the alert before relying on it.
For one combined dynamic workflow:
1. Add the indicator to the chart.
2. Open Create Alert.
3. Select Pivot Sniper Method .
4. Select Any alert() function call.
5. Configure the delivery method.
6. Test signal and trade-management messages.
PulseWire saves a snapshot of the script, its inputs, and chart context when an alert is created.
After materially changing the script, symbol, timeframe, or inputs, delete and recreate the alert so it uses the intended configuration.
━━━━━━━━━━━━━━━━━━━━━━
🧪 PRACTICAL WORKFLOW
━━━━━━━━━━━━━━━━━━━━━━
A practical review process:
1. Add Pivot Sniper Method to a standard candlestick chart.
2. Select Auto, Dark, Light, or Phone Mode.
3. Start with symmetrical pivot settings.
4. Observe how right-side bars affect confirmation delay.
5. Select Both Trend Bias when studying raw signal behavior.
6. Select Bullish or Bearish when reviewing one direction only.
7. Begin with All Sessions when studying general behavior.
8. Test London, New York, or Custom session filtering.
9. Begin with the default Minimum Signal Strength.
10. Compare signal frequency at higher and lower thresholds.
11. Review the strength percentage below each BUY or SELL label.
12. Use the tooltip to inspect the confirmed pivot price.
13. Compare the five quality components in the dashboard.
14. Select the preferred Stop Loss Mode.
15. Verify that the structural stop is logically positioned.
16. Review the ATR fallback behavior.
17. Set TP1, TP2, and TP3 in increasing order.
18. Select the Break-Even rule.
19. Review when the Entry label disappears and BE replaces it.
20. Observe how new eligible signals replace an active tracked trade.
21. Review Live R and historical NET R.
22. Review failed setups as well as successful setups.
23. Create and test alerts.
24. Define personal position size independently.
25. Account for spread, commission, liquidity, news, and execution conditions.
The indicator is designed for structured study and monitoring.
It should not be treated as an automatic decision-maker.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━
📈 Trend Bias
Trend Bias
• Bullish
• Bearish
• Both
━━━━━━━━━━━━━━━━━━━━━━
⚙️ Pivot Settings
Pivot High Left Bars
Default:
10
Pivot High Right Bars
Default:
10
Pivot Low Left Bars
Default:
10
Pivot Low Right Bars
Default:
10
━━━━━━━━━━━━━━━━━━━━━━
🚨 Signal Settings
Show BUY / SELL Signals
Shows or hides signal labels.
Signal Cooldown Bars
Default:
0
━━━━━━━━━━━━━━━━━━━━━━
🕒 Time Filter
Trading Session
• All Sessions
• London
• New York
• London + New York
• Custom
Custom Session
Default:
08:00–17:00
Custom Session Time Zone
• Exchange
• UTC
• Europe/London
• America/New_York
• Europe/Istanbul
• Asia/Tokyo
━━━━━━━━━━━━━━━━━━━━━━
💪 Signal Strength
Enable Signal Strength Filter
Default:
On
Minimum Signal Strength
Default:
55
Show Strength on Signal
Default:
On
Strength Trend Length
Default:
50
Strength Volume Length
Default:
20
━━━━━━━━━━━━━━━━━━━━━━
📦 Trade Levels
Show Active Trade Levels
Default:
On
Stop Loss Mode
• ATR
• Pivot Level
• Pivot + ATR Buffer
• Signal Candle
ATR Length
Default:
14
Stop Loss ATR Multiplier
Default:
2.0
Pivot ATR Buffer
Default:
0.25
TP1 Risk / Reward
Default:
1.0R
TP2 Risk / Reward
Default:
2.0R
TP3 Risk / Reward
Default:
3.0R
Level Projection Bars
Default:
20
━━━━━━━━━━━━━━━━━━━━━━
🟡 Break-Even
Break-Even Mode
• Off
• After TP1
• After TP2
Default:
After TP1
Break-Even Offset Ticks
Default:
0
━━━━━━━━━━━━━━━━━━━━━━
📊 Statistics Dashboard
Show Statistics Dashboard
Default:
On
Dashboard Position
• Top Right
• Bottom Right
• Top Left
• Bottom Left
━━━━━━━━━━━━━━━━━━━━━━
🎨 Visual Settings
Theme Mode
• Auto
• Dark Mode
• Light Mode
• Phone Mode
Label Size
• Tiny
• Small
• Normal
• Large
• Huge
Phone Mode always uses Tiny.
━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Settings
Enable BUY Alerts
Default:
On
Enable SELL Alerts
Default:
On
Enable Dynamic Alerts
Default:
On
All public input values are hidden from PulseWire’s status line to reduce chart-header clutter.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━
Pivots, ATR, EMA, volume comparison, session filters, risk/reward levels, Break-Even, alerts, and performance statistics are established technical-analysis concepts.
These concepts are not unique by themselves.
The originality of Pivot Sniper Method lies in the coordinated implementation applied to them:
confirmed high and low pivots
→ same-bar directional-conflict rejection
→ Bullish / Bearish / Both permission
→ session filtering
→ cooldown
→ five-part 0–100 quality model
→ minimum-quality acceptance
→ compact two-line BUY / SELL labels
→ confirmation-close Entry
→ four selectable Stop Loss models
→ ATR structural-stop validation fallback
→ independently adjustable TP1 / TP2 / TP3
→ target-state visual updates
→ TP1- or TP2-based Break-Even
→ Entry-to-BE visual replacement
→ active-trade replacement at current close
→ internal partial-R accounting
→ desktop and Phone dashboards
→ theme-aware colors
→ dashboard-corner selection
→ detailed static and dynamic alerts
Distinctive implementation features include:
• using five quality dimensions inside one pivot-reversal workflow
• separating pivot confirmation from Entry timing
• using the original pivot candle for wick quality
• using the later confirmation candle for candle quality and Entry
• applying session control only to new entries
• supporting four Stop Loss construction methods
• validating structural stops and falling back to ATR when required
• removing the Entry visual after Break-Even replaces it
• tracking replacement exits in R
• showing latest quality components in a compact dashboard
• supporting both individual events and one combined dynamic-alert workflow
The script is not a collection of unrelated indicators.
Every component supports the same objective: evaluating and managing a confirmed pivot-reversal setup under explicit, reviewable rules.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT PRACTICAL NOTES
━━━━━━━━━━━━━━━━━━━━━━
Signal frequency depends on:
• symbol
• timeframe
• data provider
• pivot left and right settings
• Trend Bias
• selected session
• cooldown
• minimum strength
• EMA length
• volume length
• ATR availability
• historical data availability
Higher right-side pivot values increase confirmation delay.
Higher strength thresholds reduce accepted signals.
Session filtering can remove otherwise valid setups.
The strength score is not a probability forecast.
The Trend component is part of the score, not a separate hard trend filter.
The script replaces an active tracked trade when a new eligible signal appears.
The script does not retain completed trade lines historically.
Dashboard statistics use loaded chart history only.
Different exchanges, brokers, and data feeds can produce different:
• highs
• lows
• closes
• pivots
• wick measurements
• volume values
• ATR values
• EMA values
• signals
• stop levels
• target levels
• replacement exits
• historical statistics
Changing available history can change the first eligible setup and later active-trade sequencing.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS AND SHORTCOMINGS
━━━━━━━━━━━━━━━━━━━━━━
This script has important limitations.
It does not guarantee profitable trades.
It does not predict future price movement with certainty.
It does not execute orders.
It does not place broker Stop Loss orders.
It does not place broker Take Profit orders.
It does not calculate position size.
It does not calculate account risk.
It does not include spread.
It does not include commission.
It does not include slippage.
It does not include latency.
It does not include swap or financing.
It does not include taxes.
It does not model partial fills.
It does not model order rejection.
It does not model contract specifications.
It does not model tick-by-tick execution.
It uses historical OHLC bars.
It cannot always determine whether Stop or target occurred first inside one candle.
It resolves same-candle ambiguity in favor of the active Stop.
It begins trade-management checks on the candle after Entry.
It requires right-side pivot confirmation.
It cannot identify a confirmed pivot on the original pivot candle.
It can react with delay when larger right-side values are used.
It rejects simultaneous high and low pivot confirmation.
It can reject setups through bias, session, strength, or cooldown rules.
It replaces an active tracked trade when a new eligible signal appears.
A replacement exit can close a trade before its mapped Stop or TP3.
Its Signal Strength is an internal score, not a probability.
Its volume component depends on available volume data.
Its dashboard is not Strategy Tester.
Its statistics are not audited.
Its Win Rate excludes exact 0R Break-Even results.
A positive Break-Even offset can classify a BE hit as positive R.
Its target hit rates use total trades started.
Its statistics depend on loaded chart history.
Changing settings recalculates historical behavior.
Alerts depend on PulseWire and user configuration.
Alerts do not guarantee broker execution.
━━━━━━━━━━━━━━━━━━━━━━
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
━━━━━━━━━━━━━━━━━━━━━━
This script may be useful for traders who:
• understand pivot confirmation
• want BUY and SELL signals based on confirmed price pivots
• prefer a quality score instead of equal treatment for every pivot
• want separate Bullish and Bearish direction controls
• want London, New York, or Custom session filtering
• want selectable ATR or structural stops
• want independently adjustable R targets
• want TP1- or TP2-based Break-Even
• want active trade levels on the chart
• want compact tooltips
• want loaded-history R statistics
• want a compact desktop dashboard
• want a reduced Phone Mode
• want detailed PulseWire alerts
• understand that historical chart results are not verified execution
It may be less suitable for users who:
• want signals on the original unconfirmed pivot candle
• want no pivot delay
• want tick-level backtesting
• want multiple simultaneous tracked trades
• want new signals ignored while a trade is active
• want historical completed-trade lines preserved
• want automatic broker execution
• want position sizing
• want commission and slippage modeling
• want guaranteed reversal signals
• interpret Signal Strength as win probability
• expect historical Win Rate to continue unchanged
━━━━━━━━━━━━━━━━━━━━━━
🧭 BEST-PRACTICE SUGGESTIONS
━━━━━━━━━━━━━━━━━━━━━━
For studying pivot sensitivity:
• begin with equal high and low pivot settings
• compare smaller and larger left / right values
• remember that right-side values directly affect delay
For studying raw signal behavior:
• use Both Trend Bias
• use All Sessions
• use a moderate minimum strength
• review every accepted BUY and SELL
For directional study:
• use Bullish or Bearish
• compare results separately
• do not assume one direction will remain superior
For session-based review:
• compare All Sessions with London or New York
• use the exchange’s actual liquidity characteristics
• remember that active trades remain managed outside the session
For Signal Strength:
• begin with 55
• compare frequency at 45, 55, and 65
• review the five components
• do not interpret the percentage as guaranteed probability
For risk mapping:
• begin with ATR 14 and 2.0 multiplier
• compare ATR with Pivot Level
• compare Pivot Level with Pivot + ATR Buffer
• maintain logical TP1 < TP2 < TP3 values
For Break-Even:
• compare Off with After TP1
• test After TP2 for wider trade development
• keep the tick offset realistic for the instrument
For chart clarity:
• use Auto for general use
• use Dark or Light when manual control is preferred
• use Phone Mode on smaller screens
• move the dashboard away from important price action
• adjust label size according to chart density
Always:
• wait for confirmed signals
• review broader market structure
• review liquidity and volatility
• review news risk
• define personal account risk
• calculate position size independently
• test the exact symbol, timeframe, and data feed
• inspect failed trades as well as successful trades
• recreate alerts after important configuration changes
━━━━━━━━━━━━━━━━━━━━━━
🔓 PUBLICATION NOTE
━━━━━━━━━━━━━━━━━━━━━━
Pivot Sniper Method is published as an educational pivot-confirmation, signal-quality, session-filtering, risk-mapping, Break-Even, statistics, and alert tool.
The purpose of this description is to explain:
• how pivots are confirmed
• why signals appear after the original pivot
• how BUY and SELL candidates are formed
• how simultaneous pivot conflicts are rejected
• how Trend Bias affects eligibility
• how session filtering affects new entries
• how cooldown affects frequency
• how the five Signal Strength components work
• why Signal Strength is not a probability
• how Entry is defined
• how each Stop Loss Mode works
• how invalid structural stops fall back to ATR
• how TP1, TP2, and TP3 are calculated
• how Break-Even activates
• why Entry disappears after BE becomes active
• how same-candle Stop / target ambiguity is handled
• how active trades are replaced by new eligible signals
• how internal R statistics are calculated
• what the dashboard displays
• how Phone Mode differs
• what alerts include
• what the script does not simulate
• why historical results can change
The script is designed to support structured review.
It does not promise profitable results.
It does not remove market risk.
It does not replace independent analysis.
It does not replace personal risk management.
━━━━━━━━━━━━━━━━━━━━━━
🕒 REPAINTING, BACKPLOTTING, AND TIMING DISCLOSURE
━━━━━━━━━━━━━━━━━━━━━━
Pivot Sniper Method uses confirmed price pivots.
Pivot confirmation requires future candles relative to the original pivot location.
The number of required right-side candles is controlled independently for pivot highs and pivot lows.
The script does not know that a pivot exists on the original pivot candle.
After the required right-side candles complete:
• the pivot becomes confirmed
• the candidate is evaluated
• Signal Strength is calculated
• filters are applied
• the BUY or SELL label can appear on the confirmation candle
• the tracked Entry can open at the confirmation-candle close
The BUY or SELL trade label is not plotted back on the original pivot candle.
The Entry is not backdated.
Signals require confirmed chart bars.
This reduces unfinished current-bar variation.
It does not remove:
• pivot confirmation delay
• differences between historical OHLC and tick sequence
• data-feed differences
• changes caused by settings
• changes caused by loaded history
• market risk
Historical results can change when:
• pivot settings change
• Trend Bias changes
• session settings change
• cooldown changes
• strength settings change
• ATR settings change
• Stop Loss Mode changes
• target settings change
• Break-Even settings change
• symbol changes
• timeframe changes
• exchange or broker feed changes
• available chart history changes
Users should interpret the original pivot price as historical structure and the later BUY / SELL candle as the actual confirmed signal timing.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━
Pivot Sniper Method is provided for educational and informational purposes only.
It does not constitute financial, investment, trading, legal, accounting, or tax advice.
No indicator can guarantee future results.
Markets are uncertain.
Price structure changes.
Volatility changes.
Liquidity changes.
Volume behavior changes.
Session behavior changes.
Historical chart behavior does not ensure future performance.
Every user is responsible for their own:
• analysis
• validation
• symbol selection
• timeframe selection
• pivot settings
• directional bias
• session selection
• quality threshold
• Stop Loss selection
• target planning
• Break-Even selection
• position sizing
• risk management
• alert configuration
• trading decisions
• broker execution
• legal obligations
• tax obligations
The pivots, BUY labels, SELL labels, Signal Strength values, Entry levels, Stop Loss levels, Break-Even levels, TP1 levels, TP2 levels, TP3 levels, active lines, labels, tooltips, dashboard values, Win Rate, NET R, Average R, target hit rates, and alerts are visual analysis tools only.
A confirmed pivot is not a guaranteed reversal.
A high Signal Strength value is not a guaranteed winning trade.
A TP label is not proof of an actual broker fill.
A Stop Loss event is not proof of an actual broker fill.
The dashboard is not verified account performance.
The statistics are not audited.
The script does not include spread, commission, slippage, latency, financing, taxes, partial fills, order rejection, position sizing, account equity, or broker-specific execution.
Use the script as a structured pivot-reversal review, trade-mapping, and monitoring framework—not as a promise of profitability or a substitute for independent judgment.
Indicator

Risk Manager & Position Sizer [martineye15]Prop Firm Risk Manager & Position Sizer — a position-size calculator and rule checker built for funded-account and challenge traders. Place your entry, stop-loss and take-profit on the chart, and the panel returns the exact lot size for your chosen risk, then checks that trade against your prop-firm rules before you take it.
THE CORE IDEA: RISK IS FIXED, LOT SIZE FLOATS
Risk money = account size x risk % (or a fixed cash amount). Lot size = risk money / (stop distance x value per lot + commission). Widening the stop shrinks the position; tightening it grows the position. The money at risk never changes. Sizes are rounded DOWN to your broker's lot step, so actual risk never exceeds planned risk.
TRADE LEVELS
Entry, stop-loss and take-profit are interactive price inputs — click to place them when you add the indicator, then drag the price lines to re-plan and watch every number update live. Entry can follow the current price (market) or sit at a placed level (pending). Direction is derived from the stop's side of entry, or forced long/short to validate your geometry. Optionally, an ATR module sets the stop and target automatically at entry -/+ ATR x multiplier, using the chart timeframe or a higher one, and either the live or the last closed bar's ATR.
ACCOUNT & INSTRUMENT
Set your account size, account currency and risk (percent of account or a fixed cash amount). If the symbol's quote currency differs from your account currency, a conversion rate is fetched automatically (direct pair first, then inverse) and a warning appears if neither resolves. Broker specs are fully adjustable: contract size (auto-derived or manual, for the many CFD symbols whose specs differ from the exchange's), lot step, minimum and maximum lot, and round-trip commission per lot, which is treated as part of the loss. A manual lot override works in reverse: enter a size you already have in mind and the panel tells you the risk money and risk percentage it actually carries.
PROP-FIRM RULE ENGINE
Enter your firm's limits — maximum daily loss, maximum total drawdown, per-trade risk cap, maximum lots, maximum portfolio open risk, and profit target (typical challenge rules are 5% daily, 10% total, 10% target). Log how much you have already lost today and your running P/L, and the panel shows:
- Remaining daily loss budget, and whether this trade fits inside it
- How many identical losing trades it would take to breach the daily limit
- Remaining total drawdown buffer, reduced by any running loss
- Pass/fail on the per-trade risk cap, the lot cap, and combined open risk across positions
- Distance to your profit target, in money and in R multiples of this trade's risk
- A minimum risk:reward check
With hard block enabled, any failed check turns the panel header red and shows DO NOT TRADE.
PANEL, DRAWINGS & ALERTS
A dashboard table (four corner positions, normal or compact, dark or light) shows direction, levels, lot size, units, risk and reward in money and percent, risk:reward, per-pip value for the sized position, every rule check, and a plain-language warnings list explaining anything that is wrong or clamped. Entry, stop and target are drawn as labelled lines with shaded risk and reward zones. Alerts are available for entry, stop or target touches — with the computed lot size and risk in the message — and for any rule check flipping to fail.
HOW TO USE
Add the indicator, click to place entry, stop and target. Set your account size, currency and risk percentage, then enter your broker's contract size, lot step and commission (check these against your own account — CFD specs vary between brokers). Enter your firm's daily loss, drawdown, target and cap rules once. Before each trade, drag the levels to your plan, update the loss-taken-today and current P/L fields, read the lot size, and only take the trade if every check passes.
WHAT MAKES IT DIFFERENT
Most position sizers stop at the lot size. This one continues into the rules that actually end funded accounts: it treats the daily loss budget, the drawdown buffer and total open risk as constraints the trade must fit inside, tells you how many more losses you can survive today, expresses your remaining profit target in R multiples of the position in front of you, and can visibly block the trade when a rule fails. Commission is priced into the size, results are rounded conservatively, and every clamp or failure is explained in plain language rather than silently applied.
IMPORTANT LIMITATIONS — PLEASE READ
Pine Script cannot access your broker account. Account size, loss already taken today, current P/L and risk committed to other open positions are MANUAL inputs — the tool is only as accurate as what you enter, so keep them current during the session. It cannot read your live balance, equity, open positions, spread, swap or margin, and it cannot place, modify or close orders — this is a calculator and a checklist, not an execution tool. PulseWire's symbol specifications may not match your prop firm's CFD specifications, which is what the manual contract size override is for: verify the lot size against your broker before trading. The total drawdown check assumes a static limit measured from the initial balance and does not model trailing drawdown. Figures update live with the current bar (ATR in "Current" mode changes as the bar forms); use the "Previous" ATR setting for stable values.
This is a calculation and decision-support tool. It is not a strategy, generates no trade signals, and is not financial advice. Always verify position sizes against your own broker and risk rules. Indicator

Position Size Calculator - Risk Manager, Risk/Reward & L[LunqFX]Risk Manager is an on-chart position size and risk/reward calculator for PulseWire that turns proper risk management into one click. Set your account size and risk per trade %, and it instantly gives you the exact position size (units / lots / contracts / shares), your risk and reward in dollars, the risk/reward ratio, and the breakeven win rate you need to be profitable — all visualized as clean risk and reward zones right on the chart. It works out of the box with an auto ATR setup (Entry / Stop Loss / Take Profit placed for you), or type your own levels. Built in Pine Script v6, it works on forex, crypto, stocks, indices, futures, gold (XAUUSD) and Bitcoin (BTCUSD), on any timeframe — because it sizes risk, not signals. Keywords: position size, position sizing, risk management, risk reward, risk/reward ratio, lot size calculator, money management, stop loss, take profit, R multiple, risk per trade, breakeven win rate, Kelly criterion, day trading, swing trading, scalping.
◆ WHY THIS MATTERS
Most traders blow accounts not because of bad entries, but because of bad position sizing and inconsistent risk. Professionals risk a fixed small % per trade (commonly 0.5–2%) and know their risk/reward before they click buy. This tool enforces that discipline on every trade — no spreadsheets, no external calculators.
◆ WHAT IT DOES
Exact position size from your account balance and risk %, in units, lots, contracts, shares or coins.
Risk and reward in account currency and as a % of account.
Risk/reward ratio with a clean visual meter.
Breakeven win rate — the minimum win rate needed to be profitable at your current R:R (a metric most calculators skip).
Visual risk zone (red) and reward zone (green) drawn between Entry, Stop and Target.
Optional fractional Kelly suggested risk %.
A modern, colour-coded dashboard.
◆ HOW IT WORKS
Auto mode (default): Entry is set at price, Stop at a chosen ATR distance, and Target at your chosen R multiple — a valid setup appears instantly on any instrument.
Manual mode: turn Auto off and enter your own exact Entry / Stop / Target prices in the settings.
Position size = (account balance × risk %) ÷ (distance from entry to stop). This guarantees that if the stop is hit, you lose exactly your chosen risk %.
Reward = position size × distance to target; R:R = reward ÷ risk.
Breakeven win rate = 100 ÷ (1 + R:R) — e.g., at 2R you only need to win >33% of trades to break even.
Lots/contracts = units ÷ your contract size (100000 for a forex standard lot, 1 for stocks/crypto, your multiplier for futures).
◆ HOW TO USE IT
Set Account balance and Risk per trade % once (e.g., 1%).
Pick Auto direction (Long/Short) or switch to manual and place your real Entry/Stop/Target.
Read the Position size — that is exactly how much to trade so your loss at stop = your set risk.
Check the R:R meter and Breakeven — only take trades whose math fits your strategy’s win rate.
Use the red/green zones to see risk and reward visually before entering.
Adjust Contract size to match your instrument (forex lots, futures multiplier, etc.).
◆ SETTINGS
Trade Setup (auto ATR or manual prices, direction, ATR stop, target R), Account & Risk (balance, risk %, contract size, size label), Kelly (optional), Visuals (box length, neon candles), Panel (text size, position, colours).
◆ ALERTS
Price hit Entry · Price hit Stop · Price hit Target.
◆ ORIGINALITY
This is original work. The auto-ATR setup engine, the account-aware sizing, the visual risk/reward zones, the colour-coded dashboard with the R:R meter and the breakeven-win-rate readout are all my own implementation. No third-party code is used.
◆ LIMITATIONS
This is a planning and sizing tool, not a signal generator — it does not tell you when to buy or sell.
Position size assumes your account currency matches the quote currency; for cross-currency pairs or unusual contracts, set Contract size to match your broker’s lot/units.
The auto ATR setup is a starting template — always adjust Stop and Target to real structure.
Results depend on the inputs you provide (balance, risk %, contract size); double-check them for your broker.
◆ NON-REPAINTING
This is a calculator: it draws from your inputs and the current price and never alters historical bars.
Risk Manager is an educational tool, not financial advice. Trading involves risk of loss. Always do your own research and manage risk responsibly. © LunqFX. Indicator

Strong Risk Management | ProjectSyndicateStrong Risk Management turns trade planning into an institutional-grade pre-trade cockpit. Click your Entry, Stop, and three Take-Profit levels straight onto the chart and the tool instantly sizes the position, derives your leverage and margin, estimates the liquidation price, scores the setup, and stress-tests it against your prop-firm rules — all on two clean Bloomberg-amber panels. Every figure is computed live from your own inputs and the symbol's real tick size, not hard-coded, so the numbers describe the exact trade you are about to take, right now.
🎯 Click-to-Place Interactive Levels — drop Entry, Stop Loss, and TP1 / TP2 / TP3 directly on the chart and drag them whenever you want, just like native drawing tools. An anchor-time input lets you pin the setup to a specific bar, direction (Long / Short) is auto-detected from where your stop sits, and every level you place is always respected — the auto R-multiples only fill in the targets you leave blank.
🧮 Fee-Aware Position Sizing — the engine uses the classic fixed-fractional model and sizes the position so a full stop-out equals exactly the risk you defined, with entry and exit fees folded into the math. Choose your risk as a percentage of balance, a percentage of allocated trade capital, or a fixed cash amount, and read the precise contracts/size and notional position value it produces.
⚡ Three Leverage Modes + Liquidation Engine — run Isolated Capital (leverage derived from the margin you commit), Fixed Leverage (you set the multiplier), or Auto-Safe Leverage, which automatically picks the highest leverage that still keeps your liquidation price safely beyond your stop by a configurable buffer. The panel shows effective trade leverage, account leverage, maintenance margin rate and amount, the estimated liquidation price, and how many times further it sits than your stop — with a loud warning if liquidation would ever come before your stop is hit.
📊 Dual Bloomberg-Amber Panels — Panel 1 (Risk Console) lays out balance, trade capital, risk model, max loss, the full setup (entry, stop, stop distance, break-even, size, position value), the leverage and liquidation block, and the setup-quality verdict. Panel 2 (Prop Guardrails + Take-Profit Plan) handles the funded-account rule checks and the full target ladder. Position each panel independently anywhere on the chart.
🛡️ Prop-Firm Guardrails — purpose-built for funded and challenge traders. Set your account size, phase (Challenge / Verification / Funded), daily loss limit, maximum drawdown (with a trailing option), profit target, per-trade risk cap, and consistency rule, then see this trade scored against every one of them with SAFE / CAUTION / VIOLATION lights and an overall status. It also tells you how many trades like this you can take before breaching your daily and max-drawdown budgets, how much budget is left, and how many wins remain to the profit target.
🎚️ Take-Profit Ladder with FULL / SLICE — each target shows its price, R multiple, and allocation %, plus the dollars it books two ways: FULL (if you closed the whole position there) next to SLICE (what your partial allocation actually books). The plan rolls up into a Plan Profit row with blended R and ROI on margin, so partial exits never look inconsistent against a full-size stop again.
↔️ Reward : Risk Verdict — a single, color-coded 1 : x line grades the whole plan EXCELLENT / GOOD / MARGINAL / POOR, so a setup whose targets sit inside the stop distance screams at you instead of hiding inside an average. A companion "1R Value (full, net)" read exposes the fee drag by showing what one clean R is actually worth in cash after costs.
★ 0–10 Setup Quality Score — a composite grade blending reward-to-risk quality, risk-per-trade discipline, liquidation safety, and prop-rule headroom into one number and an ELITE / STRONG / FAIR / WEAK tier, for a fast go/no-go read before you commit.
🟢 Risk-Free-After-TP1 Read — shows exactly what closing your first partial locks in, and confirms that trailing your stop to break-even afterwards takes the remaining downside to near zero — the de-risking move spelled out in dollars.
🖥️ On-Chart Trade Map — the full trade is drawn as banded zones (profit, loss, a liquidation-danger band, and a runner zone beyond TP3), precise level lines for entry, stop, every target, break-even, and liquidation, and right-edge labels carrying each level's price, R multiple, and cash value at a glance.
🔴 Honest Live Trade Tracker — once price reaches your entry, the tool tracks floating P&L and then prints a clear ✓ TARGET HIT or ✘ STOPPED OUT outcome. Losers are never hidden, and same-bar ambiguity is always resolved pessimistically to the stop, so the read stays truthful.
🔔 Native Alerts — fire on entry triggered, target hit, stopped out, and any prop-firm guardrail violation, so you can wire the cockpit straight into your workflow.
🧩 Fully Customizable — choose each panel's position (Top / Middle / Bottom paired with Left / Right) and text size, pick your quote-currency symbol, set entry and exit fees, the maintenance-margin rate and liquidation safety factor, your R multiples and allocation split, auto-vs-manual targets, and toggle the chart zones, liquidation line, break-even line, and live tracker — all from the settings menu, no code editing required.
🎯 Why this is different — most position-size calculators hand you a lot size and stop there. This is a complete pre-trade cockpit: it sizes the trade, derives leverage and margin, estimates liquidation, scores the setup, grades the reward-to-risk honestly with fees included, and checks the whole thing against your funded-account rules — two panels that answer "how big, how safe, and is this even worth taking?" before you click buy or sell.
🚀 Where to use it — works on any symbol and timeframe. Built with crypto perpetuals, futures, and margin/leverage trading in mind, but equally useful for forex and stocks: plan the trade, validate the sizing and prop-rule headroom, then execute with the levels already mapped on your chart.
⚠️ Important — this is a research and decision-support tool, not a buy/sell system, and it makes no performance guarantees. Liquidation price, fees, maintenance margin, and leverage figures are simplified estimates and can differ from your specific broker or exchange — always verify against their exact contract specifications before sizing a live position. Nothing here is financial advice. Pair it with your own analysis and risk management. Indicator

Strategy

0.75% Rule - Trade ProjectionA position-sizing and reward-projection overlay for discretionary traders.
You place an entry and a stop on the chart, and the script returns the
position size that risks a fixed fraction of your account, then projects
your reward targets as R-multiples. Direction (long or short) is inferred
from where you click. The focus is getting currency-correct sizing right
with as little input as possible, and catching the sizing mistakes that
quietly distort risk.
📊 What it does
- Sizes the trade so the entry-to-stop distance equals a fixed percentage
of account equity. Default is 0.75%, a conservative fixed-fractional
risk rule, but the percentage is adjustable.
- Reports the result in the correct unit for the instrument: lots and
units for forex, or contracts/shares sized off point value elsewhere.
- Projects a configurable number of reward targets spaced in R-multiples
(1R, 2R, 3R ...), each labeled with its R-multiple and the reward amount
in your account currency.
- Draws the risk zone (entry to stop) and reward zones, plus an info panel
summarizing account, risk, direction, stop distance, size and R:R.
⚙️ How it works
- Risk amount = account size x risk %. Position size = risk amount /
(stop distance x point value x conversion rate). For forex this is
converted into standard lots.
- Direction is read from the two clicks: a stop below entry is a long,
a stop above entry is a short.
- Instrument detection is automatic (forex, JPY pairs, metals, index,
crypto) via symbol info, with a manual override if you need it.
- Account-to-quote currency conversion is explicit and manual. The
account-currency dropdown is a display label only; the single field
that adjusts lot size is the conversion rate. The panel flags the two
mistakes that actually distort risk: leaving the rate at 1.0 on a
mismatched pair, and applying a non-1.0 rate when the currencies match.
- An optional ATR-based stop can override the clicked stop (length and
multiplier adjustable). Direction still comes from your clicks.
- Repaint-free by construction: no higher-timeframe requests, entry and
stop are static prices, and all drawing is deterministic.
📋 How to use it
1. Add the script. It prompts you to click an entry price, then a stop.
2. Set account size and risk % in settings (default 0.75%).
3. If your account currency differs from the pair's quote currency, enter
the conversion rate (account currency per one unit of quote currency).
The panel warns you when a rate is needed.
4. Read position size, R:R and target levels from the panel and on-chart
labels.
5. For a new setup, open the indicator menu, choose Reset points, then
re-click entry and stop. The Re-arm toggle pauses the current
projection so a stale setup cannot mislead you.
## Notes
- This is a planning and risk-discipline tool, not a signal generator and
not financial advice. It does not place trades.
- For non-forex instruments, sanity-check the point value against your
broker's contract specs before trusting the size.
- Inputs are absolute prices, so after switching symbols you may need to
re-click entry and stop. The script detects an off-scale setup and
prompts you. Indicator

Strategy

Risk Navigator Levels [JOAT]Risk Navigator Levels is an open-source Pine Script v6 overlay that turns confirmed trend-engine flips into a clean visual trade planning map. It draws an entry line, stop line, TP1, TP2, TP3, R-multiple labels, and optional risk/reward boxes after a confirmed setup.
The script is not a full trading system. Its purpose is visual planning: once its internal engine confirms a new long or short state, it freezes the entry, stop, and target levels so the user can inspect structure, distance, and status without manually drawing every line.
Core Concepts
1. Trend Engine Gate
The engine compares a fast EMA, slower EMA basis, ATR gate, and VWAP. A long setup requires the fast line above the basis, price above the upper gate, price above VWAP, and fast-line slope agreement. Shorts use the mirrored logic.
riseReady = fastLine > baseLine and close > upperGate and close > vwapLine and fastLine > nz(fastLine , fastLine)
fallReady = fastLine < baseLine and close < lowerGate and close < vwapLine and fastLine < nz(fastLine , fastLine)
2. Confirmed Direction Change
The script only creates a new level set when the engine direction changes on a confirmed bar.
confirmedLong = barstate.isconfirmed and engineDir == 1 and previousDir != 1
confirmedShort = barstate.isconfirmed and engineDir == -1 and previousDir != -1
3. Stop Selection
The stop is based on recent swing lookback and an ATR floor. This prevents the stop from being unrealistically tight relative to current volatility.
4. R-Multiple Targets
Once risk is calculated, TP1, TP2, and TP3 are plotted as multiples of that risk. The default values are 1R, 2R, and 3R.
5. Status Tracking
After a setup, the script tracks whether the stop or each target has been touched on confirmed bars and updates labels and dashboard status.
Features
Confirmed setup engine: Uses EMA, ATR gate, VWAP, and slope checks
Frozen entry and stop: Levels are created at setup time
TP1, TP2, TP3 targets: Target levels are R-multiple based
Risk/reward boxes: Optional green and red boxes show distance visually
Status labels: Shows whether SL, TP1, TP2, or TP3 has been touched
Right-edge labels: Keeps levels readable without crowding older bars
Dashboard: Shows mode, engine state, R size, targets, and status
Alerts: Setup, stop touch, and target touch conditions
Input Parameters
Visuals:
Palette Preset: Selects color pair
Level Reach Bars: Forward extension of lines and boxes
Risk/Reward Boxes: Toggles the boxes
Engine:
Source: Price source
Fast Length: Fast EMA length
Base Length: Slow EMA basis length
ATR Length: Volatility length
Confirmation Gate: ATR gate around the basis
Risk:
Stop Lookback: Swing lookback used for stop reference
ATR Stop Floor: Minimum stop distance multiplier
TP1 R / TP2 R / TP3 R: Target multiples
How to Use This Indicator
Step 1: Wait for a Confirmed Setup
The script draws a new plan only after its engine direction changes on a confirmed bar.
Step 2: Inspect R Size
The dashboard R size shows the distance between entry and stop. Large R size means the setup requires wider risk.
Step 3: Monitor Touch Status
Labels and dashboard status update when the stop or targets are touched after the setup bar.
Step 4: Use as a Planning Tool
The levels help visualize trade structure. They do not replace account-level risk controls.
Indicator Limitations
This is a visual planning tool, not a complete execution strategy
The engine can produce late signals during fast reversals
Targets are mathematical R levels, not forecasts
A stop touch and target touch can occur in the same bar on some candles; intrabar order cannot be known from closed OHLC alone
Originality Statement
Risk Navigator Levels is original in its integration of a confirmed trend gate, VWAP location, ATR stop floor, frozen R-level drawing system, and live status tracking. It is built as original Pine v6 code for transparent visual planning.
Disclaimer
This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Levels shown by the script are visual research levels and may not match actual execution conditions. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
Indicator

Strategy

Candle Pressure Flip Engine [trade_w_samet]🎯 Candle Pressure Flip Engine
Candle Pressure Flip Engine is a professional candle-pressure reversal and trade-visualization indicator designed to help traders study potential pressure-shift conditions directly on the price chart.
This script combines:
🔥 candle pressure analysis
⚡ exhaustion move detection
🕯️ rejection wick logic
📍 close-location pressure
📊 volume burst confirmation
🧭 RSI momentum flip confirmation
🧠 Auto Best optimizer logic
🎯 target / risk projection boxes
🏷️ BULLISH / BEARISH flip labels
🏁 WIN / LOSS result stamps
🩸 Crimson Spine + Echo + Fill visual system
🚨 professional alert messages
🎨 multiple visual themes
📦 historical target/risk visual tracking
The goal of Candle Pressure Flip Engine is not to predict the future or provide guaranteed buy/sell instructions.
Its purpose is to help users visually study:
⚡ exhaustion after aggressive moves
🕯️ candle rejection behavior
📍 where price closes inside the candle range
📊 whether volume expanded during the reaction
🧭 whether RSI momentum started turning
🎯 projected target and risk areas
🏁 visual target/risk outcomes
🩸 price-following pressure visuals
🚨 alert-based chart monitoring
Candle Pressure Flip Engine should be treated as a structured chart-analysis and educational decision-support tool.
It is not financial advice.
It is not an automated trading system.
It does not guarantee profitable results.
It does not place broker orders.
It does not remove the need for personal analysis, risk management, or trade validation.
━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━
At a high level, Candle Pressure Flip Engine does the following:
🔥 Measures the size of the prior price move using ATR-based exhaustion logic.
🕯️ Checks whether the signal candle shows meaningful rejection wick pressure.
📍 Evaluates where the candle closes inside its own range.
📊 Optionally confirms the move with volume expansion.
🧭 Optionally confirms momentum change using RSI behavior.
🧠 Runs a background optimizer to compare internal setup combinations.
🎯 Draws a single target zone and risk zone after confirmed signals.
📦 Keeps historical target/risk boxes on the chart.
🏁 Tracks whether target or risk was reached first.
🏷️ Prints clean BULLISH FLIP ▲ and BEARISH FLIP ▼ labels.
🩸 Displays a premium Crimson Spine + Echo + Fill visual trail around price.
🚨 Provides professional human-readable and JSON-style dynamic alerts.
This makes the script more than a simple signal-label indicator.
It is designed as a complete candle-pressure review environment that combines candle behavior, exhaustion context, rejection, momentum, volume, visual planning, and alerts.
━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE IDEA
━━━━━━━━━━━━━━━━━━━━━━
The core idea behind Candle Pressure Flip Engine is that a potential reversal should not be judged from a single isolated condition.
A candle can look strong, but without context it may not mean much.
For that reason, this script combines several layers:
🔥 exhaustion move context
🕯️ rejection wick behavior
📍 close-position pressure
📊 volume burst confirmation
🧭 RSI momentum turn
🧠 optimizer-based internal comparison
🎯 target/risk visualization
🩸 visual price-following pressure trail
The script does not attempt to catch every reversal.
It attempts to highlight moments where the internal candle-pressure model detects a possible shift after price has already moved aggressively in one direction.
The purpose is not to create more signals.
The purpose is to make potential pressure-flip conditions easier to identify, review, and compare on the chart.
━━━━━━━━━━━━━━━━━━━━━━
🧩 WHY THIS SCRIPT IS NOT A SIMPLE BUY/SELL INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
Candle Pressure Flip Engine is not intended to behave like a basic “buy here / sell here” script.
It is built as a structured workflow:
Exhaustion Move
→ Candle Rejection
→ Close Pressure
→ Volume Burst
→ Momentum Flip
→ Score Requirement
→ Optional Auto Best Selection
→ BULLISH / BEARISH Flip Label
→ Target / Risk Projection
→ Result Tracking
→ Crimson Spine Visual Context
→ Alerts
Each part has a specific role.
🔥 The exhaustion engine checks whether price has moved enough before a flip is considered.
🕯️ The wick engine checks whether the candle rejected a level strongly enough.
📍 The close-pressure engine checks where the candle closed inside its range.
📊 The volume module checks whether the signal candle has volume expansion.
🧭 The momentum module checks whether RSI is turning in the expected direction.
🧠 The optimizer compares internal parameter combinations in the background.
🎯 The target/risk module draws visual planning zones.
🩸 The Crimson Spine module adds a premium price-following visual layer.
🚨 The alert module helps monitor signals and results without constantly watching the chart.
This makes the script a complete visual review framework, not a one-condition signal tool.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE SCRIPT WORKS
━━━━━━━━━━━━━━━━━━━━━━
🔥 EXHAUSTION MOVE ENGINE
The script first checks whether price has made a meaningful move over a selected lookback period.
This is done using:
• Exhaustion Lookback
• Minimum Exhaustion Move ATR
• Minimum Directional Bars
• ATR-based move measurement
A bullish flip can only appear after bearish exhaustion conditions are detected.
A bearish flip can only appear after bullish exhaustion conditions are detected.
This means the script is designed to look for possible pressure flips after directional movement, not random candles in the middle of neutral price action.
For bullish setups, the script looks for prior downside pressure.
For bearish setups, the script looks for prior upside pressure.
This creates the first layer of context.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ REJECTION WICK ENGINE
━━━━━━━━━━━━━━━━━━━━━━
After exhaustion is detected, the script checks the signal candle itself.
For a bullish flip, the script evaluates the lower wick.
For a bearish flip, the script evaluates the upper wick.
The purpose is to identify whether price rejected one side of the candle range.
The main setting is:
Minimum Rejection Wick %
A larger rejection wick requirement makes the script more selective.
A smaller rejection wick requirement allows more potential signals.
The wick condition does not guarantee that price will reverse.
It only means that the candle showed rejection behavior according to the script’s internal model.
━━━━━━━━━━━━━━━━━━━━━━
📍 CLOSE-PRESSURE ENGINE
━━━━━━━━━━━━━━━━━━━━━━
The script also evaluates where the candle closes inside its own range.
This is important because a rejection wick alone is not always enough.
For bullish flips, the script prefers candles that close closer to the upper part of the candle range.
For bearish flips, the script prefers candles that close closer to the lower part of the candle range.
This is controlled by:
Close Pressure Threshold %
Example:
If the threshold is 65%, a bullish candle must close relatively high in its candle range.
For bearish flips, the inverse logic is used.
This helps the script avoid weak candles that reject but fail to close with enough pressure.
━━━━━━━━━━━━━━━━━━━━━━
📏 BODY PRESSURE ENGINE
━━━━━━━━━━━━━━━━━━━━━━
The script also checks the body size of the signal candle.
This is controlled by:
Minimum Reversal Body %
The candle body is measured as a percentage of the full candle range.
This helps avoid extremely weak candles where the wick may be large but the body does not show enough directional pressure.
A higher value makes the script more selective.
A lower value allows more signals.
This does not mean a larger candle body is always better.
It simply gives the model a minimum candle-strength requirement.
━━━━━━━━━━━━━━━━━━━━━━
📊 VOLUME BURST CONFIRMATION
━━━━━━━━━━━━━━━━━━━━━━
Candle Pressure Flip Engine includes an optional Volume Burst filter.
When enabled, the script compares current volume to its moving average.
The main settings are:
📊 Use Volume Burst
📊 Volume MA Length
📊 Minimum Volume Multiplier
Example:
A Minimum Volume Multiplier of 1.10 means the current volume must be at least 10% above its average.
The purpose is to check whether the pressure-flip candle appeared with above-average participation.
This can be useful on markets where volume data is meaningful.
Important note:
Some symbols, brokers, CFDs, forex feeds, or synthetic markets may have limited or less reliable volume data.
Users can disable this filter if volume is not useful for their selected market.
━━━━━━━━━━━━━━━━━━━━━━
🧭 RSI MOMENTUM FLIP CONFIRMATION
━━━━━━━━━━━━━━━━━━━━━━
The script includes an optional RSI Momentum Flip module.
This does not use RSI as a classic overbought/oversold signal.
Instead, the script checks whether RSI is turning in the expected direction.
Main settings:
🧭 Use Momentum Flip
🧭 RSI Length
🧭 RSI Turn Lookback
🧭 Bullish RSI Max After Flip
🧭 Bearish RSI Min After Flip
For bullish flips, RSI should start turning upward without already being too extended.
For bearish flips, RSI should start turning downward without already being too extended.
This is designed to help filter signals where candle pressure appears but momentum has not started shifting yet.
RSI confirmation is only one part of the model.
It does not guarantee future price movement.
━━━━━━━━━━━━━━━━━━━━━━
🧠 AUTO BEST OPTIMIZER
━━━━━━━━━━━━━━━━━━━━━━
Candle Pressure Flip Engine includes a background optimizer.
The optimizer compares controlled internal combinations of:
• Exhaustion move requirement
• Rejection wick requirement
• Signal score requirement
• Risk/reward target
The optimizer can be set to:
Light 27
Full 81
Light mode tests fewer combinations.
Full mode tests a deeper combination set.
The script can automatically use the best internal combination after enough closed virtual outcomes are collected.
This is controlled by:
🧠 Use Background Optimizer
🧠 Auto Use Best Optimizer Combo
🧠 Optimizer Grid Depth
🧠 Best Combination Ranking
🧠 Minimum Trades For Best Combo
Important note:
The optimizer is an internal visual-analysis feature.
It is not the same as PulseWire Strategy Tester.
It does not include broker execution, spread, slippage, commissions, order delay, partial fills, or real trade management.
It should be treated as a chart-based adaptive review tool, not as a guarantee of improved future performance.
━━━━━━━━━━━━━━━━━━━━━━
🎯 TARGET / RISK VISUAL SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
When a valid candle pressure flip appears, the script can draw a projected trade plan.
The chart can show:
🎯 Target Zone
⚠️ Risk Zone
📍 Entry Zone
📈 Target line
🛑 Risk line
🏁 WIN / LOSS result stamp
The system uses a single target model.
There are no TP1 / TP2 / TP3 levels in this script.
The default target is based on the selected Risk Reward value.
Default:
Target Risk Reward = 2.0R
The risk distance can be calculated using:
Signal Wick
ATR
Hybrid
The current default risk mode is ATR.
The ATR multiplier used in the model is fixed internally at 4.0.
This creates a consistent risk projection structure.
Important note:
The target and risk boxes are visual projections only.
They are not broker orders.
They do not execute trades.
They do not guarantee that the displayed target or risk will be reached in a profitable way.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ RISK MODE EXPLANATION
━━━━━━━━━━━━━━━━━━━━━━
The script includes three risk modes:
Signal Wick
ATR
Hybrid
Signal Wick mode uses the candle wick area as the risk reference.
ATR mode uses ATR-based distance.
Hybrid mode uses a wider protective logic between wick-based and ATR-based risk.
The purpose of these modes is to give users flexibility in how projected risk zones are visually drawn.
Risk settings affect the chart projection.
They should not be treated as trade recommendations.
Users should always apply their own risk management and validation.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ SAME-CANDLE TARGET/RISK HANDLING
━━━━━━━━━━━━━━━━━━━━━━
If both target and risk are touched on the same candle, the true intrabar sequence cannot be known from standard OHLC chart data.
The script includes a setting for this situation:
If Target and Risk Hit Same Bar
Available options:
SL First
TP First
The default is SL First.
This is a conservative assumption.
It helps avoid overly optimistic historical visual results when the true intrabar order is unknown.
Users should understand that this is still an assumption based on available bar data.
━━━━━━━━━━━━━━━━━━━━━━
🏁 RESULT TRACKING
━━━━━━━━━━━━━━━━━━━━━━
The script can track whether a projected setup reaches target or risk first.
Possible result labels:
WIN | TARGET HIT
LOSS | RISK HIT
A WIN label means the projected target zone was reached first according to the script’s bar-based logic.
A LOSS label means the projected risk zone was reached first according to the script’s bar-based logic.
These labels are visual summaries only.
They do not represent broker execution.
They do not include slippage, spread, commissions, order delay, partial fills, liquidity issues, or real entry conditions.
━━━━━━━━━━━━━━━━━━━━━━
🗂️ HISTORICAL TARGET / RISK BOXES
━━━━━━━━━━━━━━━━━━━━━━
Candle Pressure Flip Engine can keep previous target and risk boxes on the chart.
This helps users visually review past projected setups.
The script includes a maximum historical trade-plan limit.
This is important because PulseWire has object limits.
Historical visuals may include:
🎯 previous target boxes
⚠️ previous risk boxes
📍 previous entry lines
🏁 previous result labels
🏷️ previous target/risk price tags
Users can reduce the historical object limit if the chart becomes crowded or performance slows down.
━━━━━━━━━━━━━━━━━━━━━━
🏷️ SIGNAL LABELS
━━━━━━━━━━━━━━━━━━━━━━
The script displays professional signal labels:
BULLISH FLIP ▲
BEARISH FLIP ▼
A BULLISH FLIP label appears when the script detects a possible bullish candle-pressure shift.
A BEARISH FLIP label appears when the script detects a possible bearish candle-pressure shift.
The arrow icon is included to make direction easier to identify visually.
These labels do not mean the future outcome is guaranteed.
They only mean the script’s internal conditions aligned at that candle.
━━━━━━━━━━━━━━━━━━━━━━
🩸 CRIMSON SPINE + ECHO + FILL
━━━━━━━━━━━━━━━━━━━━━━
Candle Pressure Flip Engine includes a premium visual system called:
Crimson Spine + Echo + Fill
This is not a signal by itself.
It is a visual price-following layer designed to create a clean pressure-aura effect around price.
The system includes:
🩸 one central Crimson Spine
🩸 multiple upper echo layers
🩸 multiple lower echo layers
🩸 soft crimson fill clouds
🩸 optional pulse effect
🩸 adaptive spread based on internal pressure intensity
The purpose of the Crimson Spine system is to enhance chart readability and create a premium visual structure around price.
It can help users visually track price flow, pressure compression, and expansion.
Important note:
The Crimson Spine visual is not a standalone entry signal.
It should not be used by itself as a buy/sell system.
It is a supporting visual layer.
━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUAL THEME SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes multiple visual themes:
Midnight Pro
Ice Minimal
Black Gold
Red Carbon
The theme system affects:
🎨 BULLISH / BEARISH label colors
🎨 Target zone colors
🎨 Risk zone colors
🎨 Result stamp colors
🎨 Entry / target / risk tags
🎨 Candle highlight color
🎨 Glow effects
The script uses a modern chart-first visual style.
It does not include a classic dashboard.
It does not include a large statistics panel.
The goal is to keep the chart clean while still providing strong visual feedback.
━━━━━━━━━━━━━━━━━━━━━━
🚨 PROFESSIONAL ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Candle Pressure Flip Engine includes two alert layers:
1. Standard alertcondition() events
2. Dynamic alert() messages
Standard alert conditions are included for compatibility with PulseWire’s normal alert interface.
Dynamic alerts can include more detailed information such as:
🚨 symbol
🚨 timeframe
🚨 direction
🚨 score
🚨 entry
🚨 risk
🚨 target
🚨 RR
🚨 Auto Best state
🚨 result
🚨 Net R
The alert system can be configured using:
🚨 Enable Dynamic Alerts
🚨 Alert Bullish Flips
🚨 Alert Bearish Flips
🚨 Alert Trade Results
🚨 Alert Payload Format
🚨 Include Entry / Risk / Target
🚨 Include Auto Best State
🚨 Alert Tag
Available payload formats:
Human
JSON
Human format is easier to read.
JSON format is more suitable for webhook workflows.
Important note:
Alerts are monitoring tools only.
They are not trade execution instructions.
They do not place orders.
Users must confirm all alerts with their own analysis and risk management.
━━━━━━━━━━━━━━━━━━━━━━
🔔 HOW TO USE ALERTS
━━━━━━━━━━━━━━━━━━━━━━
A practical alert workflow:
1. Add Candle Pressure Flip Engine to your chart.
2. Open PulseWire’s alert window.
3. Select the indicator as the alert condition.
4. Choose the desired alert type.
5. For dynamic alert() messages, use “Any alert() function call” if needed.
6. Select alert frequency according to your preference.
7. Use alerts for monitoring only.
8. Confirm each alert manually before making any trading decision.
Alerts may behave differently depending on chart timeframe, symbol, session, and real-time bar updates.
━━━━━━━━━━━━━━━━━━━━━━
🧪 HOW TO USE THE INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
A practical workflow:
1. Add Candle Pressure Flip Engine to your chart.
2. Start with the default settings.
3. Review whether the chart is trending, ranging, or highly volatile.
4. Wait for a BULLISH FLIP ▲ or BEARISH FLIP ▼ label.
5. Review the candle that created the signal.
6. Check whether the move before the signal was extended.
7. Check whether the rejection wick is meaningful.
8. Check whether the candle closed with pressure.
9. Review the target and risk boxes.
10. Review the Crimson Spine visual context.
11. Use alerts if you want automatic monitoring.
12. Validate the signal with your own market structure, liquidity, trend, session, and risk-management rules.
This indicator is best used as a structured visual review tool.
It should not be used as a blind execution system.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━
⚙️ General
Signal Mode
Controls how selective the signal engine is.
Available modes:
Aggressive
Balanced
Conservative
Aggressive allows more signals.
Balanced is the default middle-ground profile.
Conservative requires stricter conditions.
Only One Active Trade
When enabled, the script waits until the active projection reaches target or risk before allowing a new signal.
Signal Cooldown Bars
Controls how many bars must pass between confirmed signals.
Show BULLISH / BEARISH Labels
Shows or hides the main signal labels.
Max Signal Labels
Limits how many signal labels remain visible on the chart.
━━━━━━━━━━━━━━━━━━━━━━
🔥 Candle Pressure Flip Engine
Exhaustion Lookback
Defines how many bars are used to evaluate the prior aggressive move.
Minimum Exhaustion Move ATR
Defines how large the prior move must be, measured in ATR.
Minimum Directional Bars
Requires a minimum number of bars inside the lookback to support the exhaustion direction.
Minimum Reversal Body %
Controls the minimum candle body size of the signal candle.
Minimum Rejection Wick %
Controls the minimum rejection wick percentage.
Close Pressure Threshold %
Controls where the candle must close inside its range.
Minimum Signal Score
Defines the minimum internal score required for a signal.
━━━━━━━━━━━━━━━━━━━━━━
📊 Volume Burst
Use Volume Burst
Enables or disables volume confirmation.
Volume MA Length
Defines the moving average length used for volume comparison.
Minimum Volume Multiplier
Defines how much larger current volume must be compared to average volume.
━━━━━━━━━━━━━━━━━━━━━━
🧭 Momentum Flip
Use Momentum Flip
Enables or disables RSI momentum confirmation.
RSI Length
Defines the RSI calculation length.
RSI Turn Lookback
Defines how many bars back RSI is compared.
Bullish RSI Max After Flip
Prevents bullish signals from appearing when RSI is already too extended upward.
Bearish RSI Min After Flip
Prevents bearish signals from appearing when RSI is already too extended downward.
━━━━━━━━━━━━━━━━━━━━━━
🎯 Target / Risk Result Engine
Show Target / Risk Boxes
Shows projected target and risk zones.
Show Entry / Risk / Target Lines
Shows entry, risk, and target lines.
Show Only Last Trade Plan
Removes older visual trade plans and keeps only the newest one.
Keep Historical Target / Risk Boxes
Keeps previous target/risk projections on the chart.
Max Historical Trade Plans
Controls the maximum number of historical visual plans.
Track Win / Loss Result
Enables visual result tracking.
Default Target Risk Reward
Defines the default projected RR value.
Risk Mode
Controls whether risk is based on signal wick, ATR, or hybrid logic.
ATR Length
Defines the ATR length used for risk calculations.
Risk Buffer Ticks
Adds a small tick buffer to wick-based risk calculations.
Trade Box Extend Bars
Controls how far target/risk boxes extend to the right.
If Target and Risk Hit Same Bar
Controls the same-candle assumption.
Max Result Stamps
Limits the number of WIN / LOSS result labels.
━━━━━━━━━━━━━━━━━━━━━━
🧠 Background Optimizer
Use Background Optimizer
Enables the internal optimizer engine.
Auto Use Best Optimizer Combo
Allows the script to automatically apply the best internal combination after enough closed virtual outcomes are collected.
Optimizer Grid Depth
Controls whether the optimizer uses Light 27 or Full 81 testing depth.
Best Combination Ranking
Controls whether combinations are ranked by wins first or win rate first.
Minimum Trades For Best Combo
Defines how many closed virtual trades are required before a combination can become eligible.
━━━━━━━━━━━━━━━━━━━━━━
🎨 Visual Pro Design
Visual Theme
Controls the main chart color theme.
Visual Intensity
Controls glow and line emphasis.
Label Size
Controls signal/result label size.
Target / Risk Box Transparency
Controls how transparent projected boxes appear.
Show Signal Glow
Shows or hides the signal candle glow.
Show WIN / LOSS Stamps
Shows or hides result labels.
Show Compact Price Tags
Shows or hides ENTRY ZONE, TARGET ZONE, and RISK ZONE tags.
Candle Highlight Mode
Controls candle coloring on signal/result bars.
Max Signal Glow Objects
Limits signal glow objects for chart performance.
━━━━━━━━━━━━━━━━━━━━━━
🚨 Professional Alerts
Enable Dynamic Alerts
Turns dynamic alert() messages on or off.
Alert Bullish Flips
Enables alerts for bullish flip signals.
Alert Bearish Flips
Enables alerts for bearish flip signals.
Alert Trade Results
Enables alerts for target/risk results.
Alert Payload Format
Choose Human or JSON.
Include Entry / Risk / Target
Adds projected price levels into alerts.
Include Auto Best State
Adds Auto Best status into signal alerts.
Alert Tag
Custom text tag included in alert messages.
━━━━━━━━━━━━━━━━━━━━━━
🩸 Crimson Spine + Echo
Show Crimson Spine System
Shows or hides the Crimson Spine visual layer.
Spine Source
Defines the source price used by the spine.
Spine EMA Length
Controls the central spine smoothing.
Echo Spacing ATR
Controls how far echo layers are spaced from the central spine.
Adaptive Echo Spread
Expands or compresses the echo cloud based on internal pressure intensity.
Spine Line Width
Controls line thickness.
Core Line Transparency
Controls the transparency of the central spine.
Echo Transparency Step
Controls how quickly outer echo layers become transparent.
Crimson Fill Transparency
Controls the fill cloud transparency.
Spine Pulse Effect
Adds a subtle pulsing visual effect.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━
Candle Pressure Flip Engine uses familiar concepts such as:
🔥 candle body analysis
🕯️ wick rejection
📍 close-location pressure
📊 volume comparison
🧭 RSI momentum
📏 ATR-based risk projection
🎯 target/risk boxes
🚨 alerts
These concepts are not unique by themselves.
The originality of the script lies in how they are organized into one workflow:
Exhaustion Move
→ Rejection Wick
→ Close Pressure
→ Volume Burst
→ Momentum Flip
→ Internal Score
→ Auto Best Optimizer
→ BULLISH / BEARISH Flip Label
→ Target / Risk Projection
→ Result Tracking
→ Crimson Spine Visual Layer
→ Professional Alerts
This structure is designed to give users a clearer way to review potential candle-pressure reversal conditions.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT PRACTICAL NOTES
━━━━━━━━━━━━━━━━━━━━━━
The script’s behavior depends heavily on settings.
Signal frequency and visual output may change based on:
🎛️ signal mode
🔥 exhaustion lookback
📏 ATR settings
🕯️ wick requirement
📍 close-pressure threshold
📊 volume settings
🧭 RSI settings
🧠 optimizer settings
🎯 target/risk settings
⏱️ timeframe
📊 symbol volatility
🌐 market session
📚 available historical bars
A configuration that looks clean on one symbol may behave differently on another.
A setting that appears useful on one timeframe may not be useful on another.
Users should test the script on the exact markets and timeframes they personally study.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS AND SHORTCOMINGS
━━━━━━━━━━━━━━━━━━━━━━
This script has important limitations:
❌ It does not guarantee profitable trades.
❌ It does not predict future price movement.
❌ It does not replace risk management.
❌ It does not execute trades.
❌ It does not place broker orders.
❌ It does not include broker slippage.
❌ It does not include commissions.
❌ It does not include spreads.
❌ It does not include order delay.
❌ It does not include partial fills.
❌ It uses bar-based chart data.
❌ Same-candle target/risk order cannot be known from standard OHLC data.
❌ Internal optimizer results are not official Strategy Tester results.
❌ Target/risk boxes are visual projections only.
❌ Result labels are visual outcomes only.
❌ Crimson Spine visuals are not standalone signals.
❌ Alerts are monitoring tools only.
❌ Historical behavior does not ensure future behavior.
For these reasons, Candle Pressure Flip Engine should be used as an educational decision-support and chart-analysis tool, not as a standalone trading strategy.
━━━━━━━━━━━━━━━━━━━━━━
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
━━━━━━━━━━━━━━━━━━━━━━
This script may be useful for traders who:
✅ study candle-pressure behavior
✅ study reversal conditions after extended moves
✅ want structured candle rejection confirmation
✅ want volume and momentum context
✅ want clean target/risk visual planning
✅ want historical visual projection review
✅ want premium chart visuals without a large dashboard
✅ want alert-based monitoring
✅ want a structured educational analysis tool
✅ prefer chart-first visual design
It may be less suitable for users who:
❌ want guaranteed buy/sell signals
❌ want a fully automated trading bot
❌ do not use technical analysis
❌ do not want chart visuals
❌ expect one setting to work on every market
❌ expect alerts to execute trades
❌ expect visual projections to match broker execution
❌ want an indicator that replaces personal decision-making
━━━━━━━━━━━━━━━━━━━━━━
🧭 BEST PRACTICE SUGGESTIONS
━━━━━━━━━━━━━━━━━━━━━━
For cleaner review:
✅ Start with the default settings.
✅ Use Balanced mode first.
✅ Review signals together with market structure.
✅ Check whether the signal appears after a meaningful move.
✅ Review rejection wick quality.
✅ Review candle close position.
✅ Use target/risk boxes as visual planning tools only.
✅ Do not treat every signal as a trade.
✅ Review the Crimson Spine as a supporting visual layer, not as a standalone signal.
✅ Use alerts for monitoring, not automatic execution.
✅ Test the indicator on the symbols and timeframes you actually study.
✅ Combine the tool with independent analysis and risk management.
✅ Keep expectations realistic.
━━━━━━━━━━━━━━━━━━━━━━
🔓 PUBLICATION NOTE
━━━━━━━━━━━━━━━━━━━━━━
Candle Pressure Flip Engine is published as an educational and visual market-analysis tool.
The purpose of this description is to explain:
✅ what the script does
✅ how the main logic works
✅ how signals are created
✅ how candle pressure is evaluated
✅ how target/risk boxes are drawn
✅ how result labels work
✅ what the Crimson Spine visual means
✅ what the alert system does
✅ what the limitations are
✅ how the indicator should and should not be used
The script is designed to support structured analysis.
It does not promise profitable results.
It does not remove market risk.
It does not execute trades.
It should not be used as a blind buy/sell system.
It is best used as a visual framework for reviewing candle-pressure reversal conditions, target/risk projection behavior, and alert-based monitoring.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━
Candle Pressure Flip Engine is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
No indicator can guarantee future results.
Markets are uncertain, conditions change, and historical behavior does not ensure future performance.
Every user is responsible for their own analysis, validation, risk management, position sizing, and trading decisions.
The target/risk boxes, BULLISH / BEARISH labels, WIN / LOSS result stamps, Crimson Spine visuals, optimizer behavior, and alerts are visual analysis tools only.
Use this script as a structured decision-support and visual review framework, not as a promise of profitability.
Indicator

SmartBreak Fibo [TraderHook]SmartBreak Fibo
Stop drawing your setups by hand. SmartBreak watches market structure in real time, and the moment price breaks a structural swing — a BOS (Break of Structure) or CHoCH (Change of Character) — it instantly maps a full Fibonacci trade plan on your chart: entry, stop, and three targets. No manual fib dragging, no guesswork on where to place levels.
How it works
The engine tracks swing highs/lows and detects every structural break (BOS / CHoCH).
On each break, a Fibonacci is anchored from the broken swing (level 1) to the opposing swing (level 0).
Entry is plotted at the 0.618 retracement, Stop-Loss at level 0 (the swing extreme).
Three take-profits sit at fib extensions 2.0 / 2.618 / 3.618 .
A green box shows the profit zone (entry → TP3), a red box shows the risk zone (entry → SL).
Why traders like it
Setups appear the instant structure breaks — you decide whether to take them, the levels are already there.
Long breaks are marked green, short breaks red — direction is readable at a glance.
Fully adjustable: entry level, all three TPs, pivot sensitivity, colors, and how many recent setups stay on screen.
"ChoCh only" mode if you prefer to trade reversals over trend continuations.
Settings
Pivot Period — structure sensitivity (higher = bigger swings only).
Entry / TP1 / TP2 / TP3 — every fib level is yours to tune.
Number of recent setups — keep the chart clean with just the latest, or show history.
Long / Short setups — toggle either side on or off.
Credits
The market-structure engine (ZigZag, swing classification, BOS/CHoCH) is based on the open-source work of TFlab , used under the Mozilla Public License 2.0. The Fibonacci trade-box system is by TraderHook. Published open-source — feel free to study and build on it.
Disclaimer
This is a visualization tool, not financial advice or a signal service. The take-profit levels are mechanical Fibonacci extensions — they do not predict that price will reach any target. Always backtest and manage your own risk before trading. Indicator

Sumarna17 Control Plan TradingSumarna17 Trade Plan Control System
Adalah indikator PulseWire yang dirancang untuk membantu trader membuat keputusan entry dengan lebih disiplin, terukur, dan terencana. Indikator ini menggabungkan sistem Trade Plan, Risk Reward Manager, Lot Calculator, Checklist Validasi, Smart Execution Panel, Running Trade Management, dan Review Journal dalam satu alat lengkap.
Dengan fitur Pre Entry, Running Trade, dan Review Mode, trader bisa mengecek kelayakan setup sebelum entry, mengelola posisi saat trade berjalan, hingga mengevaluasi hasil setelah trade selesai. Cocok untuk trader yang ingin mengurangi entry asal-asalan, menjaga risk management, menghindari overlot, dan membangun kebiasaan trading yang lebih profesional.
Fitur utama:
- Smart Trade Plan System
- RR dan Lot Calculator
- Validasi Entry, SL, dan TP
- Checklist disiplin sebelum entry
- Smart Execution Panel
- TP1, TP2, TP3 Scale Out
- Break Even, Lock Profit, dan Trailing Helper
- Prop Firm Guard
- Running Trade Management
- Review Journal untuk evaluasi trade
Indikator ini cocok untuk trader XAUUSD, Forex, BTCUSD, US100, dan market lainnya yang ingin trading lebih rapi, disiplin, dan tidak emosional.
Catatan Pengembangan:
Indikator ini masih terus dikembangkan dan belum sempurna. Setiap fitur dibuat untuk membantu trader lebih disiplin, bukan untuk menjamin profit. Gunakan indikator ini sebagai alat bantu analisis, bukan sebagai pengganti pemahaman market, manajemen risiko, dan kontrol emosi.
Trade with plan, manage with discipline, review with honesty.
Indicator

Position Architect [JOAT]Position Architect
Position Architect is an auto-triggered trade-plan visualizer. It consumes a signal source (any plot of another indicator, or a fallback SMA-cross), arms a trade with ATR-scaled stop loss and three risk-reward-scaled targets, and tracks the trade live with breakeven slide, R-multiple lines, MFE / MAE tracking, multi-currency PnL, position sizing, required margin, Kelly sizing suggestion, and a trade-history strip.
What makes it different
Most trade-planner indicators are manual: the user clicks entry, stop, and target. Position Architect is auto-triggered via input.source, so it plans trades from external signal feeds (other JOAT indicators or any compatible script).
Four trigger modes: Manual toggle, Source-above-SMA, Source-cross-above-SMA, Source-cross-below-SMA. These cover bias, breakout, and counter-trend logics.
A three-target ladder (not just one or two) with intermediate R-multiple lines (0.5R, 1R, 1.5R, 2R, 2.5R, 3R) drawn between entry and Target 3 so you see partial-take levels at a glance.
Live R-multiple, MFE, MAE displayed next to the trade in real time. After the trade closes, those values are baked into a persistent history label.
Kelly sizing suggestion based on an assumed win rate and the current risk-reward, capped at 25% to avoid pathological recommendations.
How it works
The signal source is the user-selected input.source. The trigger rule (one of four modes) determines when a long or short is armed.
On arm: entry equals the current close. SL equals low minus ATR(14) times slMult for longs (or symmetric for shorts). Three targets at entry plus or minus risk times tp1Mult / tp2Mult / tp3Mult.
Lifecycle gates on bar_index greater than tradeBar so the arm bar itself cannot also register hits (preventing spurious instant fills).
Each subsequent bar: check for TP1, TP2, TP3 hits in order, plus stop-loss. TP3 takes precedence over SL on same-bar pierces. If TP1 hits and breakeven is enabled, the stop slides to entry.
Position sizing: pos_size equals (capital times riskPct / 100) divided by (sl_pct / 100). Required margin equals pos_size divided by leverage.
Kelly suggestion: f-star equals winRate minus (1 minus winRate) divided by RR, clamped to 25% max.
Reading the chart
Five horizontal price lines: entry (blue), SL (red), TP1 / TP2 / TP3 (green shades), each width 3 to 5.
Five price-only labels at the right edge with R-multiples and percentages.
Two linefills: a translucent red risk zone between entry and SL, a translucent green reward zone between entry and TP3.
bgcolor tint while a trade is open.
A 1-bar bgcolor pulse on TP / SL / breakeven events.
A live R+0.8 MFE+1.5 MAE-0.3 label updating each bar near current price.
Bars-in-trade counter near the entry.
Trade-history strip above past entries with W/L outcomes and R-multiples.
R-multiple intermediate lines with right-edge labels.
A daily trade count plus win-rate summary.
A comprehensive dashboard with capital, risk, leverage, R:R, Kelly, position size, required margin, direction, entry, current price, live PnL, status (OPEN / WIN / LOSS), bars in trade.
Signals
Trade activated long / short
Target 1 / 2 / 3 hit
Stop loss hit
Breakeven slid
All gated on barstate.isconfirmed or barstate.ishistory. No future references.
Inputs
Signal : signal source, trigger mode, signal SMA length, manual long / short toggles.
Targets : SL ATR multiplier, TP1 / TP2 / TP3 risk multipliers, breakeven toggle, line extension bars.
Capital : capital amount, risk percent, leverage, currency code.
Kelly : assumed win rate.
Visual : bullish / bearish colors, entry line color, SL line color, TP line color, R-multiple lines toggle, history strip toggle.
Dashboard : position, size.
How traders use this
Discretionary planning : switch to Manual mode and toggle manualLong / manualShort to drop a complete plan at the current price, with ATR-aware stops and risk-aware sizing.
Signal integration : connect Position Architect's signal source to another JOAT indicator's plot output (for example the composite of Iridescent Helix or the Stage-3 line of Sentinel Cascade) and let it auto-arm trades.
Risk audit : the dashboard's R:R, position size, required margin, and Kelly suggestion are an instant pre-trade audit. You can compare across instruments.
Performance review : the trade-history strip lets you scroll back through recent trades on the chart and see R-multiples without needing a separate journal.
Limitations
Kelly sizing assumes a stable win-rate-and-R distribution. Real performance varies. The suggestion is a calibration reference, not a recommendation.
Position sizing is in price units. For futures or forex contracts the user must convert to contract count manually.
The signal source must be a series compatible with input.source. If the connected indicator does not expose a useful plot, the trigger logic falls back to close.
Trade lifecycle assumes one open position at a time. No pyramiding inside this script.
Compatibility
Pine Script v6 open-source indicator (overlay). Any symbol, any timeframe. ASCII currency codes (no Unicode glyphs) for cross-platform display. No request.security calls.
Defaults
SL ATR multiplier 1.5, targets at 1R / 2R / 3.5R, breakeven on after TP1, mint / red palette, ten-thousand-dollar capital with one percent risk and one times leverage, top-right medium dashboard.
Indicator

Candle Architect Signals [JOAT]Candle Architect Signals
Introduction
Candle Architect Signals is an open-source candlestick ranking engine. Instead of labeling every possible candle pattern, it evaluates candle anatomy through trend, regression, momentum, volume, wick rejection, and structure context, then displays only the highest-quality accepted state.
The goal is to reduce pattern noise. Many candlestick tools show too many labels because they treat a pattern in isolation. Candle Architect Signals requires contextual agreement before a candle becomes actionable.
Core Concepts
1. Candle Anatomy
The script reads body size, wick size, close location, range, and relative volatility. This creates a consistent foundation for evaluating rejection, continuation, and exhaustion candles.
2. Pattern Library With Context Filters
Classic candle ideas are combined with custom filters. The script does not accept a pattern just because its shape appears; it also checks trend, structure, regression location, momentum, and volume behavior.
3. Ranking Instead of Spam
When multiple candidate patterns appear, the engine selects the best-scoring candidate. This keeps the chart from filling with overlapping candle names.
4. Structure and CHoCH Context
Pivot highs and lows help identify structural shifts. Bullish and bearish CHoCH events can increase the relevance of candle signals that appear near changing structure.
5. Risk Rails
Accepted signals can draw entry, stop, TP1, TP2, and TP3 references based on structure and ATR buffering.
Features
Ranked candlestick engine: Selects the strongest candle state instead of labeling every pattern.
Trend filter: Uses fast and slow EMAs to determine directional backdrop.
Regression context: Optional regression field helps identify stretched or mean-reverting locations.
Momentum and volume filters: RSI and volume participation influence the score.
Structure weighting: Pivot and CHoCH context can increase or reduce signal quality.
Accepted candle tinting: Confirmed candles can be colored by bullish or bearish state.
Signal zones and rails: Optional zones plus entry/stop/target references.
Dashboard: Shows context, best candle class, score, RSI/volume state, and cooldown.
Alerts: Long candle, short candle, bullish CHoCH, and bearish CHoCH.
Input Parameters
Core Context: Fast EMA, Slow EMA, Regression Context Length, RSI Length, ATR Length.
Structure and Signals: Pivot Left, Pivot Right, Structure Score Weight, Minimum Accepted Score, Signal Cooldown Bars.
Risk and Display: Stop ATR Buffer, TP1 R, TP2 R, TP3 R, Rail Projection Bars, Signal Labels, Signal Zones, Entry/Exit Rails, EMA Cloud, Regression Field, Structure Levels, HUD.
How to Use This Indicator
Step 1: Focus on accepted signals
The script intentionally hides weaker pattern candidates. Treat displayed candle states as filtered candidates that passed the configured score gate.
Step 2: Read the score and context
Higher scores indicate stronger alignment between candle shape, trend, volume, momentum, and structure.
Step 3: Use rails as planning references
When rails are enabled, the stop and targets provide a consistent risk framework. They should be reviewed against market structure and liquidity conditions.
Indicator Limitations
Candle patterns are descriptive, not predictive.
Pivot-based structure confirms after the right-side bars complete.
Volume filters can be less reliable on symbols with incomplete or synthetic volume.
Risk rails are reference levels and do not manage trades.
Originality Statement
Candle Architect Signals is original in how it combines candle anatomy, ranked pattern selection, EMA trend context, regression location, volume, momentum, CHoCH structure, and ATR risk rails into one selective open-source script. The originality is in the scoring and filtering process, not in claiming that candle patterns alone are new.
Disclaimer
This script is provided for educational and informational purposes only. It is not financial advice or a recommendation to trade. Candlestick patterns can fail, especially during high volatility, news events, and low-liquidity periods. Use proper risk management.
Made with passion by jackofalltrades
Indicator

Auric Reference Crucible [JOAT]Auric Reference Crucible
Introduction
Auric Reference Crucible is an open-source reference-price state engine. It tracks daily open, weekly open, monthly open, and previous close, then classifies how price behaves around each anchor.
The indicator is built for traders who use opening prices and prior closes as decision levels but want a structured way to separate untouched levels, tests, reclaims, rejections, and active control.
Core Concepts
1. Multi-Timeframe Reference Anchors
Daily, weekly, and monthly opens are tracked as higher-timeframe anchors. Previous close is tracked separately. Each reference can be enabled or disabled.
2. Anchor State Classification
Each reference is classified by interaction state: untouched, touched, tested, reclaimed, rejected, or active control. This creates a state machine instead of a static horizontal-line tool.
3. ATR Touch and Reaction Bands
ATR defines touch distance and reaction band thickness so levels adapt to each symbol's current volatility.
4. Control Score
The script scores anchors using state, distance, pressure, and reaction behavior. The strongest anchor becomes the active control reference.
5. Reclaim and Reject Execution Zones
When the active reference and confirmation logic agree, the script can draw compact long or short execution rails with entry, stop, TP1, and TP2.
Features
Daily, weekly, monthly, and previous close references: Core anchors used for session and swing context.
Reference state machine: Tracks touch, test, reclaim, and reject behavior.
Dominant control anchor: Scores references so the most relevant level is emphasized.
ATR reaction bands: Volatility-adjusted zones around active references.
Confirmed state changes: Optional confirmed-bar logic reduces intrabar repaint risk.
Execution rails: Optional long/short plans with stop and target references.
Fade untouched anchors: Keeps inactive references less visually dominant.
Dashboard: Shows anchor state, bias, and control information.
Alerts: Anchor touch, reclaim, reject, long crucible, and short crucible.
Input Parameters
References: Show Daily Open, Show Weekly Open, Show Monthly Open, Show Previous Close.
Signals: Touch Zone ATR, Reaction Band ATR, Reclaim Confirmation Bars, Wick Rejection Multiple, Confirmed-Bar State Changes.
Execution and Visuals: Trend Filter EMA, Pressure Window, Minimum Control Score, Stop ATR, TP1 R, TP2 R, Execution Cooldown Bars, Stored Setup Zones, Reaction Bands, Dashboard, Execution Rails, Signal Zones, Reference Price Tags.
How to Use This Indicator
Step 1: Identify the active reference
Start with the dashboard. It shows which anchor is currently most relevant and whether price is treating that anchor as bullish, bearish, or neutral.
Step 2: Watch reclaim and reject states
A reclaim means price moved back through a reference with confirmation. A reject means price tested the area and failed to hold through it.
Step 3: Use execution rails after confirmation
When a long or short crucible appears, use the plotted entry, stop, and target references as a structured review plan.
Indicator Limitations
Higher-timeframe opens update according to exchange/session boundaries.
Reference levels are context zones, not automatic entries.
ATR bands widen during volatility expansion and narrow during quiet periods.
Confirmed-bar mode means some state changes appear after the bar closes.
Originality Statement
Auric Reference Crucible is original in its reference-state approach. It does not simply plot opens and closes; it classifies anchor behavior, scores active control, adapts reaction zones with ATR, and optionally converts confirmed reclaim/reject behavior into structured execution rails.
Disclaimer
This script is provided for educational and informational purposes only. It is not financial advice and should not be treated as a recommendation to buy or sell. Reference prices can fail, especially during news, gaps, and thin liquidity. Use proper risk management.
Made with passion by jackofalltrades
Indicator

Quant Synthesis Strategy [JOAT]Quant Synthesis Strategy
Introduction
QSS Quant Synthesis Strategy is an open-source PulseWire strategy that integrates regime detection, higher-timeframe bias, confirmed structure, session opening-range context, volume participation, trend energy, ATR exits, cooldowns, and session risk controls.
The strategy is designed as a realistic research baseline, not an optimized profit promise. Its purpose is to demonstrate how the JOAT indicator concepts can be combined into a non-repainting strategy framework with explicit risk management.
Core Concepts
1. Market Regime Detection
The regime model uses EMA spread, ADX from DMI, and ATR percentage context to classify Trend, Expansion, Balance, or Transition.
2. Higher-Timeframe Bias
The strategy requests higher-timeframe EMAs with lookahead disabled. Long bias requires the HTF fast EMA above the slow EMA with positive slope; short bias is mirrored.
3. Confirmed Structure
Pivot-based structure checks whether recent highs and lows form bullish or bearish structure. Pivot confirmation is delayed by design to avoid repainting.
4. Session Opening Range
The strategy tracks a configurable trading session and opening range. Entries can require session context so trades are not taken randomly outside the selected window.
5. Risk and Exits
Position size is estimated from a percentage of equity and ATR stop distance. Exits include ATR stop, ATR target, maximum bars in trade, regime/bias exit, cooldown, and session flattening.
Features
Regime engine: Trend, Expansion, Balance, and Transition classification
HTF bias filter: Uses non-lookahead request.security() higher-timeframe EMAs
Confirmed structure filter: Pivot-based bullish/bearish structure state
Session opening range: Optional session context for entries
Volume participation filter: Uses volume z-score and directional volume
Confluence score: Separate long and short scores gate entries
ATR exits: Stop loss and take profit scale with volatility
Risk controls: Risk percent, cooldown, max entries per session, max bars in trade, and session flattening
Visuals: EMA cloud, opening-range lines, stop/target plots, and top-right dashboard
Default Strategy Properties
Initial capital: 100000
Commission: 0.01 percent
Slippage: 1 tick
Pyramiding: 0
Order processing: process orders on close
Position sizing: fixed quantity calculated internally from risk settings
How to Use
Step 1: Select a market and timeframe with enough historical data.
Step 2: Review the dashboard regime and HTF bias before interpreting trades.
Step 3: Adjust risk percent, ATR stop, ATR target, cooldown, and session settings conservatively.
Step 4: Evaluate results across multiple symbols and timeframes. Avoid optimizing only one market segment.
Limitations
Backtest results are historical simulations and do not guarantee future performance
More trades can increase sample size but can also increase noise and transaction costs
Pivot confirmation creates intentional signal delay
Strategy results depend on symbol liquidity, timeframe, session settings, slippage, and commission assumptions
The strategy is a research framework, not a recommendation to trade
Originality Statement
QSS is an original JOAT strategy framework that integrates regime detection, HTF bias, structure, session context, volume participation, and ATR risk management into one non-repainting Pine Script v6 strategy.
Disclaimer
This strategy is for educational and informational purposes only. It is not financial advice and does not guarantee profitability. Trading involves substantial risk of loss. Historical backtests can be inaccurate or misleading if assumptions do not match live execution.
Made with passion by jackofalltrades
Strategy

Concordance Allocation Strategy [JOAT]Concordance Allocation Strategy
Introduction
Concordance Allocation Strategy is an open-source PulseWire strategy that integrates regime detection, directional bias, momentum alignment, value-location filtering, and ATR-based risk management into one non-repainting framework. It is designed to trade only when multiple independent layers agree on bar close.
The problem this strategy solves is isolated signal bias. A single good-looking signal can fail quickly if it appears in the wrong market regime, against the wrong directional structure, or in the wrong part of value. Concordance requires those layers to align before it enters a trade, then manages risk with fixed ATR targets and adaptive exits.
Core Concepts
1. Regime filter
The strategy uses a probability-based trend-versus-range classifier. Trades are only considered when the directional regime is confirmed on a closed bar.
2. Directional bias engine
An ATR-based bias band adapts to noisy conditions and recovery stress so long and short bias are not driven by a simple moving average cross.
3. Momentum confirmation
A centered adaptive stochastic spread must align with the directional side. This prevents entries based on trend context alone.
4. Value-location filter
The strategy requires price to be properly aligned with percentile-derived value rails before entries are allowed. This helps avoid chasing direction in poor location.
5. Structured risk management
Every position uses:
ATR stop loss
ATR take profit
Adaptive trailing behavior once price extends far enough
Context exits when regime or momentum deteriorates
Features
Multi-layer entry filter: Regime, bias, momentum, and value must agree
Bar-close confirmation: Entries are evaluated using confirmed-bar logic
ATR stop loss and take profit: Risk is defined from volatility, not fixed ticks
Adaptive exit behavior: Bias band can tighten once the move extends
No higher-timeframe dependency: Uses current-timeframe calculations only
Institutional dashboard: Shows exposure state, regime, momentum, bias band, and value rails
Non-repainting framework: No future references and no lookahead logic
Input Parameters
Regime Layer:
Return Lookback
Volatility Lookback
Efficiency Length
Regime Learning
Trend Gate
Directional Bias:
ATR Length
ATR Base Multiplier
Avoidance Expansion
Recovery Pull
Noise Threshold ATR
Momentum Layer:
Stochastic Length
Stochastic Smoothing
Price Presmoothing
Adaptive Attenuation
Momentum Spread Gate
Value Layer:
Value Lookback
Lower Rail Percentile
Upper Rail Percentile
Rail Smoothing
Risk Layer:
Stop ATR
Take Profit ATR
Trail Activation ATR
Trail Buffer ATR
How to Use This Strategy
Step 1: Read the regime
The strategy only acts when the directional regime is confirmed. If the regime is rotational, it stands down.
Step 2: Confirm directional bias
The ATR bias band must agree with the side of the trade. This avoids taking long momentum setups under bearish structure or the reverse.
Step 3: Check momentum and value together
Momentum must align with the side and price must be operating in the correct value location. Both filters are required.
Step 4: Review risk settings before use
Stop and target multiples should be adjusted to the market and timeframe being tested. The defaults are intended to be realistic rather than aggressively optimized.
Strategy Limitations
No strategy can eliminate false regime transitions or rapid reversals
Percentile value rails adapt to the sample window and may lag sudden structural changes
The strategy is designed for realism and context alignment, not maximum trade frequency
Originality Statement
Concordance Allocation Strategy is original in how it requires regime confirmation, directional bias, momentum agreement, and value-location agreement before allowing entries. It is published because:
The strategy avoids isolated indicator triggers and instead uses a layered confirmation model
Its risk logic combines fixed ATR objectives with adaptive context exits
The design is intentionally current-timeframe, bar-close confirmed, and non-repainting
Disclaimer
This strategy is provided for educational and informational purposes only. It is not financial advice, and backtest results do not guarantee future performance. Trading involves risk of loss, and any strategy can underperform or fail in changing market conditions. Always evaluate settings carefully and use proper risk management.
Strategy

Concord Execution Mandate [JOAT]Concord Execution Mandate
Introduction
Concord Execution Mandate is an open-source strategy that combines regime classification, higher-timeframe bias, structure breaks, daily pivot context, reversion-basis reclaim logic, and divergence safety into one execution framework. It is designed to test whether directional entries improve when multiple context layers are aligned rather than relying on a single trigger.
The problem this strategy solves is unstructured execution. Many strategies either enter too often without context or wait for perfect alignment so long that they never engage. Concord Execution Mandate uses a softer confluence model that can still trade frequently while preserving directional context, confirmed-bar logic, realistic costs, and explicit risk controls.
Core Concepts
1. Regime And Context Layer
The strategy starts with an adaptive range-state engine supported by ADX, choppiness, and higher-timeframe EMA bias. These inputs do not all act as hard blockers; instead, they contribute to whether the environment is favorable enough for execution.
2. Structural And Rotation Triggers
Entries can come from confirmed bullish or bearish BOS behavior, continuation crosses back through the regime filter, or more aggressive rotation entries through the daily pivot, reversion basis, or short EMA.
3. Soft Alignment Model
Daily pivot bias, EMA weave bias, geometry bias, and regime location are combined into a directional alignment score. The strategy requires enough agreement to avoid fully random entries, but it does not require every filter to align perfectly before acting.
4. Risk Management
Stops are based on the closer of pivot structure or ATR distance. Targets are expressed as a reward multiple of live risk, and a trailing stop can activate only after price reaches a configurable multiple of initial risk. Context-flip exits can close trades early when directional state changes materially.
Features
Adaptive regime filter: Core state engine for directional context
Higher-timeframe bias: Optional EMA-based external direction filter
Structure triggers: Confirmed BOS logic using stored pivots
Continuation and rotation entries: Additional execution paths beyond BOS
Daily pivot and EMA weave context: Location-versus-bias inputs for alignment scoring
Reversion reclaim logic: Optional re-entry through a mean basis before entry
Divergence safety filter: Optional block on fresh opposing divergence
ATR and structure-based stops: Dynamic risk anchoring
Reward targets and ATR trailing: Structured exit management
Context-flip exits: Early closure when regime or bias reverses
Realistic defaults: Percent-of-equity sizing, commission, and slippage are defined in the strategy properties
Default Strategy Properties
Initial capital: 100000
Default order size: 5 percent of equity
Commission: 0.02 percent
Slippage: 2 ticks
Order processing: on bar close
Pyramiding: 0
How to Use This Strategy
Step 1: Read the dashboard to confirm the current regime, structural state, and whether the entry stack is armed.
Step 2: Use the strategy on instruments and timeframes where directional movement and retracement behavior are both visible enough to generate a meaningful sample.
Step 3: Review whether aggressive rotation entries or stricter reclaim filters better match the market being tested.
Step 4: Keep the published chart clean and use the same Properties values shown in the strategy description when presenting results.
Step 5: Evaluate the strategy using a broad sample of trades rather than isolated trades or one short backtest segment.
Strategy Limitations
This strategy still relies on lagging structure confirmation and can miss the first portion of fast reversals
More aggressive settings can increase trade count at the cost of lower selectivity
Higher-timeframe bias can conflict with local execution context during turning points
Backtest results depend on symbol, timeframe, session behavior, and execution assumptions
This strategy is designed to be realistic, not optimized for one narrow market condition
Originality Statement
Concord Execution Mandate is original in how it integrates adaptive regime logic, structural breaks, rotation entries, soft alignment scoring, reclaim filtering, divergence safety, and layered exit management into one execution framework. The combination is intentional because the strategy is designed to test whether context-aware execution can remain active without devolving into random signal generation.
Disclaimer
This strategy is provided for educational and informational purposes only. It is not financial advice and does not guarantee future performance. Backtests are based on historical data, configured assumptions, and simulated order handling. Always validate behavior independently and use appropriate risk management.
-Made with passion by jackofalltrades
Strategy

Pulse Entry Engine🚀 Pulse Entry Engine
Pulse Entry Engine is a free momentum-based entry visualization and decision-support indicator designed to help traders analyze potential entry conditions with a cleaner, more structured, and more visual workflow.
This script combines a Special K-based momentum engine, signal modes, confirmation logic, EMA context, higher-timeframe bias filtering, modern oscillator visualization, signal strength scoring, star-based quality labels, TP/SL projection boxes, active-trade candle coloring, signal-candle background highlighting, compact dashboards, visual themes, and dynamic alerts into one organized PulseWire tool.
The goal of Pulse Entry Engine is not to predict the future or provide guaranteed buy/sell instructions.
Its purpose is to help users visually study:
⚡ momentum expansion
🎯 entry-quality conditions
🧭 directional context
📊 signal strength
📦 projected TP/SL zones
🕯️ active-trade candle behavior
🚨 alert-based monitoring
Pulse Entry Engine should be treated as a structured chart-analysis tool, not as financial advice, not as an automated trading system, and not as a guarantee of profitable results.
━━━━━━━━━━━━━━━━━━━━━━
🔓 PUBLICATION NOTE
━━━━━━━━━━━━━━━━━━━━━━
This script is published as a free educational and visual market-analysis tool.
The description is intentionally detailed because many users do not inspect every part of the Pine Script logic line by line.
The purpose of this page is to explain:
✅ what the script does
✅ how the components work together
✅ what appears on the chart
✅ how signals are filtered
✅ how TP/SL projection works
✅ what the dashboards mean
✅ what the limitations are
✅ how the indicator should and should not be used
Pulse Entry Engine is designed to support structured decision-making.
It does not promise profitable results.
It does not remove market risk.
It does not execute trades.
It should not be used as a blind buy/sell system.
It is best used as a visual framework for reviewing momentum, signal quality, context, and projected risk/reward.
━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━
At a high level, Pulse Entry Engine does the following:
1. ⚙️ Calculates a Special K-based momentum engine.
2. 📈 Compares the engine value with its signal line.
3. 📏 Measures the distance between the engine and signal line.
4. 🔥 Classifies stretch conditions as Weak, Normal, Strong, or Extreme.
5. 🎯 Generates LONG / SHORT pulse signals when selected conditions align.
6. 🧠 Provides five different Signal Modes.
7. 🕯️ Supports Bar Close and Live Intrabar confirmation.
8. 📈 Includes an EMA-based context filter.
9. 🧭 Includes a Higher Timeframe Bias Filter.
10. ⭐ Calculates a 0–100 signal score.
11. 📊 Displays a Signal Strength Bar.
12. 🌟 Shows star-based quality labels on the main chart.
13. 🟩 Highlights the exact signal candle with a vertical background.
14. 🕯️ Colors candles only while a projected trade is active.
15. 📦 Displays ATR-based TP/SL projection boxes.
16. 🎯 Tracks TP1, TP2, TP3, and SL visually.
17. 🔒 Blocks new signals while an active projection has not reached TP1.
18. 🔁 Allows replacement logic after TP1/TP2 progress.
19. 🌊 Includes a modern oscillator visual engine.
20. 📊 Includes Neon Histogram as the default oscillator view.
21. 🎨 Includes multiple visual themes.
22. 🖥️ Includes Minimal / Pro / Full display profiles.
23. 📋 Includes a compact main dashboard.
24. 📡 Includes a compact live scanning panel.
25. 🚨 Includes standard and dynamic alert messages.
This makes the script more than a simple oscillator or a basic signal marker.
It is a complete visual entry-analysis framework built around momentum, context, signal quality, and projected trade structure.
━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE IDEA
━━━━━━━━━━━━━━━━━━━━━━
The core idea behind Pulse Entry Engine is simple:
A potential entry should not be judged from one isolated condition.
A single oscillator movement, one candle reaction, one stretched reading, or one signal label is usually not enough by itself.
Market context matters.
For that reason, Pulse Entry Engine combines several layers:
⚡ momentum engine direction
📏 distance and stretch expansion
🧭 zero-line context
📈 EMA context
🕰️ higher-timeframe bias
⭐ score requirement
🎛️ signal mode strictness
🕯️ confirmation timing
📦 TP/SL projection logic
The indicator does not attempt to mark every possible move.
Instead, it attempts to make momentum-based entry conditions easier to read, compare, and review.
The purpose is not to create more signals.
The purpose is to make signals more understandable.
━━━━━━━━━━━━━━━━━━━━━━
🧩 WHY THIS SCRIPT IS NOT A SIMPLE BUY/SELL INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine is not intended to behave like a simple “buy here / sell here” script.
It is built as a structured workflow:
Pulse Engine
→ Distance / Stretch Detection
→ Signal Mode Filtering
→ Zero / EMA Context
→ HTF Bias Confirmation
→ Score Classification
→ Star-Based Signal Label
→ TP/SL Projection
→ Active Trade Visualization
→ Dashboard Review
→ Dynamic Alerts
Each part has a specific role.
⚙️ The Pulse Engine measures momentum behavior.
📏 The distance logic identifies meaningful separation from the signal line.
🎛️ The signal modes adjust strictness.
⭐ The score system summarizes confluence strength.
🧭 The HTF filter adds broader directional context.
📊 The dashboard summarizes current conditions.
🌊 The oscillator visualizes momentum behavior.
📦 The TP/SL boxes provide a projected risk/reward structure.
🚨 The alert system helps monitor signals without constantly watching the chart.
This makes the script a full review environment, not a one-condition signal tool.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE SCRIPT WORKS
━━━━━━━━━━━━━━━━━━━━━━
1) ⚡ PULSE ENTRY CORE
Pulse Entry Engine uses a Special K-based calculation as its internal momentum engine.
The engine produces two main values:
• the main momentum engine value
• the signal line
The relationship between these two values forms the foundation of the signal logic.
When the engine moves away from the signal line, the script measures the distance between them.
That distance is then compared to its own recent average distance.
This creates the Distance Ratio.
The Distance Ratio helps the script understand whether the current movement is weak, normal, strong, or extreme compared to recent behavior.
This is important because a raw distance between two lines may not mean much by itself.
A distance becomes more meaningful when it is large compared to the engine’s recent average behavior.
━━━━━━━━━━━━━━━━━━━━━━
📏 DISTANCE / STRETCH LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The script calculates:
📌 current distance between engine and signal line
📌 average distance over the selected lookback
📌 distance ratio
📌 strong stretch threshold
📌 extreme stretch threshold
The stretch state can be:
🟤 Weak
🔵 Normal
🟠 Strong
🟣 Extreme
This stretch state appears in the dashboard.
The stretch logic is one of the most important parts of the signal engine.
A signal generally needs the engine distance to be strong enough according to the selected Signal Mode.
This helps reduce reactions to small, random oscillator movements.
━━━━━━━━━━━━━━━━━━━━━━
🎛️ SIGNAL MODES
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes five Signal Modes.
These modes are not only visual names.
They change internal signal thresholds, score requirements, and filtering behavior.
Available modes:
🔥 Aggressive
⚖️ Balanced
⚡ Scalping
🌊 Swing
🛡️ Funded Account
🔥 Aggressive
Aggressive mode is the earliest and most sensitive profile.
It uses lower stretch requirements and a lower score threshold.
This means it can produce more signals and may react faster to developing momentum conditions.
Useful for:
• testing
• manual confirmation
• fast scanning
• active monitoring
• traders who want more potential setups
Important note:
Because it is more sensitive, it may also produce more noise.
⚖️ Balanced
Balanced mode is the default all-around profile.
It uses the user-defined Distance Multiplier and Extreme Stretch settings.
This mode is designed to provide a stable middle-ground behavior.
Useful for:
• general chart review
• standard intraday analysis
• balanced signal frequency
• users who want neither too many nor too few signals
⚡ Scalping
Scalping mode is designed for lower-timeframe active trading environments.
It is faster than Balanced mode but stricter than Aggressive mode.
Useful for:
• M1
• M3
• M5
• fast intraday scanning
• short-term chart review
Scalping mode should still be used with context, risk control, and independent analysis.
🌊 Swing
Swing mode is more selective.
It requires stronger stretch and a higher score threshold.
EMA and Zero filters are forced on for stricter directional context.
Useful for:
• larger market moves
• higher timeframe review
• slower trading style
• fewer but more filtered signals
🛡️ Funded Account
Funded Account mode is the strictest profile.
It requires the strongest internal confirmation among the available modes.
EMA and Zero filters are forced on.
Useful for:
• fewer signals
• stricter filtering
• drawdown-conscious review
• evaluation-style account discipline
• users who prefer cleaner setups
Important note:
This mode does not guarantee safer trades or profitable outcomes.
It only applies stricter internal filtering.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ SIGNAL CONFIRMATION MODE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes two confirmation modes:
✅ Bar Close
⚡ Live Intrabar
✅ Bar Close
Bar Close mode confirms signals only after the candle closes.
This is the default mode.
It is designed to reduce repaint perception and make signal behavior easier to review historically.
This is generally the cleaner option for alerts and structured review.
⚡ Live Intrabar
Live Intrabar mode allows signals to appear before the candle closes.
This can provide earlier visual feedback.
However, because the candle is still forming, the signal may change before the candle closes.
This mode is faster but less stable than Bar Close confirmation.
━━━━━━━━━━━━━━━━━━━━━━
🧭 ZERO FILTER
━━━━━━━━━━━━━━━━━━━━━━
The Zero Filter uses the oscillator’s zero line as an additional context layer.
In the default logic:
🟢 LONG setups require the engine oscillator to be below zero.
🔴 SHORT setups require the engine oscillator to be above zero.
This creates a reversal-style interpretation.
The idea is that long signals may be more meaningful when the engine is stretched below the zero region, while short signals may be more meaningful when the engine is stretched above the zero region.
Swing and Funded Account modes force this filter on.
━━━━━━━━━━━━━━━━━━━━━━
📈 EMA FILTER
━━━━━━━━━━━━━━━━━━━━━━
The EMA filter adds price-location context.
In this version, the default EMA logic is reversal-oriented:
🟢 LONG setups are allowed when price is below the EMA.
🔴 SHORT setups are allowed when price is above the EMA.
This is not a classic trend-following EMA filter.
It is used to help identify stretched conditions relative to a directional reference.
Swing and Funded Account modes force this filter on.
The dashboard also uses the EMA relationship to display a simple bias state:
🟢 LONG ONLY
🔴 SHORT ONLY
⚪ NEUTRAL
This bias should be treated as context, not as an instruction to trade.
━━━━━━━━━━━━━━━━━━━━━━
🕰️ HTF BIAS FILTER
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes a Higher Timeframe Bias Filter.
Available HTF modes:
⚪ Off
📈 EMA 100
📉 EMA 200
⚙️ Engine HTF
⚪ Off
No higher-timeframe filter is used.
📈 EMA 100
The script checks whether higher-timeframe price is above or below the HTF EMA 100.
Above HTF EMA100 = bullish bias.
Below HTF EMA100 = bearish bias.
📉 EMA 200
The script checks whether higher-timeframe price is above or below the HTF EMA 200.
This is a slower and broader macro filter compared to EMA 100.
⚙️ Engine HTF
The script calculates the engine relationship on the selected higher timeframe.
HTF engine above its signal line = bullish bias.
HTF engine below its signal line = bearish bias.
The HTF filter can help reduce signals that conflict with a broader directional context.
The default HTF timeframe is 60 minutes, but users can adjust it.
━━━━━━━━━━━━━━━━━━━━━━
⭐ SIGNAL SCORE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine calculates a 0–100 signal score.
The score is based on internal confluence components such as:
⚡ engine direction
📏 stretch strength
🧭 zero filter alignment
📈 EMA filter alignment
🔥 distance strength
The score appears in the dashboard and is also used internally by the selected Signal Mode.
Important note:
The score is not a win-rate prediction.
A score of 85 does not mean the signal has an 85% chance of winning.
It simply means the internal confluence conditions were stronger according to the script’s scoring model.
━━━━━━━━━━━━━━━━━━━━━━
🌟 STAR-BASED MAIN CHART LABELS
━━━━━━━━━━━━━━━━━━━━━━
On the main chart, Pulse Entry Engine uses star-based quality labels.
This keeps the chart cleaner than showing large score numbers directly on every signal label.
Star system:
⭐⭐⭐⭐⭐ = 96–100
⭐⭐⭐⭐ = 92–95
⭐⭐⭐ = 88–91
⭐⭐ = 84–87
⭐ = 80–83
☆ = below 80
Example labels:
▲ LONG PULSE
⭐⭐⭐⭐
▼ SHORT PULSE
⭐⭐⭐
The dashboard still keeps the full numerical score for users who want more detail.
━━━━━━━━━━━━━━━━━━━━━━
📊 SIGNAL STRENGTH BAR
━━━━━━━━━━━━━━━━━━━━━━
The main dashboard includes a Signal Strength Bar.
Example:
█████ 92
████░ 84
███░░ 73
This gives a quick visual representation of the current score.
The strength bar is not a performance statistic.
It does not represent probability or future outcome.
It only visualizes the current internal signal-quality score.
━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUAL THEME SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes three full visual themes:
🟢 Dark Emerald
🔵 Aqua Neon
🟣 Royal Purple
🟢 Dark Emerald
A dark professional theme using green, teal, and cyan accents.
🔵 Aqua Neon
A brighter cyber-style theme using blue, cyan, and pink tones.
🟣 Royal Purple
A premium-looking theme using purple and gold-style accents.
The theme affects:
🎨 dashboard colors
📡 live panel colors
🌊 oscillator colors
📊 histogram colors
🏷️ signal labels
📦 TP/SL boxes
🟢 LONG visuals
🔴 SHORT visuals
🕯️ active-trade candle coloring
🟩 signal-candle background
🚨 visual alert feel
Color inputs are intentionally not exposed in the Inputs tab.
The indicator uses internal theme profiles to keep the settings cleaner and more organized.
━━━━━━━━━━━━━━━━━━━━━━
🖥️ DISPLAY MODE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes three display profiles:
▫️ Minimal
▪️ Pro
🔳 Full
▫️ Minimal
Minimal mode reduces chart clutter.
It hides many optional visual layers such as dashboards, oscillator dots, gradient zones, pulse backgrounds, and TP level lines.
Useful for clean chart viewing.
▪️ Pro
Pro mode is the balanced default layout.
It uses the user’s individual visibility settings and is designed as the standard V1.0 experience.
🔳 Full
Full mode forces major visual layers on.
Useful for:
🎥 YouTube live streams
📸 screenshots
📚 educational examples
🧪 demonstrations
📊 full feature previews
━━━━━━━━━━━━━━━━━━━━━━
🌊 OSCILLATOR VISUAL ENGINE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes multiple oscillator display styles.
Available oscillator styles:
📊 Neon Histogram
🌊 Modern Pulse Wave
➖ Clean Line Pro
🕯️ Classic HA
🕯️ Classic Candles
Neon Histogram is the default mode in this version.
📊 Neon Histogram
This mode displays the difference between the engine core and signal line as a histogram.
The histogram helps users quickly read momentum expansion and contraction.
Positive and negative histogram areas are colored according to the selected theme.
🌊 Modern Pulse Wave
This mode displays a smooth pulse wave with soft glow layers and a momentum cloud.
It is designed to look clean, modern, and premium.
➖ Clean Line Pro
This mode provides a simpler line-based oscillator view with less visual noise.
🕯️ Classic HA
This mode keeps the previous Heikin Ashi-style synthetic oscillator candle view.
🕯️ Classic Candles
This mode keeps the previous raw synthetic oscillator candle view.
These modes allow users to choose between a modern histogram, a glowing wave, a minimal line, and legacy oscillator candle styles.
━━━━━━━━━━━━━━━━━━━━━━
🌈 OSCILLATOR SIGNAL DOTS
━━━━━━━━━━━━━━━━━━━━━━
The oscillator panel can show LONG and SHORT signal dots.
In modern modes, the dots can include a glow effect:
✨ larger soft outer dot
● smaller sharp inner dot
This makes signal locations easier to identify in the oscillator panel without large text labels.
These oscillator dots are visual markers only.
They are based on the same signal logic as the main chart labels.
━━━━━━━━━━━━━━━━━━━━━━
⚡ EXTREME STRETCH MARKERS
━━━━━━━━━━━━━━━━━━━━━━
The script can display extreme stretch markers when the engine reaches an extreme distance condition.
These markers highlight stretched momentum conditions.
They are not direct trade signals by themselves.
Their purpose is to show that the engine has moved far away from its recent average relationship with the signal line.
━━━━━━━━━━━━━━━━━━━━━━
📦 TP / SL PROJECTION SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes a TP/SL projection system on the main price chart.
When a new signal appears, the script can draw:
📦 TP box
📦 SL box
🎯 TP1 line
🎯 TP2 line
🎯 TP3 line
🏷️ result label
The system uses ATR-based risk.
Default risk settings:
📌 SL ATR Multiplier = 2.5
📌 Final TP Risk Reward = 1.5R
TP structure:
TP1 = 25% of final TP distance
TP2 = 50% of final TP distance
TP3 = final TP
The boxes are projected forward by an initial number of bars.
Default:
📌 Initial TP/SL Box Length = 10 bars
If the projected trade remains active longer than the initial length, the box continues extending until TP3, SL, or a valid replacement condition occurs.
━━━━━━━━━━━━━━━━━━━━━━
🎯 TP1 / TP2 / TP3 / SL RESULT LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The TP/SL projection system tracks the projected result visually.
Possible result labels:
🟢 TP1
🟢 TP2
🟢 TP3
🔴 SL
If price reaches TP3, the result is marked as TP3.
If price hits SL before reaching any TP level, the result is marked as SL.
If price reaches TP1 and later returns to SL, the result is marked as TP1.
If price reaches TP2 and later returns to SL, the result is marked as TP2.
This means the system remembers the highest target reached before a stop event.
This makes the visual projection more informative than a simple static TP/SL marker.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ SAME-BAR TP/SL HANDLING
━━━━━━━━━━━━━━━━━━━━━━
If TP and SL are both touched on the same candle, there is ambiguity.
The script cannot know the true intrabar sequence unless lower-timeframe reconstruction is used.
For this reason, the script includes a same-bar setting:
If TP and SL Hit Same Bar:
🔴 SL
🟢 TP1
SL is the conservative default.
This allows users to decide how they want same-candle ambiguity to be handled in the visual projection.
━━━━━━━━━━━━━━━━━━━━━━
🔁 ACTIVE TRADE SIGNAL GATE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes an active projection gate.
If a projected trade is active and has not yet reached TP1, the script blocks new signals.
This prevents the chart from stacking multiple new signals before the previous projection has made minimum progress.
If an active projection has already reached TP1 or TP2 and a new signal appears, the old projection can be closed at its highest reached TP level and the new signal can begin.
This keeps the visual trade structure cleaner and more organized.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ ACTIVE TRADE CANDLE COLORING
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine can color candles while a projected trade is active.
This candle coloring appears only during an active projection.
🟢 During an active LONG projection, candles use the theme long color.
🔴 During an active SHORT projection, candles use the theme short color.
Once the projection closes, candle coloring stops.
This helps users visually identify when the system considers a projected trade to be active.
It is not a separate trading signal.
━━━━━━━━━━━━━━━━━━━━━━
🟩 SIGNAL CANDLE BACKGROUND
━━━━━━━━━━━━━━━━━━━━━━
The script can highlight the exact candle that produced a confirmed signal.
🟢 LONG signal = vertical long-colored background stripe
🔴 SHORT signal = vertical short-colored background stripe
This feature is useful for:
📌 historical review
📌 live chart monitoring
📌 YouTube live streams
📌 educational explanations
📌 quickly locating the original signal candle
━━━━━━━━━━━━━━━━━━━━━━
📋 MAIN DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes a compact main dashboard.
The dashboard can display:
🎛️ Signal Mode
🎨 Theme
🧭 Bias
🔥 Stretch state
⭐ Score
📊 Strength
🎯 Signal state
🕯️ Confirmation mode
🕰️ HTF Bias
The dashboard is intentionally compact.
It is not designed to be a large performance table.
Its purpose is to summarize the current engine state and help users understand what the script is currently reading.
Dashboard position and size can be adjusted from the settings.
━━━━━━━━━━━━━━━━━━━━━━
📡 LIVE SCANNING PANEL
━━━━━━━━━━━━━━━━━━━━━━
The script includes a compact Live Scanning panel.
The live panel displays the Pulse Entry Engine live scanning state in a clean visual format.
The lower information row was intentionally removed to keep the chart cleaner.
Users can adjust:
📍 Live Panel Position
🔠 Live Panel Size
● Live blinking status symbol
The live panel is visual only.
It does not affect signal logic.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes both standard alert conditions and dynamic alert messages.
Standard alertcondition alerts include:
🟢 LONG signal
🔴 SHORT signal
⚡ LONG/SHORT signal
🔥 Extreme stretch detected
The script also includes dynamic alert messages using alert().
The dynamic alert message can include:
📌 indicator name and version
📌 signal direction
📌 ticker
📌 timeframe
📌 Signal Mode
📌 Confirmation Mode
📌 HTF Bias
📌 Score
📌 Stretch
📌 ATR risk setting
📌 TP RR setting
Important usage note:
To use the full dynamic alert message, create a PulseWire alert with:
Condition: Pulse Entry Engine
Option: Any alert() function call
The standard alertcondition options can still be used as simpler fallback alerts.
━━━━━━━━━━━━━━━━━━━━━━
🧪 HOW TO USE THE INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
A practical workflow:
1. Add Pulse Entry Engine to your chart.
2. Start with the default Pro display mode.
3. Choose a visual theme that fits your chart.
4. Select your Signal Mode.
5. Use Bar Close confirmation for cleaner signal review.
6. Choose whether to enable the HTF Bias Filter.
7. Watch the oscillator histogram for momentum expansion.
8. Review the dashboard for score, stretch, signal state, and HTF bias.
9. When a LONG or SHORT pulse appears, check the star rating.
10. Look at the signal candle background highlight.
11. Review the TP/SL projection box.
12. Observe whether the projection reaches TP1, TP2, TP3, or SL.
13. Use alerts if you want automated signal notifications.
14. Validate the indicator on the specific markets and timeframes you personally study.
The indicator is best used as a structured decision-support tool.
It should not be used as a blind execution system.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━
🎯 Signal Logic
Source
Selects the price source used by the Pulse Entry Engine core.
Signal Length 1
Primary engine calculation length.
Signal Length 2
Secondary engine calculation length.
Signal Mode
Selects the main signal preset:
🔥 Aggressive
⚖️ Balanced
⚡ Scalping
🌊 Swing
🛡️ Funded Account
Signal Confirmation Mode
Controls when a signal is allowed to confirm:
✅ Bar Close
⚡ Live Intrabar
Average Distance Length
Lookback length used to calculate average distance between engine and signal line.
Distance Multiplier
Balanced mode stretch threshold.
Extreme Stretch Multiplier
Balanced mode extreme stretch threshold.
Reset When Distance Gets Weak
Allows the internal signal state to reset when distance becomes weak.
Reset Multiplier
Defines how weak the distance must become before reset.
Use Zero Filter
Enables zero-line filtering.
📈 EMA Filter
Use EMA Filter
Enables the EMA context filter.
EMA Length
EMA length used for the filter and dashboard bias.
🧭 HTF Bias Filter
HTF Bias Mode
Available modes:
⚪ Off
📈 EMA 100
📉 EMA 200
⚙️ Engine HTF
HTF Timeframe
Higher timeframe used by the HTF filter.
🎨 Style
Visual Theme
Available themes:
🟢 Dark Emerald
🔵 Aqua Neon
🟣 Royal Purple
Display Mode
Available profiles:
▫️ Minimal
▪️ Pro
🔳 Full
Oscillator Visual Mode
Available styles:
📊 Neon Histogram
🌊 Modern Pulse Wave
➖ Clean Line Pro
🕯️ Classic HA
🕯️ Classic Candles
Show Signal Line
Shows or hides the engine signal line.
Show Momentum Cloud
Shows the oscillator momentum cloud.
Show Zero Zone
Shows the oscillator zero zone.
Zero Zone Width
Controls the width of the zero zone.
Show Gradient Background Zones
Shows subtle oscillator background zones.
Show Extreme Stretch Markers
Shows extreme stretch pulse markers.
Show Oscillator Pulse Glow
Adds glow layers to modern oscillator visuals.
Show Neon Histogram
Controls histogram visibility when Neon Histogram mode is selected.
Show Oscillator Signal Dots
Shows LONG/SHORT dots in the oscillator panel.
Show Main Chart LONG / SHORT Labels
Shows signal labels on the main chart.
Main Chart Label Offset ATR
Controls how far signal labels are placed from price.
Show Main Chart Dashboard
Shows or hides the main dashboard.
Dashboard Position
Controls dashboard location.
Dashboard Size
Controls dashboard text size.
Show Main Chart Live Dashboard
Shows or hides the live scanning panel.
Live Panel Position
Controls live panel location.
Live Panel Size
Controls live panel text size.
Show Signal Pulse Background
Shows a soft background pulse when a signal appears.
Show Signal Candle Background
Highlights the exact signal candle with a vertical background.
Signal Candle Background Transparency
Controls the transparency of the signal candle highlight.
Color Candles During Active Trade
Colors price candles only while a projected trade is active.
Active Trade Candle Transparency
Controls active-trade candle coloring transparency.
Use Live Blinking Status Symbol
Enables the blinking live scanning dot.
Live Symbol Blink Seconds
Controls blink speed.
📦 TP / SL Box System
Show TP / SL Boxes on Main Chart
Enables TP/SL projection boxes.
SL ATR Length
ATR length used for stop-loss calculation.
SL ATR Multiplier
ATR multiplier used for SL distance.
Final TP Risk Reward
Final TP target multiple:
1R
1.5R
2R
3R
4R
5R
Max Stored TP / SL Trades
Maximum historical projection objects kept on chart.
If TP and SL Hit Same Bar
Controls same-bar ambiguity handling.
Show TP1 / TP2 / TP3 Lines
Shows TP level lines inside the projection box.
Initial TP / SL Box Length
Initial forward length of projection boxes.
Show TP / SL Result Label
Shows result labels after projected trade closes.
🛡️ Professional Controls
Max Main Signal Labels
Limits the number of main-chart signal labels to protect PulseWire object limits.
Enable Dynamic Alert Messages
Enables alert() based dynamic alert messages.
Show Version Badge
Shows the V1.0 badge in the visual panels.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine uses familiar concepts such as:
⚡ oscillator momentum
📈 signal lines
🧭 EMA context
🕰️ higher-timeframe filtering
📦 ATR-based risk projection
📊 dashboards
🚨 alerts
These components are not unique by themselves.
The originality of the script lies in how these components are organized into one workflow:
Pulse Engine
→ Stretch Detection
→ Signal Mode Filtering
→ Score Classification
→ HTF Bias Confirmation
→ Modern Oscillator Visualization
→ Star-Based Quality Label
→ TP/SL Projection
→ Active-Trade Candle Coloring
→ Compact Dashboard
→ Dynamic Alerts
This structure is intended to give users a more organized way to review momentum-based entries.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT PRACTICAL NOTES
━━━━━━━━━━━━━━━━━━━━━━
The script’s behavior depends heavily on settings.
Signal frequency and visual output may change based on:
🎛️ selected Signal Mode
🕯️ confirmation mode
📈 EMA filter setting
🧭 HTF bias mode
🌊 oscillator visual mode
🖥️ display profile
📏 ATR multiplier
🎯 TP RR setting
📊 market
⏱️ timeframe
📉 symbol volatility
📚 available historical bars
A mode that appears cleaner on one symbol may not behave the same way on another.
The TP/SL boxes are visual projections based on the script’s rules.
They are not broker orders.
They do not account for real execution conditions.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS AND SHORTCOMINGS
━━━━━━━━━━━━━━━━━━━━━━
This script has important limitations:
❌ It does not guarantee profitable trades.
❌ It does not predict future price movement.
❌ It does not replace risk management.
❌ It does not execute trades.
❌ It does not place orders.
❌ It does not include broker slippage.
❌ It does not include commissions.
❌ It does not include spreads.
❌ It uses bar-based chart data.
❌ Same-bar TP/SL order is approximated by a user-selected rule.
❌ Live Intrabar mode may change before candle close.
❌ Higher-timeframe filters can lag.
❌ EMA filters can conflict with certain market structures.
❌ Momentum signals can fail in choppy markets.
❌ Strong scores do not guarantee successful outcomes.
❌ TP/SL projections are visual analysis tools, not trade instructions.
❌ Historical visual behavior does not ensure future behavior.
For these reasons, Pulse Entry Engine should be used as an educational decision-support tool, not as a standalone trading strategy.
━━━━━━━━━━━━━━━━━━━━━━
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
━━━━━━━━━━━━━━━━━━━━━━
This script may be useful for traders who:
✅ study momentum-based entries
✅ want a structured entry review tool
✅ want a clean visual dashboard
✅ want higher-timeframe context
✅ want ATR-based TP/SL projection
✅ want signal strength scoring
✅ want modern oscillator visuals
✅ want star-based quality labels
✅ want active-trade candle coloring
✅ want dynamic alerts
✅ prefer organized chart-based analysis
✅ want a free visual trading assistant for review and education
It may be less suitable for users who:
❌ want guaranteed buy/sell signals
❌ want a fully automated trading bot
❌ do not want chart visuals
❌ do not use technical analysis
❌ expect one setting to work on every market
❌ want an indicator that replaces their own decision-making
━━━━━━━━━━━━━━━━━━━━━━
🧭 BEST PRACTICE SUGGESTIONS
━━━━━━━━━━━━━━━━━━━━━━
For cleaner review:
✅ Start with Bar Close confirmation.
✅ Start with Balanced or Funded Account mode.
✅ Use HTF Bias only when you want broader directional filtering.
✅ Use Minimal display mode if the chart feels crowded.
✅ Use Full display mode for screenshots, education, and live demonstrations.
✅ Review signals together with market structure.
✅ Avoid treating every label as an automatic trade.
✅ Test the indicator on the specific symbols and timeframes you actually watch.
✅ Combine the tool with your own analysis and risk rules.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
No indicator can guarantee future results.
Markets are uncertain, conditions change, and historical behavior does not ensure future performance.
Every user is responsible for their own analysis, validation, risk management, position sizing, and trading decisions.
Use this script as a structured decision-support and visual review framework, not as a promise of profitability. Indicator

Index Futures Position Size Calculator V2A simple, free position size calculator for CME index futures traders.
Click Entry, click Stop Loss, pick your asset, get your contract size instantly. Built for fast NY session execution — no spreadsheets, no manual maths, no noise.
This is the updated version. The first release was a bare-bones calculator showing contract size only with a fixed SL buffer. This version is a full rebuild — every feature below came from real trading feedback, not theory.
═══════════════════════════════════
✦ SUPPORTED INSTRUMENTS
MNQ · MES · NQ · ES — all CME tick values hardcoded. No manual lookup, no mistakes.
═══════════════════════════════════
✦ WHAT IS NEW IN THIS VERSION
→ SL buffer is now a toggle — switch the auto ±1 handle offset on or off anytime from settings. When on, the SL label shows +1H so you always know what was calculated
→ Panel now shows four live values — asset, contract size, real USD risk after rounding, and full stop distance in points
→ Direction arrow — ▲ Buy or ▼ Sell auto-detected from your Entry and SL position
→ Panel size control — choose Small, Medium, Large or XL to fit any screen or preference
→ Lines now start exactly at your click point and extend right — no more lines appearing from far left
→ Price labels on both lines — see your exact Entry and adjusted SL price at a glance
→ Ghost line bug fixed — no more phantom line appearing at the bottom when switching timeframes
→ Dark PulseWire-native panel design — colour-coded values, clean two-column layout, easy to read at a glance during live sessions
═══════════════════════════════════
✦ FEATURES
→ One-click Entry and Stop Loss directly on the chart
→ Optional auto ±1 handle SL buffer — structural protection against wick hunts built in
→ Asset dropdown — MNQ, MES, NQ, ES with correct tick value loading automatically
→ Smart rounding — fractional contracts of 0.75 or higher round up, otherwise round down
→ Green Entry line and Red SL line from your exact click, both extending right
→ Live panel updates instantly when you move Entry or SL
═══════════════════════════════════
✦ HOW TO USE
Add to chart → click Entry → click Stop Loss → pick asset → set Account Size and Risk %. Read your size from the top-right panel. Three clicks and you are sized.
═══════════════════════════════════
✦ PROP FIRM CHALLENGE SIZING
Two clean methods to work within your max drawdown limit.
Method 1 — Loss budget split Divide your max loss by how many consecutive losses you can afford. Enter the result as Account Size with Risk at 100%. Example: $2,000 max loss ÷ 5 losses → Account Size $400 · Risk 100%
Method 2 — Direct percentage Enter your full max loss as Account Size and set your per-trade percentage. Example: $2,000 max loss, 20% per trade → Account Size $2,000 · Risk 20%
Both give the same result — use whichever feels natural.
═══════════════════════════════════
✦ A NOTE FROM THE AUTHOR
Built together with Claude AI through real iterative development — every single feature in this indicator exists because a real trade needed it.
This is 100% free and open source. No Discord, no course, no affiliate links, nothing to buy — ever.
You are completely free to copy this, modify it, rename it, improve it and republish it as your own. Seriously — go ahead. If you build something better on top of this, that is exactly the point. Clean tools should be free and open to everyone.
If it helps even one trader size their positions properly and protect their capital, it was worth sharing.
═══════════════════════════════════
✦ DISCLAIMER
Educational tool only. I do not take any responsibility when you use this indicator in your trading — always check the calculations before use. Futures trading carries substantial risk of loss. Not financial advice.
Built with ❤️ by REDz and Claude Indicator
