Score Your Bar Replay in R

A bar replay hides the bars you have not reached. This one also prices every virtual entry at the spread its bar recorded and scores the attempt in R, so a trader rehearsing by hand can see what the decision was worth.

WHAT IT DOES

  • No look-ahead on the session's bars: a cover hides the bars the replay has not reached.
  • The bar's spread: every virtual fill pays the spread stored on the bar, never one you type; a bar with none refuses a market order or a close with NO FILL - BAR SPREAD 0, and a trade open through it stays open.
  • No order sent: every order is virtual, and it reads no position and opens no file, so it cannot act on your account, say what a real trade did, or leave a trade record.
  • One score in R: the multiple of the stop distance you set, and no figure it prints is money, because it reads no account property, the deposit currency included.
  • A trade with no stop still counts: it is counted and not scored, and the deck marks it rather than inventing an R.
  • Visible arithmetic: every fill uses the bar's four recorded prices, open, high, low and close, not ticks, and it reads no live quote. A gap past an order fills at the bar's open: a stop that gaps fills on the side worse than its trigger, a limit on the better side.
  • Settled the same way every time: when one bar holds both the stop and the target, the stop is taken, unless the bar's open had already met the target.
  • Same start every time: it pins a bar on load, prints it in the session line, and RESTART returns to it; it reads no wall clock and raises no alert, notification, mail or sound.

HOW IT WORKS

1. Attach it to the chart you want to rehearse; the session starts at the first bar it copied.

2. Read the four deck values, then click one of the six order buttons: BUY or SELL for a market order, a limit or a stop for a pending at the typed trigger.

3. Pause, step or speed the replay, use CLOSE to exit the newest open trade, and read the score in R.

SETTINGS IN PLAIN WORDS

  • The session: bars to replay, 30 to 20000; the wait for one step, 50 to 2000 milliseconds; the cover of the bars not yet replayed, and its colour; the ask line; the corner; the font size; the log rows.
  • The order: the virtual volume per order, the stop distance in points with 0 for no stop, the target distance in points with 0 for no target, and the pending trigger.
  • VOL, STOP, TARGET and PENDING are read-only on the deck; change them in the properties dialog, and the session restarts at its first bar.

GOOD TO KNOW

  • A practice score: not a backtest of a strategy, not a forecast, and one session says nothing about the next.
  • A virtual fill is not a real fill: no partial fill, no queue and no rejection, so it cannot say what your broker would have done with that order then.
  • Inside a bar the high and the low have no order: the sequence is a convention, not a record.
  • The recorded window can be short or revised: a broker's bars can be incomplete or rebuilt, and a short record starts later; the session line prints the bar it used.

COMPATIBILITY

MetaTrader 5, any symbol and timeframe with at least 30 closed bars, in a window where the bars record a spread. Native MQL5, no DLLs.

SUPPORT

Questions through the MQL5 message system. First reply within two working days.

If you have used it, I would welcome a short review of what worked and what did not.

Altri dall’autore
Scans the last 300 bars by default, boxes each three bar fair value gap, draws its 50 per cent level, and marks the first return to the near edge. FEATURES Bullish and bearish fair value gaps, each formed once its third candle closes. The 50 per cent Consequent Encroachment (CE) line, dotted, when InpShowCE is on. On touch: trim to the touching bar, delete, dim, or keep; untouched gaps extend InpExtendBars bars. An optional alert on that touch, once per gap. PARAMETERS InpLookbackBars 300; InpMi
FREE
Draws the four main trading session ranges on the chart in GMT, counts the pip range of each as it forms, and marks its high and low. FEATURES Four ranges: Asian, London Open, New York Open, London Close. Automatic GMT offset detection, with manual override. Session high and low levels, with a live pip range. HOW TO USE IT 1. Attach it to a chart. Default lookback is five days. 2. Check the detected GMT offset and correct it. 3. Enable or disable each session and set its hours. PARAMETERS InpDay
FREE
Swap Cost Per Position puts your open positions in one table for tonight's rollover, in money. I built it for the trader who holds overnight, to see the charge ahead beside the swap already recorded and, where the swap is quoted in points, the number of nights of positive carry the round turn takes to recover. WHAT IT SHOWS One row per open position, priced for tonight: the charge uses that position's volume, and positions beyond the row limit you set are counted on the last line. Two numbers, t
FREE
Order Entry Panel
Jevon Naldo Yoshield
Order Entry Panel is a trade panel that sends a market order in one click from the chart, with the stop already attached. I built it for the trader who executes by hand and wants the decision on the chart. FEATURES See the order before you send it: each request line prints price, volume, stop and any target. Every entry carries a stop, built from your distance and attached before it is sent. Know the margin before the click: the terminal's figure for that line, or the shortfall. One click sends
FREE
This library returns the largest lot whose loss at your stop does not exceed the money you allow it to risk, correct for any volume step, tick size and tick value the symbol reports. I wrote it for the MQL5 developer who has pasted a lot-normalising block into every EA and can no longer say which copy is right. One import, one version, and a call that refuses rather than oversizing. WHAT IT DOES It refuses instead of oversizing: when the smallest lot the symbol accepts would risk more than your
FREE
Drag the stop loss line to your level and the panel works out the lot size for the risk you set, from your broker's own contract size. FEATURES Entry, stop loss and take profit lines you drag. Lot size normalised to the broker's minimum, maximum and step. Risk as a percentage of balance or equity, fixed cash, or fixed lot. Live risk to reward ratio. HOW TO USE IT 1. Attach it to a chart and drag the three lines. 2. Set the risk basis and value in the inputs. 3. Read the lot size from the panel.
FREE
Closes your positions and deletes your pending orders when the day's equity drawdown reaches your limit, and closes anything you open for the rest of that day. FEATURES On breach: closes every open position, deletes pending orders, locks the day. Panel: drawdown percentage, equity, state. HOW TO USE IT 1. Enable Allow Algo Trading. 2. Attach it to a chart and set the loss and warning levels. 3. Choose the breach actions. PARAMETERS InpDailyMaxLossPercent, InpDailyWarningPercent, InpAutoCloseOnBr
FREE
Shows the live spread, today's range against the daily ATR, the server time, GMT offset, the countdown and the open sessions. FEATURES Live spread in points and pips, colour coded tight, moderate or wide. Optional push alert. Today's range in pips, the daily ATR share, the server time, GMT offset, the countdown and the sessions. HOW TO USE IT 1. Attach it to any chart. 2. Set the spread limits for the symbol. 3. Choose the ATR period and corner. PARAMETERS InpCorner, InpOffsetX, InpOffsetY, InpS
FREE
Shows what each closed trade earned after commission, swap and fees, by symbol, session, hour, weekday or month. FEATURES Rebuilds each trade from its deals, costs apart from gross. Net result, R, summary, breakdowns, cost alarm, CSV export. HOW TO USE IT 1. Attach it to a chart. 2. Choose the window and table. 3. Read the panel or export the CSV. PARAMETERS InpRange, InpFilterMagic, InpRiskPercent, InpFixedStopPips, InpBreakdown. LIMITATIONS Trades opened before the window are counted, not reco
FREE
Filtro:
Nessuna recensione
Rispondi alla recensione