History Curtain MT5

History Curtain — Test the Market, Not the History

History Curtain is a MetaTrader 5 indicator that lets you hide the future part of the chart and reveal market history step by step, simulating real trading decision-making conditions.

Simply place a special star anywhere on the chart, and all history to the right of it will be hidden. Use the left and right arrows to reveal or hide the chart one candle at a time.

Key benefits:

•        Full control over history. You choose the point where testing begins.

•        No look-ahead bias. Future candles are hidden, so you analyze the chart without knowing how the price moved next.

•        Step-by-step testing. Reveal the chart one candle at a time, simulating real-time trading.

•        Move in both directions. You can not only step forward but also go back any number of candles or instantly move the star to another place.

•        Test your trading ideas. Test indicators, strategies, patterns and your own analysis methods in conditions close to the real market.

•        Indicators without future leakage. In offline mode, any indicator is calculated only on revealed candles.

•        Unaltered broker quotes. The candles on the chart and in offline mode are your broker's data, with no recalculation or substitution.

•        Familiar chart appearance. The indicator picks up your color scheme, including after you change it, and can draw hollow candles.

•        Scale without hints. The vertical scale is built only from visible candles, so it can't give away where the price will go.

•        Respect for your chart. Your objects and lines are left untouched, and all chart settings are restored after the indicator is removed.

•        Freedom of choice. Start testing from any point in history, on any instrument and any timeframe.

Controls

•        Drag the star with the mouse to any place on the chart.

•        The [<] and [>] buttons in the lower right corner (or the , and . keys) hide or reveal one candle at a time.

•        The Offline button turns on offline mode (see below).

•        The bottom of the chart shows the boundary date and the number of hidden candles.

Settings

•        Star start position (bars back) — where the star appears on first launch, in bars from the current candle.

•        Scale to visible (not hidden) bars — build the vertical scale only from revealed candles, so hidden ones don't give themselves away through the scale range.

•        Scroll chart to follow the boundary — automatically scroll the chart so the star always stays on screen.

•        "Remove bar" key (188 = ,) / "Add bar" key (190 = .) — key codes for stepping back and forward.

•        Star color

•        Star offset above high: mode — how the star's offset above the candle high is set. Options: ATR of the current timeframe, ATR of the daily timeframe, pixels, or percent of price. The value for the selected method is set in the corresponding parameter below: ATR: period, ATR: multiplier, ATR(D1): multiplier, Pixels: offset, Percent of price: offset, %.

•        Label color — color of the boundary date label.

•        Offline: history depth, bars of current timeframe — how many bars of history are copied to the offline chart. The depth is also limited by the available M1 history and the terminal setting "Max bars in chart".

Offline Mode: Test Indicators Without Looking Into the Future

On a regular chart, indicators (MAs, oscillators and others) see the entire history, including hidden candles. Offline mode solves this problem.

When you press the Offline button, History Curtain creates a custom symbol, for example EURUSD_HC, from your broker's M1 history and automatically opens its chart (the offline chart). It contains only the candles up to the star: future data is physically absent. You can apply any indicators and templates to this chart and check their behavior candle by candle, as in the visual Strategy Tester. Only more convenient:

•        you can move not only forward but also backward;

•        you can instantly move the star to any point in history;

•        you work with the chart as usual, with no starting and restarting of tests.

The offline chart inherits the appearance and indicators of the main chart. It also has the star and the [<] [>] buttons, so you can control everything right from there. Your broker's real history is not changed.

How to enable:

1.     Press the Offline button. The offline chart <symbol>_HC opens automatically with the appearance and indicators of the main chart. The first launch may take a few seconds while the M1 history is loading.

2.     Keep the main chart open (it can be in the background): it updates the offline chart.

3.     If you close the offline chart, press the Offline button twice to reopen it.

History Curtain lets you see the past market through the eyes of a trader who doesn't yet know the future.

Don't fit your strategy to history you already know. See how it performs when the future is still hidden.


More from author
History Curtain
Evgenii Novtskii
History Curtain — Test the Market, Not the History History Curtain is a MetaTrader 4 indicator that lets you hide the future part of the chart and reveal market history step by step, simulating real trading decision-making conditions. Simply place a special star anywhere on the chart, and all history to the right of it will be hidden. Use the left and right arrows to reveal or hide the chart one candle at a time. Key benefits: •         Full control over history. You choose the point where test
FREE
Filter:
No reviews
Reply to review