| CALLS | STRIKE | PUTS | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IV | DELTA | CHG OI LOTS / % | OI LOTS / % | VOL LOTS / % | LTP | Rev (LTP/Spot) | STRIKE | Rev (LTP/Spot) | LTP | VOL LOTS / % | OI LOTS / % | CHG OI LOTS / % | DELTA | IV |
| Loading option chain… | ||||||||||||||
DHAN · 1-SECOND LIVE TICKS
NIFTY 5-Minute Candles
| TIME | R1 | R2 | S1 | S2 | ||||
|---|---|---|---|---|---|---|---|---|
| — | — | — | — | |||||
| CE | PE | CE | PE | CE | PE | CE | PE | |
PAPER SUMMARY
CK Live Paper & Strategy Paper
| IN TIME | OUT TIME | SYMBOL | SIDE | STRIKE | TYPE | SETUP | SPOT ENTRY | RESULT | HELD | EXIT REASON / RULE | QUOTE TIME · IST | LOTS | QUANTITY | OPTION ENTRY | CURRENT / EXIT | OPTION SL | OPTION TARGET | SPOT EXIT | TRADE MOVE (PTS) | REPEATED TRADE COUNT | P&L INR |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Waiting for live Dhan trade history | |||||||||||||||||||||
| ENTRY TIME | CLOSING TIME | SIDE | CONTRACT | LEVEL | SETUP | ENTRY VALUE | STATUS | RESULT | EXIT REASON | SPOT ENTRY | LIVE ACTION | LOTS | QUANTITY | OPTION ENTRY | CURRENT / EXIT | OPTION SL | OPTION TARGET | SPOT EXIT | TRADE MOVE (PTS) | REPEATED TRADE COUNT | P&L INR |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No strategy paper trades yet | |||||||||||||||||||||
| IN TIME | OUT TIME | SYMBOL | SIDE | STRIKE | TYPE | SETUP | SPOT ENTRY | RESULT | HELD | EXIT REASON / RULE | QUOTE TIME · IST | LOTS | QUANTITY | OPTION ENTRY | CURRENT / EXIT | OPTION SL | OPTION TARGET | SPOT EXIT | TRADE MOVE (PTS) | REPEATED TRADE COUNT | P&L INR |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No paper trades | |||||||||||||||||||||
| TIME | PAPER TRADE ID | ACTION | STRATEGY | CONTRACT | LOTS / QTY | CURRENT LTP | ACTUAL ENTRY | DHAN ORDER | STATUS | DETAIL |
|---|---|---|---|---|---|---|---|---|---|---|
| No automatic Dhan order attempts | ||||||||||
| ENTRY / CLOSE | SIGNAL | CONTRACT | SETUP / REASON | OPTION DATA | LOTS / QTY | ENTRY / EXIT | SL / TARGET | STATUS / RESULT | OPTION P&L |
|---|---|---|---|---|---|---|---|---|---|
| Open Backtester and click Analyze selected day | |||||||||
Rule List
Trade Rules & CalculationsSymbol legend
Daily Realized P&L uses only finalized P&L from trades completely closed today. Open/running/unrealized P&L is never included. At or below the saved negative loss limit, or at or above the saved positive profit limit, every new manual, automatic, strategy, reversal, re-entry and S-I-C entry is blocked. Saving either limit recalculates its lock immediately. P&L movement alone never clears an already-triggered lock. Existing SL/Target/Exit and EXIT ALL remain active, and the server-side state survives refresh, browser closure and other devices.
Strategy 1–12 Risk Settings
Shared VPS settings for new Live and Backtester trades| SETUP LOTS & MAXIMUM BUYING LIMIT | ||||
|---|---|---|---|---|
| RISKY LOTS | LPT LOTS | HPT LOTS | MAXIMUM BUYING LIMIT (₹) | APPLIES TO |
| Every strategy-generated entry, including replacements | ||||
| STRATEGY | SL POINTS | TARGET POINTS | LOTS | APPLIES TO |
|---|---|---|---|---|
| Strategy 1 | Reverse LPT entry | |||
| Strategy 2 | COI reversal entry | |||
| Strategy 3 | HPT stop reversal | |||
| Strategy 4 | Retest upgrade entry | |||
| Strategy 5 | Original R1/A1 SHORT → LONG CE; S1/B1 LONG → SHORT PE. NO TRADE only; max(0, opposite COI − same COI) must be strictly > 2,00,000 in the selected unit. | |||
| Strategy 6 | New HPT entries while S6 is ON | |||
| Strategy 7 | New S7 replacements in Backtester and live paper only. Exempt from general 40K opposite-COI exit; SL/target, S7 reversals and session exits remain active. | |||
| Strategy 8 | Opposite paper trade only if same-side COI drops at least 20,000 lots after a 10-point HPT stop, within that candle. Real Dhan S8 entry disabled. | |||
| Strategy 9 | 100/200 TOP→BOTTOM or BOTTOM→TOP spot movement; no 32-point retracement condition. Paper-only. | |||
| Strategy 10 | S10 is a switch: uses each open trade’s Strategy 1–9 SL/target points as NIFTY Spot distances. These values are fallback only for legacy trades without saved risk points. | |||
| Strategy 11 | Original HPT SL | Suspended | Close 5 / retain 5 | Original R1/S1 HPT only, exactly 10 open lots; opposite COI advantage >10,000 with same-side advantage 0. Close five lots at current option LTP, classify the remainder as LPT, and hold those five to the original SL/session exit. Paper-only; no Dhan order action. |
| Strategy 12 | Default reversal replacement risk; editable before saving. |
CK PAIR — REMAINING LEG SL
Only when the checkbox is enabled: when one CK CE/PE leg fully closes, remaining SL = current active SL + this value, once per closure. Target stays unchanged. Applies to CK Live, Live Paper and Backtester. Enter 0 to disable. The checkbox saves immediately; the points value is kept when OFF. Changes apply to future closures; turning OFF does not undo an existing tightened SL.
Loading saved CK remaining-leg SL rule…
REPEATED TARGET OVERRIDE — SHARED RULE LIST
Saved repeated-target rule loading…
CK / CE+PE pair entry — NIFTY only: Live CK_REPETED_TRADE and BUY CE + PE one-click use the saved Highest/Lowest |Delta| selection in the Live Pair form, within the signed 0.60–0.715 eligibility range, independently for CE and PE. NIFTY requires a fresh matching option LTP strictly below ₹350 (₹350 is excluded); if a candidate is over the cap, try the next eligible Delta in the selected order. If either side has no eligible contract, do not open a pair. Backtesters use their own saved Highest/Lowest |Delta| selection. SENSEX is not capped. Entry only: open trades continue normal repeated-target, SL and session protection even above ₹350.
Enable the Repeated target override checkbox on Live or replay. SAVE REPEATED TARGET RULE saves only these three values to the VPS, independently of the other strategy settings; the main SAVE SETTINGS also saves them. The saved values apply to subsequent eligible quotes in Home Live, Nifty & Sensex Live and Backtester without restart. CK pair trades force this override even if the general Live checkbox is off. Each step uses the updated target; SL never moves backwards. SL offset must be at least the trigger distance. Stops, daily-loss protection and session exits stay active. Manual Target +5 is separate.
STRATEGY 12 — COI PRESSURE REVERSAL & PROFIT MANAGEMENT
Mapping: R1/R2 same-side CE, opposite PE; S1/S2 same-side PE, opposite CE. For SHORT, yellow pressure watches opposite-side COI; for LONG, it watches same-side COI. Higher/lower comparisons use strike price. Unfilled mandatory values keep S12 actions blocked.
Loading shared VPS settings…
28 September 2026 — Strategy 7 update: Each changed CE or PE highest-COI strike is tracked independently and must remain highest for two consecutive valid option-chain updates before reversal. A return to baseline cancels the pending movement. Exact unrounded COI values are used. Set S7 SL points, Target points and Lots above, then SAVE SETTINGS. Applies to new S7 replacements; defaults 10 / 20 / 5. Existing open trades are unchanged. Backtester reads saved settings when Load is clicked (start a new replay). S7 replacements ignore the general 40K opposite-COI exit; other trade types keep their rules. SL/Target, session exits, later valid S7 reversals and realized daily-loss entry protection remain active. Real Dhan S7 entries remain disabled.
When Strategy 10 is checked for NIFTY, each open paper trade uses its originating Strategy 1–9 Rule List SL/target points as Spot distances (LONG: Spot entry − SL / + target; SHORT: + SL / − target). Ordinary RISKY/LPT/HPT trades retain the risk points saved on that trade. A Spot trigger exits at the current option LTP. Saving Rule List risk values updates Live evaluation immediately and updates a running Backtester replay without reload/reset; when S10 is unchecked, option-LTP SL/target checks resume on the next update. S6’s separate protected-exit rule remains in force. S10 never modifies, replaces or exits a Dhan position.
1 October 2026 — Setup lots and Maximum Buying Limit: Risky, LPT and HPT lots and the rupee limit above are saved on the VPS and shared by Live paper trading and Backtester. Every strategy-generated entry uses its current requested lots, contract lot size and entry option LTP. If the entry value exceeds the configured limit, lots are reduced to the largest whole-lot size within the limit; if one lot is over the limit, the entry is recorded as NO TRADE. Live trade details show the requested and actual lots and the limit calculation. Changes apply to new entries only.
25 SEPTEMBER 2026 — AUTO DHAN REPLACEMENT & COI VALIDATION
- Manual paper exit: closing a paper trade records only a paper exit. If a matching real Dhan trade exists, Auto Dhan requests its exit and waits until the broker confirms it CLOSED before any replacement order.
- Paper-only predecessor: if the closed paper predecessor has no matching tracked Dhan trade, the VPS verifies that its exact Dhan option contract has no open broker position. A verified flat contract lets the new eligible paper signal proceed; a missing paper record or unverified/open broker position blocks entry and appears in the Auto Order Log. Manual One-Click trades are not treated as paper predecessors.
- Invalid COI/volume: no new paper or automatic Dhan entry is created when the selected strike has a zero or invalid COI range maximum, volume range maximum, or percentage. Replacement trades use the same check. The paper trade table now receives the full measured range and percentage values instead of showing
0andNaN%for valid setups. - Other entry gates: Auto Dhan must still be ON, the market must be inside the entry window, daily realized loss must allow entries, and the selected Dhan order must pass the final server check.
24 SEPTEMBER 2026 — TODAY'S MODIFICATIONS
- Daily Maximum Loss Limit: ₹8,000 default server-side global entry lock uses only net finalized realized P&L from trades completely closed today. Open/running/unrealized P&L is excluded. Saving a changed limit immediately recalculates the lock, so raising it above today’s realized loss enables entries and lowering it past today’s loss disables them. The server state survives browser/device changes and never blocks exits.
- Central final order check: manual, automatic, Strategy 1–6, LPT/HPT, reversal, re-entry and S-I-C orders all pass the same Daily Loss check immediately before Dhan order submission.
- Backtester replay speeds: added 1× STRICT, 5×, 10×, 25×, 50×, 100× and MAX SPEED. Speed changes delay only; every available one-second observation completes full trading calculations sequentially.
- Replay verification: added Expected Observations, Processed Observations, Engine Skipped Observations, Source Data Gaps, elapsed time and processing-rate results. Required result: Engine Skipped Observations = 0.
CK S-I-C — NIFTY DETAILED RULES
- Structure: BUY CE + BUY PE + SELL CE + SELL PE. NIFTY uses 65 units per lot in this implementation.
- Normal automatic selection: ATM/OTM contracts only; every premium ₹1–₹35 inclusive and every absolute entry delta ≤0.517. Select the lowest eligible BUY premiums.
- SELL location: ATM ≤ SELL CE < BUY CE; BUY PE < SELL PE ≤ ATM. SELL CE/PE premium difference must be ₹1–₹10 inclusive; maximize combined SELL premium, then prefer the smaller difference.
- Normal SL: entry below ₹15 uses 10 option points; entry ≥₹15 uses 50% of entry. BUY stop is max(0, entry − distance); SELL stop is entry + distance.
- Any-leg SL: an SL hit on any leg closes ALL open legs, including BUY hedges. Before cutoff, retry a fresh four-leg trade using the applicable normal/safe selection rules. Never bypass eligibility merely to re-enter.
- Delta exit: for a complete four-leg strategy, any monitored |delta| >0.517 closes all legs and queues a fresh eligible trade before cutoff.
- 1% achievement: at P&L / estimated margin ×100 ≥1%, close all legs and display a closable profit alert for up to one minute. Live currently uses the open cycle's P&L for this test. Safe mode is then permanent for later trades in that session.
- Permanent safe mode: EVERY later BUY and SELL entry must be ₹2–₹10 inclusive. Reject below ₹2 and above ₹10. Use a fixed 20-option-point SL; BUY stop is floored at zero. Maintain ATM/OTM, |delta| ≤0.517 and SELL difference ₹1–₹10.
- Persistence: SL, delta exits, manual Exit All and a Live server restart do not disable safe mode. Backtester Clear resets its session and safe mode; Live history/safe mode is retained.
- Margin: Live currently estimates Spot × Quantity × rate: 9.8% within 1%, 9.2% within 2%, 8.7% within 3%, otherwise 8.2%, using the nearest short-strike distance. It is not a guaranteed broker margin requirement.
- Cutoff: Live rejects new automatic S-I-C execution at or after 15:10 IST. Backtester uses its selected Close Time. No valid contract set means wait, not an out-of-range trade.
- VPS operation: Live paper monitoring and automatic re-entry run on the server while browsers are closed. Paper exits remain separate from confirmed Dhan broker fills.
CK S-I-C — SENSEX RULES
- Dhan SENSEX chain and its returned active expiry are used; this implementation uses 20 units per lot.
- The four-leg selection, all-leg SL/delta exit, permanent ₹2–₹10 safe mode and 20-point safe SL rules above also apply to SENSEX. There is no separate ₹1–₹1.50 hedge rule in the current engine.
- No new Live automatic entry at or after 15:10 IST. Eligible four-leg re-entry retries before cutoff.
- SENSEX recordings use separate YYYY-MM-DD-sensex keys and are selected through the instrument control.
1. Signal levels
- R1/R2 are resistance signals and check CE-side data at their configured level strike.
- S1/S2 are support signals and check PE-side data at their configured level strike.
- For R1 and S1, same COI, opposite COI, COI percentage, Volume percentage, and every 20K/40K decision are calculated from the same configured R1/S1 strike row.
- For R2 and S2, the same calculations use their configured R2/S2 strike row.
- If a configured strike is unavailable, the nearest available option-chain strike is used.
- Spot must enter the configured Level range ± before evaluation.
- Only one paper trade may remain active; another signal waits until exit.
- Repeat entries: while flat, a used level rearms only after spot moves more than max(Level range + 1, 2 × Level range) away. Do not enter on that rearming update; wait for a fresh qualifying touch.
- Touch detection: Backtester includes the recorded tick high/low; Live uses the previous/current spot interval.
- Rejected setups: Backtester may reevaluate on a new chain snapshot. Live records the rejection and waits for a move-away/rearm before another touch.
2. Option contract
- R1/R2 opens SHORT using a PE contract selected by delta.
- S1/S2 opens LONG using a CE contract selected by delta.
- Eligible absolute delta range is controlled by Delta minimum and Delta maximum in Level & Risk. The default inclusive range is 0.60 to 0.71.
- If several strikes qualify, the highest absolute delta is selected; with the default settings, 0.71 is preferred over 0.65.
- The exact strike belonging to that selected delta is traded—never shift the strike by +1 ITM or −1 OTM.
- Negative PE delta is compared by absolute value, so −0.65 is treated as 0.65.
- If no contract is inside the selected range, the result is NO TRADE. There is no ATM±1 fallback.
- Dhan supplies the option chain, delta, LTP, instrument security ID, order execution and position status.
- One lot uses Dhan's authoritative instrument-master lot size.
3. Percentage calculation
- Trade COI % = positive checked-strike same-side COI ÷ maximum positive same-side COI in the selected ±strike window around the checked strike × 100. Zero or negative checked-strike COI is not eligible.
- OI % = strike OI ÷ maximum same-side OI in displayed strikes × 100.
- Trade Volume % = absolute checked-strike volume ÷ maximum absolute same-side volume in that same checked-strike window × 100.
- 99.95% or above is treated as 100% for classification.
- Trading maxima use the checked level strike as their centre (R1/R2/S1/S2); displayed ATM-window percentages may differ. 100% is a relative maximum, not a guaranteed probability.
4. Probability model
- COI range percentage: checked-strike same-side COI ÷ maximum same-side COI inside the selected R1/S1 option-chain range × 100. Opposite COI is not used in this percentage.
- RISKY — 1 lot, POP 50%: COI is 100% but volume is below 99.95%, after all NO TRADE checks pass.
- LPT — 5 lots, POP 70%: COI and volume are 100%, without the 20K same-side advantage required for HPT. Opposite COI may be slightly stronger provided its advantage is strictly below 20K and the R2/S2 40K filter passes.
- HPT — 10 lots, POP 90%: COI and volume are 100%, and same-side COI leads by at least 20K in the selected logic unit.
- Display in lots is permanently enabled: CHG OI, OI and volume are divided by the configured lot size, and all 20K/40K rules use lots in Live, Backtester and VPS processing.
5. No-trade rules
- Same-side COI below 99.95%: NO TRADE.
- At entry, opposite COI advantage ≥20K: NO TRADE.
- At entry for second levels R2/S2, opposite-side COI ≥40K: NO TRADE.
- After a trade opens, a later 20K opposite advantage does not close the position.
- A NO TRADE setup blocks normal entry. Exception: enabled Strategy 5 may open a reverse trade at R1/S1 only when max(0, opposite COI − same COI), at the configured strike and in the selected logic unit, is strictly above 2,00,000.
6. Risk and exits
- Option SL = max(0.05, entry LTP − configured SL points).
- Option target = entry LTP + configured target points.
- Trade quantity = setup lots × contract units per lot.
- P&L points = current/exit LTP − entry LTP.
- Cash P&L = P&L points × setup lots × units per lot.
- The selected logic unit and lot size are frozen when a trade opens, so changing the checkbox cannot alter that open trade's calculation or exit threshold.
- During every open trade, a 20K opposite COI advantage alone does not close the position.
- All-trade active COI check: on every update, for HPT, LPT, RISKY, Strategy 1 and Strategy 2 trades, calculate current opposite advantage = max(0, current opposite-side COI − current same-side COI) at the configured strike.
- If the current opposite advantage is below 40,000, continue to SL or target. Close immediately when it reaches exactly 40,000 or becomes greater.
- The check always compares the two current COI values; it never subtracts entry-time COI. Strategy 1 replacements use the ATM selected when the replacement opens.
- When Display in lots is checked, the comparison uses displayed lot-converted COI. When unchecked, it uses actual exchange quantity.
- The 40K current-advantage check applies at R1, R2, S1 and S2 and to every setup type.
- A second trade cannot be booked until the first trade has a confirmed closing time and its close cycle is complete.
- Same-update exit priority: 3:14 PM time exit → enabled Strategy 6 protected exit → eligible Strategy 1 → option SL → option target → eligible Strategy 2 → ordinary opposite-COI exit. A qualifying exit takes precedence over a Strategy 4 upgrade.
- Exit pricing: Backtester books ordinary SL/target at the configured stop/target price; Live paper uses observed option LTP. Actual Dhan fills can differ from both.
7. NIFTY 150/32 and 200/32 impulse
- While flat, a 150- or 200-point top-to-bottom spot fall without a 32-point rebound attempts LONG CE entry before 15:14 IST. A 200-point jump on one update takes precedence when both thresholds trigger together.
- Both entries use 1 lot, the highest eligible absolute delta inside the selected range, a 10-option-point SL and a 30-option-point target. BUY requires a fresh, matching one-second option LTP for the chosen token; a snapshot-only price cannot place the trade.
- A 32-point rebound before completing the fall resets the downward sequence. Live evaluates server spot samples; Backtester evaluates every recorded replay sample.
- Chart markers and five-minute historical estimates are approximate and may not match every executable signal. Upward moves may appear on the chart but do not create an impulse BUY.
8. ATM, ITM and OTM
- ATM is the displayed strike nearest to the current NIFTY spot.
- CE strikes below ATM are ITM; CE strikes above ATM are OTM.
- PE strikes above ATM are ITM; PE strikes below ATM are OTM.
- Badges update automatically whenever spot moves to a new ATM strike.
- Brown delta highlight: absolute delta 0.65–0.71 inclusive uses a medium-light brown background for CE and PE in Live and Backtester. Contract eligibility uses the selected Delta minimum and Delta maximum; defaults are 0.60–0.71.
9. Chart position overlay
- The white center line marks the spot at trade entry.
- For LONG positions, the green target zone is above entry and the red stop zone is below entry.
- For SHORT positions, the green target zone is below entry and the red stop zone is above entry.
- The displayed SL and target labels are option-premium points projected around the spot entry for visual reference.
- An open overlay extends to the current replay time; a closed overlay ends at the recorded exit time.
10. NIFTY SL/Target Backtester tab
- This additional tab keeps the same signal, selected option contract, lots and entry premium.
- SL and target points are applied to NIFTY spot instead of option premium.
- LONG: NIFTY SL is below spot entry and target is above it. SHORT: NIFTY SL is above spot entry and target is below it.
- When NIFTY reaches SL or target, the option LTP recorded at that time becomes the exit premium.
- Option cash P&L = (option exit LTP − option entry LTP) × quantity.
- If no exact or historical option LTP is available at the NIFTY exit time, P&L is shown as LTP N/A rather than zero.
- Only one NIFTY-based position is counted at a time.
STRATEGY 1 — R1/S1 ACTIVE TRADES ONLY
- Activation: Strategy 1 must be checked and an original R1/S1 trade must already be open.
- Continuous calculation: at the configured strike, current opposite advantage = max(0, current opposite-side COI − current same-side COI).
- Trigger: non-HPT trade reverses at current opposite advantage ≥40,000; an HPT trade reverses at ≥20,000. The HPT trigger is the current advantage threshold, not a rise from the previous value.
- Same-update priority: Strategy 1 executes before option SL/target on that update and opens the reverse LPT.
- No entry subtraction: Strategy 1 compares the two current COI values at each update; it does not compare current COI with entry-time COI.
- R1: same side CE, opposite side PE. S1: same side PE, opposite side CE.
- No NO TRADE conversion: Strategy 1 never opens from a NO TRADE decision.
- Risk: 10 lots, 7 option points SL and 10 option points target.
- R2/S2 never activate Strategy 1, and a Strategy 1 replacement cannot recursively activate another replacement.
- Replacement COI strike: recalculate the nearest current ATM at the moment the reverse trade opens, then keep that checked strike for monitoring the replacement.
- Strategy 1 entries are purple on Live and Backtester charts.
STRATEGY 2 — R1/S1 COI REVERSAL
- Activation: Strategy 2 must be checked.
- Trigger: during an original R1/S1 trade, continuously calculate same-side COI percentage at that configured level strike. If it falls below 99.95% (changes from 100%), close the original trade immediately.
- R1 direction: open LONG immediately after closing the original R1 trade.
- S1 direction: open SHORT immediately after closing the original S1 trade.
- Risk: 5 lots, 5 option points SL and 5 option points target.
- R2/S2 never activate Strategy 2. Strategy 1 or Strategy 2 replacement trades cannot recursively activate Strategy 2.
STRATEGY 3 — HPT STOP-LOSS REVERSAL
- Activation: Strategy 3 must be checked and an original HPT trade must be open.
- Trigger: when that HPT trade closes specifically at its option stop-loss, prepare a Strategy 3 trade in the reverse direction.
- Direction: stopped HPT LONG → Strategy 3 SHORT; stopped HPT SHORT → Strategy 3 LONG.
- Mandatory entry safety check: before entry, calculate reverse-trade current opposite advantage = max(0, current opposite-side COI − current same-side COI).
- If the advantage is below 40,000, open Strategy 3. If it is exactly 40,000 or greater, do not open it and record STRATEGY 3 BLOCKED with the full calculation.
- Risk: 5 lots, 5 option points SL and 5 option points target.
- Other exits and replacement trades do not activate Strategy 3. It cannot recursively replace itself.
STRATEGY 8 — HPT STOP-LOSS REVERSAL
- Enable S8 for an original HPT trade with a 10-point option stop-loss. At the STOP, record same-side COI at the original configured check strike in lots (CE for SHORT HPT, PE for LONG HPT).
- Watch later valid option-chain updates in that same 5-minute candle. If same-side COI falls by 20,000 lots or more from its value at the STOP, open one opposite paper trade: LONG → SHORT, SHORT → LONG.
- If the candle ends before that reduction, expire the signal. Missing or repeated snapshots cannot trigger it. The original HPT is fully closed and its realized P&L counted before any replacement entry.
- New S8 trades use saved Strategy 8 SL points, target points and lots (defaults 10 / 20 / 5). The general 40,000-lot opposite-COI exit does not apply to an S8 replacement; its saved SL/target, session exit and other applicable exits still operate. Session limits, daily-loss lock and contract/quote validation still apply. If S3 is also enabled, S8 monitoring takes precedence after a qualifying 10-point HPT stop.
- S8 is available in Backtester and VPS live paper trading. Real Dhan S8 entries remain disabled; live paper entry requires Auto Dhan OFF and no tracked Dhan order.
STRATEGY 9 — DIRECT NIFTY 100/200-POINT MOVEMENT
- Enable S9 to monitor recorded NIFTY Spot updates from the current day high and low. A 100- or 200-point fall from the high is TOP→BOTTOM and opens LONG CE. A 100- or 200-point rise from the low is BOTTOM→TOP and opens SHORT PE. The 200-point threshold takes priority when both are crossed in one update.
- This is a separate opt-in strategy. No 32-point retracement is required or checked. Each threshold fires at most once per directional extreme and the detector resets on a new high or low.
- A new entry requires a matching fresh one-second option LTP and passes session cutoff and realized daily-loss checks. Only one paper trade is open at a time. Existing 150/32 and 200/32 logic is unchanged.
- Saved Strategy 9 risk settings control every new trade: default 10 option-point SL, 20 option-point target, 10 lots using the instrument lot size. Backtester and VPS live paper trading only; real Dhan S9 entries are disabled.
STRATEGY 10 — GLOBAL NIFTY SPOT SL/TARGET MODE
- Activation: when S10 is checked, apply it to currently open NIFTY application paper trades from Strategies 1–9 and ordinary RISKY/LPT/HPT setups. It is an exit-mode switch, not a new entry strategy.
- Risk source: use the open trade’s originating Strategy 1–9 SL and target points from this Rule List as NIFTY Spot distances. Ordinary RISKY/LPT/HPT trades keep the points saved on their trade. Strategy 10’s own 10/20 row is only a fallback for legacy trades missing saved risk points; S10 does not force 10/20 onto every trade.
- LONG: Spot ≤ entry Spot − that trade’s SL points triggers STOP; Spot ≥ entry Spot + that trade’s target points triggers TARGET. SHORT: Spot ≥ entry Spot + SL points triggers STOP; Spot ≤ entry Spot − target points triggers TARGET.
- While S10 is active, option-premium SL/target does not trigger those exits. Record exit P&L using the latest option LTP. Existing non-SL/target exit rules and S6’s separate protected exit remain active.
- Saving risk values in the Rule List applies them immediately to Live paper risk evaluation and sends them to a running Backtester without reloading or resetting replay. Unchecking S10 restores option-LTP SL/target checks on the next processed update.
- S10 is paper-only and never modifies, replaces, or exits a Dhan broker position.
MANDATORY 3:14 PM TIME EXIT
- If any paper trade remains OPEN through 3:13 PM IST, the VPS closes it at 3:14 PM using the latest available option LTP.
- New website entries use Dhan MARKET/INTRADAY orders. Auto Dhan follows every paper exit, including STOP/TARGET. Strategies 1–6 replacement entries wait for verified closure of the previous linked Dhan order; pending or failed exits block replacements.
- Auto Dhan and Manual One-Click Orders: after Dhan confirms the fill, the VPS calculates SL = actual fill − selected SL points and target = actual fill + selected target points. Dhan option quotes drive the checks; when LTP reaches either threshold, the VPS submits an opposite MARKET order for the exact tracked quantity.
- Dhan positions and orders are cached centrally by the VPS, not requested separately by each browser.
- The Managed Trades table shows fill, current LTP, SL, target, live P&L, trigger and protection state. EXIT uses the same exact-quantity path.
- Important: normal-order SL/target protection is application-managed. If the VPS or Dhan session is unavailable, automatic exit cannot run; REVIEW REQUIRED, DEGRADED or LOGIN LOST must be checked immediately.
- This rule runs on the VPS even when every browser, laptop and mobile page is closed.
- No new VPS paper or real trade is opened at or after 3:14 PM IST.
- The Backtester applies the same 3:14 PM cutoff and exit to recorded trades.
POP values are configured strategy labels, not statistically verified or guaranteed probabilities. Live trading carries financial risk; confirm orders and exits in the Dhan order book.
Open Rule List to load Trading Notebook…