YONEXIS NSE PRO
PAPER · real orders LOCKED Equity— Day P&L— --:--:-- IST

Gold · XAUUSD

commodity · USD per oz · MT5 server time (New York + 7 h; IST = + 3:30 winter / + 2:30 summer) · 1.00 lot = 100 oz

1-minute history from the monthly zips in the project's data/xauusd folder, stored as 1m / 5m / 15m / 1h / 1d candles. Gold is not part of the NSE watchlist or the live feed.

IntervalCandlesFromTo

What to trade · recommended gold plan

Three simple rules that survived every test: our backtest plus five research agents (candle patterns, news, AI, sessions, high win rate), about 750,000 variants, rules chosen on 2015-2021 and tested on 2022-2026, on 1-minute candles, with costs. Run together, because they do not move together.

Parabolic SAR study

The Parabolic SAR on 5m to daily charts at 9 settings, traded three ways (always in, intraday flips, follow it from the open), long / short / both, with and without a trend filter: 1,269 variations, chosen on 2015-2021 and tested on 2022-2026, compared with random entry times, and tried as a filter on the plan's rules. Takes about a minute.

Gold research

Every strategy family and setting replayed on every day: the zone rules at gold's session opens, Fibonacci retracements (tested against non-Fibonacci levels), opening-range breakouts and previous-day high / low. Settings are picked on 2015-2021 and judged on 2022 onwards, which the pick never saw; then an AI learns which strategy to trade each day. P&L per 1.00 lot after costs. Takes a few minutes.

Live prices · MT5

Live on MT5 · automation

Runs Renko strategies (this tab's rules) on MetaTrader 5 through the YonexisBridge EA, one row per strategy. When the next brick would be a signal, a BUY STOP / SELL STOP waits at that brick's level with its stop attached, so it fills at the brick level as in the backtest; the stop then follows the exit rule. Orders follow the mode in System › MT5 connection (dry run / demo / live). Defaults are the settings that held up in the MT5 backtests (gold $6 bricks, SuperTrend 10/4 + Brick Pulse, both sides, exit at the first opposite brick; crude 0.2, SuperTrend flips, short only).

Gold plan:

Trade log

Download CSV
StrategySymbolSideLotsEntry (IST)EntryStop (first → now)Exit (IST)ExitReasonP&L $

Order events

Time (IST)SymbolEvent

Renko + SuperTrend strategy

Strategy
Street Trend 10 +1 close above the 10-brick EMA · −1 below
Brick Pulse 50 bars: streak of same-colour bricks · line: share of green in the last 50 (BUY needs ≥ 2 and ≥ 50%)
Trend Health % of the last 10 bricks agreeing with SuperTrend (BUY needs ≥ 80)

Strategy trades in this range

Entries on a fresh signal in the trade's direction: SuperTrend (ATR period × multiplier on the bricks, source close, wicks taken into account) plus the chosen filters - Street Trend (close vs 10-brick EMA), Brick Pulse (streak ≥ 2, ≥ 50% of the last 50 bricks with the trade), Trend Health (≥ 80% of the last 10). Fills at the brick level (a live stop order at that level), after spread + slippage and swap. MT5 backtests (Aug-Nov 2026 1-minute, Oct 2025-Nov 2026 5-minute): Buy / Sell on every SuperTrend flip was about break-even (PF 1.0-1.1) with deep drawdowns; exiting at the first opposite brick beat fixed brick targets.

How a trade's result is worked out: an entry fills at the close of the signal brick and an exit at the close of the exit brick (CandleForge mode: the 1-minute close that formed them). With the first-opposite-brick exit a run of n bricks in your direction makes n − 3 bricks: the turn itself costs a brick to confirm the entry and two to confirm the exit (1 brick = −2, 2 = −1, 3 = 0, 4 = +1 ...). Move = exit − entry in your direction, costs = spread + slippage (+ swap overnight); per 0.01 lot = (move − costs) × 1 oz (crude × 10 bbl).

#SideEntry (IST)Exit (IST)EntryExitBricks heldMoveCostsResultPer 0.01 lotPer 1.00 lotExit reason

COMEX Lab · AI backtesting

Replays the Renko strategies on the MT5 1-minute history with every combination you tick - several brick sizes at once, YONEXIS or CandleForge indicators, entry rules, sides, exits - after spread and slippage. The earlier part of the dates is where a setting would be chosen ("train"); the later part is never used for choosing ("test") and shows what that choice did next. The AI score ranks what tends to survive: the weaker of train and test, discounted for few trades and for settings whose neighbouring brick sizes lose.

YONEXIS AI · First Red Candle Zone

5-minute candles only · entries and exits exactly at the zone high / low

Test your zone rules on any day or date range. Nothing is written to the paper wallet: this is a pure replay to see the P&L.

Configurations each row is tested on the same data; add several to compare them side by side
#ZoneMax entries / dayTarget multiplierSpikeLots per entryTarget per lot (× multiplier)
Target = entry price + range × target (SELL: −). Zone: range = zone candle high − low (zone range 10, target 1.5 → 15 beyond the entry). IZ: range = high − low of the candle in which the entry happened (set when that candle closes). Spike ticked = a wick through the zone is enough; unticked = entry and stop only when a candle opens or closes outside the zone (at that price). Several lots share the stop.
The rules, exactly
  1. Zone = the first red 5-minute candle of the day (from 09:15): its high and low.
  2. Entry exactly at the zone levels: price rises to the zone high from below → BUY at the zone high; falls to the zone low from above → SELL at the zone low.
  3. Target = entry price + range × multiplier for a BUY (SELL: entry − range × multiplier). Zone: range = the zone candle's high − low (zone 100–110, ×1.5 → BUY at 110 targets 125, SELL at 100 targets 85). IZ: range = the entry candle's high − low, set when that candle closes.
  4. Spike unticked: a wick through the zone is ignored. BUY only when a candle opens above the zone high (at that open) or closes above it (at that close); SELL the same below the zone low. Stops work the same way (the candle must open or close beyond the opposite edge); targets still fill when touched.
  5. Stop = the opposite zone edge. A stopped BUY is at the zone low, which is the SELL entry, so the next entry starts there at once (relay); after a target, the next entry waits for a fresh break of the zone.
  6. Max entries per day: with 2 → enter, exit, enter, exit, then done for the day. Anything still open at the square-off time (15:15 unless you change it) is closed at that candle's open; a time inside a candle (15:28) closes at that candle's close.
  7. Refined data: a symbol's day with 8 or more flat no-trade candles, or any missing candle, is left out of the test.
  8. With 5-minute candles the order of prices inside a candle is unknown, so: in the entry candle only the stop can be hit; a candle reaching both stop and target counts as the stop; if both zone edges are touched before entering, the edge nearer the open goes first.

MetaTrader 5

YONEXIS AI zone rules, live, executed in MT5 · prices from Upstox

Automation

Symbol mapping

which MT5 symbol each YONEXIS symbol trades, and how much one lot is
YONEXISMT5 symbolVolume / lotLevelsUpstoxMT5 bid / askGap

Levels: Same = the MT5 symbol has the same price as on NSE (zone levels used as they are). Offset = a CFD or other contract priced differently: levels are shifted by the MT5 − Upstox gap at the moment of the order. Test buy / close work in Demo mode only (minimum volume).

Today

SymbolZoneStatusEntriesCalls P&LMT5 P&LLots

Activity

    YONEXIS positions in MT5

    TicketSymbolSideVolumeOpenNowSLTPProfitComment

    Order log

    every command sent to MT5, its answer and the round-trip time
    Time (IST)KindSymbolCommandSideVolumePriceSLTarget(s)ResultmsDetail

    Automations

    Every automation on every website, and MT5. Running ones trade 09:15-15:30; switched-on ones start by themselves at 09:15.
    Website
    Each website has its own login, recorded flows, symbol mapping, workers and automation - they all run at the same time. Everything below is for the website selected here.

    OpenAIAP

    record your broker's web terminal once · YONEXIS AI zone rules place the orders through it · prices from Upstox

    Recorder

    Browser screen
    Browser closed. Press Start browser (opens the start address from Settings) or type an address above.

    Click on the screen to click in the browser. Click a field, then just type on your keyboard (paste, Backspace, Enter and Tab work too); the box above is another way to type. Typing into a password field saves it as the secret password and records {secret:password}. Lots: in buy / sell click the site's Lot field and type it as {qty} (same as {lots}) - every order then sends its own number of lots: 1 for a lot's target, all open lots for a stop, both for a stop + relay (one order). If the site needs other steps for several lots, record buy_multi / sell_multi too: they are used when an order has more than one lot. Order flows: type the search text as {query} (e.g. NIFTY) and the quantity as {qty}; fill {symbol} below with the result you will click (e.g. NIFTY 25 NOV FUT) before pressing Record - clicking that result then records {symbol}, so every order picks its own symbol. symbols flow: type {query} in the search, then pick element on one result → read all like this.

    Steps ·

    mark the click that places the order as final - test runs stop before it
    #ActionSelector / URL / keyValueopt.final

    Settings

    Secrets

    used as {secret:name} · values are never shown again

      Kept in the YONEXIS database (app settings) on this machine. For a TOTP / OTP login keep the browser logged in (the profile is saved) and record a login flow only for the password step.

      Automation

      Several automations can run on one website, each with its own symbols / watchlist and settings. A symbol can be in only one running automation per website (the website keeps one position per symbol); on another website the same symbol is fine.

      Symbol mapping

      what to type in the web terminal's search for each YONEXIS symbol ({symbol}), and the quantity of one lot ({qty})
      YONEXISUsed byUpstox contractSearch asWeb symbolQuantity / lotUpstoxTest the order path

      Candles and prices always come from Upstox. Look up runs your recorded symbols flow for every row: it types the search text (ANGELONE for ANGELONE-FUT), clicks the result that is the same contract (futures by Upstox's near-month expiry, never options) and saves the website's name as the web symbol - on all workers in parallel. Live orders and prepare then use that name as {symbol}. (A symbols flow that reads a whole list instead: Look up, then Suggest.)

      Today

      SymbolZoneStatusEntriesCalls P&LLots

      Activity

        Trades · every lot

        EntrySymbolEntry #LotSideQtyEntrySLTargetStatusExitExit priceReasonPointsP&L

        One row per lot: each lot has its own target and shares the entry's stop. P&L = points × qty × exchange lot size (Upstox). Exit price = the live Upstox price when YONEXIS sent the exit.

        Workers

        browser tabs placing orders in parallel · each symbol always uses the same tab
        WorkerTabDoingSymbolsReady to fireLast error

        Positions placed through the web

        SymbolSideQuantityOpenOpenedComment

        Flow log

        every flow run for an order, its result and how long it took
        Time (IST)KindSymbolFlowSideQtyPriceResultmsDetail

        Your watchlists

        Named lists of stocks and futures. Pick them in Backtest, YONEXIS AI and Paper Wallet symbol fields ("+ list").

        New watchlist

        —
        —
        Zone—
        Status—
        Last call today—
        →

        Watchlist

        SymbolLTPChgZoneSignalRemove
        SymbolSideQtyEntryLTPSLTargetMTMOpened
        Paper trading only — real orders are LOCKED.

        Open paper positions

        #OpenedSymbolSideQtyEntryLTPSLTargetMTMStrategy

        Closed paper trades

        #EntryExitSymbolSideQtyEntryExitWhyGrossCostsNet
        Live test for a day

        Pick a trading day, the instruments and the logic, then rebuild. That day's real market is replayed with that logic only: the zone comes from Upstox's 5-minute candles, and the buy/sell entries, stops, targets and 15:15 exits are caught on 1-minute candles. For today, running trades stay open and the live engine keeps trading exactly this selection; a past date only rewrites that day.

        1. Instruments
        2. Logic
        3. Strategy version

        Keeps only the selected instruments and logic: all other paper trades and calls of the chosen day are removed. Other days are not touched (use "Clear trade history" in the Danger zone for that). Nothing is sent to Upstox.

        Demo money & margins

        Leverage: money blocked for a stock trade = value ÷ leverage. Futures margin: % of contract value blocked. Every change is kept in the ledger.

        Danger zonereset wallet · clear trade history
        Reset wallet

        Sets the cash balance to the Amount above. Needs all paper positions closed. Trade history is kept.

        Clear trade history

        Deletes every paper trade (open ones too) and the ledger, and restarts the wallet at the Amount above.

        Ledger

        TimeKindAmountBalanceNote

        Backtest a strategy

        Quick: one pass over the period with the strategy's settings — results in seconds.

        Backtest history

        every quick and full backtest you ran · open a full one to see its report again
        #KindStrategyVerdictTradesNet P&LWin %PFSharpe

        Strategy Lab

        Backtests every strategy in the library on all stored history, ranks them, finds the best one per stock and trains the AI picker that chooses which strategy to trust in which situation.

        How the AI picker works
        1. Backtest everything. Every strategy is run on all stored history for every stock, with costs and slippage.
        2. Describe each moment. For every signal it records what the market looked like at decision time: time of day, opening gap, trend strength, distance from VWAP, volume, volatility and how the index was moving.
        3. Learn who wins when. A model learns which strategy tends to win in which situation. Your own losing paper trades are added too and count three times, so it learns from your real mistakes.
        4. Test on unseen data. The last part of history is held back. The model picks trades there, and its result is compared with simply taking every signal.
        5. Used only if it is better. It becomes champion (in use) only when it beats taking every signal; otherwise it stays in shadow and just watches. It retrains every night.

        The AI writing features (describe a strategy, rule card, agents) need the local AI model, which is not part of this cloud deployment. Use them on your local YONEXIS (dev branch).

        1 · Explain your idea

        Describe entries, filters, stop and target in plain words. The spec agent turns it into a rule card you can check.

        The AI writing features (script converter and reviewer) need the local AI model, which is not part of this cloud deployment. Use them on your local YONEXIS (dev branch).

        Convert an existing script

        Pine Script, AFL, Python or Excel rules — the converter agent rewrites it as a YONEXIS strategy and a reviewer checks it.

        Parity check

        Compare a converted strategy with the admin's own backtest trades, trade by trade.

        Live price source

        checking…

        Where live prices and candles come from. Switching restarts the live engine on the new source.

        Upstox

        checking…

        Live NSE feed, candles and (locked) orders. Logins expire daily at 3:30 AM.

        or paste a token from Upstox Developer Apps:

        Download real history for the whole watchlist

        Needed for real backtests and for training the AI score model. 5m data back to 2024 for 20 stocks takes about 2–4 minutes (Upstox serves one month per request).

        Data check

        Make sure backtests run on complete, consistent candles: see what is loaded, choose what to verify, find gaps, then refetch only what is missing.

        1. What is loaded
        IntervalSymbolsStocksFuturesCandlesFromTo
        2. What to verify

        Continuous futures history

        Upstox plan not checked

        Rebuilds each futures symbol's history from the contract that was the near month at the time (expired contracts, needs Upstox Plus), instead of the current contract's thin far-month past. Prices are as traded; at each expiry the series rolls to the next contract.

        Download stored data

        Export candles already in your database as CSV (one file) or Excel (one sheet per symbol and interval). Click a row in the table below to pick it.

        leave dates empty for everything stored

        Stored data

        SymbolIntervalCandlesFromToSource

        Fetch from a connector

        Upstox: 1–15 minute candles back to Jan 2022 (fetched a month at a time). Yahoo keeps 5m data for ~60 days only.

        
          

        Upload Excel / CSV / JSON / Parquet

        
          

        Paper vs backtest

        Phase 4 gate: live paper results must stay inside the backtest's expected band.

        StrategyStatusPaper tradesSessionsPaper netWin % paper / testAvg ret % paper / testVerdictNote

        Strategies

        Promotion path: candidate → approved → paper → live small → live. Only strategies in paper status make live calls.

        NamevOriginCreatedStatus

        Train the meta-label model

        Learns which of a strategy's signals tend to work, to score live calls.

        Models

        New models start in shadow; promote to champion to use them live.

        KindVersionStrategyOOS AUCHit rate top 40% / allStatus

        Where the admin's judgment helps

        Grouped by remark tag. Add remarks when you review calls on the Live tab.

        TagCallsRejectedAdmin right %

        Suggestions from your feedback

        Status

        Kill switch —

        System check

        Quick: database, timezone, real-order lock, demo wallet, AI model, sandbox, backtest pipeline, Upstox login and data freshness, live feed (about 1 minute). Full: also runs the AI Builder end to end on a sample idea with the local model (5–15 minutes).

        CheckResultSecsDetail
        No check has run yet. Run the quick check to verify database, order lock, wallet, feed and data freshness.