AISHE Highway Pro Edition

Comprehensive User Manual — Version 2.0

MetaTrader 4 Indicator

AISHE Highway Pro Edition
AISHE Highway Pro Edition

1. Introduction

AISHE Highway Pro Edition is a multi-layered decision-support tool designed for MetaTrader 4. It synthesizes five distinct analytical techniques into a single, non-repainting chart overlay:
  1. Dynamic Highway Lanes — Adaptive volatility envelopes that function as floating support and resistance.
  2. Automatic Swing Detection — A noise-filtered ZigZag algorithm that maps market structure in real time.
  3. Fixed Quarter Levels — Institutional-grade price grids with impact markers.
  4. Dual Fibonacci Retracements — Based on the two most recent confirmed swings, offering both short-term and medium-term confluence zones.
  5. Breakout Signals — Optional trend-continuation arrows with configurable alerts.
Whether you trade reversals, pullbacks, or momentum breakouts, the indicator provides predefined entry, exit, and stop-loss reference points directly on the chart.

Trial vs. Activated Version The 14-day trial includes all core features (highway, ZigZag, Fibonacci, breakouts, quarters). The activated version adds proprietary future-volatility vertical lines and the Traffic Light countdown system.




2. What You See on the Chart

Element Visual Appearance Interpretation
Silver ZigZag line Solid silver line connecting swing points Significant swing highs and lows after noise filtering. Represents the structural skeleton of the current trend.
Aqua arrows (up) Cyan/turquoise arrow above bar Confirmed swing high (peak). Price has reversed downward by at least the deviation threshold.
Magenta arrows (down) Magenta/pink arrow below bar Confirmed swing low (trough). Price has reversed upward by at least the deviation threshold.
White dotted line Dashed white line running through price Centre line of the highway — the current estimated fair value / trend equilibrium.
Blue solid lines DodgerBlue, two parallel lines below white line Buy Lanes. Inner = comfort zone; Outer = warning zone (oversold/extreme).
Red solid lines Solid red, two parallel lines above white line Sell Lanes. Inner = comfort zone; Outer = warning zone (overbought/extreme).
Grey dotted horizontals Dotted grey lines in background Quarter markers — fixed price intervals acting as psychological magnet levels.
Yellow impact arrows Small yellow arrows at bar highs/lows Price touched or crossed a quarter level on that exact bar. Multiple arrows on the same level = strong S/R.
Red trend lines Solid red diagonal lines Connect the last two confirmed ZigZag points, showing the most recent impulse vector.
Magenta Fibonacci Dotted magenta horizontal levels Retracement grid (23.6%, 38.2%, 50%, 61.8%, 78.6%) projected from the last two swings.
Breakout arrows Custom-colour arrow symbols Appear when price closes beyond the highest high or lowest low of the lookback period.

3. Understanding the Highway Lanes

The highway is a volatility-adaptive envelope that quantifies the current trend's equilibrium and its expected deviation boundaries.

3.1 Architecture of the Highway

Line Colour Role
Centre White (dotted) Mean estimated price / trend core. Acts as a dynamic pivot.
Inner Blue DodgerBlue Lower comfort boundary. Pullbacks in uptrends often terminate here.
Inner Red Red Upper comfort boundary. Pullbacks in downtrends often terminate here.
Outer Blue DodgerBlue (wider) Lower warning boundary. Statistical extreme — potential oversold reversal zone.
Outer Red Red (wider) Upper warning boundary. Statistical extreme — potential overbought reversal zone.

3.2 Volatility Adaptation

The lane width is not fixed. It expands and contracts based on recent realized volatility:
  • Low volatility / ranging markets → Narrow highway. Price oscillates between inner lanes.
  • High volatility / trending markets → Wide highway. Price may reach outer lanes before reversing.
This self-calibration prevents false signals in quiet sessions while still capturing extremes during news events.

3.3 Tactical Lane Usage

 
 
Price Position Signal Implication Recommended Action
Touching outer blue lane Potential reversal upward from oversold Prepare BUY limit or watch for bullish candlestick confirmation.
Touching outer red lane Potential reversal downward from overbought Prepare SELL limit or watch for bearish candlestick confirmation.
Between inner lanes Trend is healthy; price is in equilibrium Hold existing positions; avoid counter-trend entries.
Crossing centre line Momentum shift / trend change warning Evaluate whether the cross is confirmed by a swing break.


4. Quarter Levels and Impact Arrows

4.1 Concept

Quarter levels are fixed-interval horizontal grids analogous to institutional pivot or psychological price levels (e.g., 1.1000, 1.1050, 1.1100 on EUR/USD). The indicator automatically detects the correct tick size for:
  • Standard forex pairs (5-decimal)
  • JPY pairs (3-decimal)
  • Gold (XAU/USD)
  • Indices and whole-number instruments (via the scaling parameter)

4.2 Impact Arrows

Whenever the high or low of a bar interacts with a quarter level, a yellow impact arrow is plotted at the exact price and time coordinate.
  • Single arrow = Minor interaction. Treat as context, not a standalone signal.
  • Cluster of arrows on the same level = High-probability support/resistance. The market has "respected" this level multiple times.
  • Confluence with outer lane = Highest probability reversal setup. The statistical extreme (outer lane) aligns with a proven psychological level (quarter).

4.3 Scaling Parameter (Whole-Number Instruments)

For indices such as US500, GER40, or US30, a dedicated scaling input is provided:
Input: Scaling for whole numbers (US500, GER40, etc.) — Default: 0.02
This adjusts the quarter-step granularity for instruments quoted in whole or half points rather than pips. If you trade indices exclusively, verify that the impact arrows align with logical price levels (e.g., every 10 or 20 points). Adjust this value if the default grid appears too dense or too sparse.



5. ZigZag Structure and Fibonacci

5.1 ZigZag Algorithm

The silver ZigZag line is drawn using a three-bar confirmation model:
  1. Depth — Lookback window to find the highest high or lowest low.
  2. BackStep — Minimum bar spacing between two consecutive swing points to prevent overcrowding.
  3. Deviation — Minimum price change (in points) required before a new swing is registered.
Because the algorithm requires confirmation, the most recent bar may temporarily show a tentative swing point that disappears if price retraces. Once the bar closes, the swing is final and never repaints.

5.2 Dual Fibonacci Display

From the last three confirmed swings, the indicator draws two independent Fibonacci retracement sets:
 
 
Set Anchor Points Purpose
Set A (Longer-term) Oldest swing → Middle swing Contextual retracement for the broader move.
Set B (Shorter-term) Middle swing → Newest swing Precision entry levels for the current active leg.

5.3 Key Confluence Levels

When a Fibonacci level (especially 61.8% or 78.6%) aligns with:
  • An outer highway lane, and/or
  • A quarter level carrying multiple impact arrows,
…the resulting zone becomes a high-confidence reversal or continuation node. Mark these areas on your chart and prioritize them for limit-order placement.



6. Breakout Signals and Alerts

6.1 Breakout Logic

When enabled, the indicator monitors the highest high and lowest low of the last Depth bars:
  • Upward Breakout: The current bar's high exceeds the highest high of the lookback period → upward arrow plotted below the bar.
  • Downward Breakout: The current bar's low falls below the lowest low of the lookback period → downward arrow plotted above the bar.
These signals suggest momentum continuation, not reversal. They are most reliable when aligned with the prevailing ZigZag direction.

6.2 Alert Configuration 

Parameter Function
ZZ_ShowBreakOut Toggle arrows on/off.
ZZ_AlertOnBreakOut Toggle pop-up, sound, and push notifications.
ZZ_BreakoutMsgUpper Custom text for upward breakout alerts. Default: (High) Breakout occurred!
ZZ_BreakoutMsgLower Custom text for downward breakout alerts. Default: (Low) Breakout occurred!
Recommended workflow: Enable alerts only on the timeframe you actively monitor (e.g., H1) to avoid notification fatigue from lower timeframes.


7. Complete Trading Strategies

7.1 Setup Defaults

 
Parameter Recommended Value Note
Timeframe H1 or H4 Best balance of signal quality and frequency.
Symbol Any forex, XAU/USD, major indices Ensure quarter scaling is correct for indices.
Show Impact true Essential for confluence trading.
Show Quarters true Required for impact arrows to function.

7.2 Strategy A: Reversal from Oversold (BUY)

Conditions to Met:
  1. Price descends to the outer blue lane (lower warning zone).
  2. A yellow impact arrow appears on the same bar or within 2–3 bars, confirming quarter-level interaction.
  3. The Fibonacci 61.8% or 78.6% level from the most recent up-swing lies within 5–10 pips of the outer blue lane.
  4. (Optional) Bullish candlestick pattern (hammer, engulfing, pin bar) at the touch point.
Execution:
  • Entry: Market order at the close of the confirmation bar, or a BUY LIMIT at the outer blue lane level.
  • Stop Loss: 10–15 pips below the swing low of the touch bar, or structurally below the outer blue lane.
  • Take Profit 1: Inner blue lane (partial close, move stop to breakeven).
  • Take Profit 2: White centre line (full close or trailing stop).

7.3 Strategy B: Reversal from Overbought (SELL)

Conditions to Met:
  1. Price rises to the outer red lane (upper warning zone).
  2. Yellow impact arrow confirms quarter-level resistance.
  3. Fibonacci 61.8% or 78.6% of the recent down-swing aligns with the touch zone.
Execution:
  • Entry: Market order at the close of the confirmation bar, or SELL LIMIT at the outer red lane.
  • Stop Loss: 10–15 pips above the swing high of the touch bar.
  • Take Profit 1: Inner red lane.
  • Take Profit 2: White centre line.

7.4 Strategy C: Breakout Continuation (Trend Following)

Conditions to Met:
  1. A breakout arrow appears in the direction of the last confirmed ZigZag swing.
  2. Price is already outside the inner lanes, confirming momentum.
  3. The breakout bar closes firmly beyond the recent swing high/low (not a wick-only breach).
Execution:
  • Entry: Market order on breakout bar close, or BUY/SELL STOP order 2–3 pips beyond the level.
  • Stop Loss: Below the previous swing low (longs) or above the previous swing high (shorts).
  • Take Profit: Opposite outer lane, or 1.5×–2× the risk distance.

7.5 Strategy D: Pullback Entry (Fibonacci + Highway)

Conditions to Met:
  1. A strong impulse move is confirmed by the red trend line connecting the last two swings.
  2. Price retraces into the 38.2%–61.8% Fibonacci zone.
  3. The retracement terminates at or near an inner highway lane (inner blue for uptrends, inner red for downtrends).
  4. No yellow impact arrow on the quarter level = no strong opposing S/R.
Execution:
  • Entry: Limit order at the confluence of the inner lane + Fibonacci level.
  • Stop Loss: Beyond the 78.6% Fibonacci level or the opposite inner lane.
  • Take Profit: Projection of the impulse leg (1.0× extension) or the outer lane.


8. Activated Version Exclusive Features

8.1 Future Volatility Indication (Vertical Lines)

In the fully licensed version, grey dotted vertical lines appear at future bar projections. These lines mark anticipated windows of increased volatility or strong directional moves.
Table
 
 
Observation Meaning
Vertical line ahead Prepare for a potential rally or drop within the next few bars.
No lines Normal market phase; no high-probability volatility window detected.
Manual Trading Use:
  • When a vertical line approaches, place pending orders (buy stop / sell stop) a few pips beyond current price.
  • Tighten stops on existing positions to protect against whipsaws.
Automated Trading (AISHE System):
  • The AISHE EA reads these lines and autonomously executes buy or sell orders at the optimal moment. No manual direction bias is required.
Note: Vertical lines are drawn only for the current trading day and auto-remove at session close or when expired.

 

8.2 The Traffic Light — Visual Countdown

Located in the top-right corner of the chart, the Traffic Light provides a real-time countdown to expected volatility events.
 
Light Duration Trader Action
Yellow ~5 minutes before event Preparation phase. Adjust stops, place pending orders, or reduce exposure.
Green ~12 seconds Execution window. The move is initiating now. Enter manually or allow AISHE automation.
Red ~1 second Event conclusion. Consider closing speculative positions or letting profitable runners continue.
All grey Indefinite No imminent event. Normal trading conditions.



 

9. Input Parameters Reference

Below is the complete parameter map as shown in the Inputs tab of the indicator properties window.

9.1 ZigZag Settings Group (strPrimarySettings)

Variable Default Type Detailed Function
ZZ_Depth 12 Integer Bars to scan backward when searching for a swing high/low. Increasing this filters minor swings and keeps only major structural points. Range: 5–50.
ZZ_BackStep 3 Integer Minimum bar distance between two consecutive ZigZag points. Prevents the line from zigzagging on every minor tick. Range: 1–10.
ZZ_Deviation 5.0 Double Minimum price movement (in points) required to register a new swing. For 5-digit brokers, 5.0 = 0.5 pips. Increase to 10.0+ on noisy pairs like GBP/JPY or XAU/USD.
ZZ_ShowBreakOut false Boolean Enables or disables the breakout arrow objects on the chart.
ZZ_AlertOnBreakOut false Boolean Triggers MT4 alerts (pop-up, sound, push, email) when a breakout arrow forms.
ZZ_BreakoutMsgUpper (High) Breakout occurred! String Custom message text for upward breakouts. Useful if running multiple instances to identify which symbol/timeframe triggered the alert.
ZZ_BreakoutMsgLower (Low) Breakout occurred! String Custom message text for downward breakouts.
 

9.2 Highway Settings Group (strHWSettings)

 
Variable Default Type Detailed Function
HW_Length 100 Integer Lookback period for highway centre-line calculation. Determines how much history is used to estimate the current fair price. Reduce to 50–60 on M1/M5 for faster response; increase to 150+ on Daily for smoother envelopes.
HW_Power 2 Integer Polynomial power for the highway regression kernel. Keep at 2 for standard linear-quadratic behaviour. Values >2 introduce curvature that may cause lag and false extremes in volatile markets.
HW_Deviation 2.0 Double Width of the inner comfort lanes, expressed in standard deviations from the centre line. At 2.0, approximately 95% of price action should remain inside the inner lanes under normal distribution. Increase to 2.5–3.0 if you want fewer inner-lane touches.
HW_MA_Period 3 Integer Pre-smoothing moving average applied to price before highway calculation. Acts as a noise filter. Increase to 5–7 on lower timeframes to reduce erratic lane shifts.
HW_WalkDist 0.5 Double Additional distance added from the inner lane to the outer warning lane. Total outer distance = HW_Deviation + HW_WalkDist. At default settings, outer lanes sit at 2.5 standard deviations. Increase for wider warning zones; decrease for tighter extremes.
HW_ShowQuarters true Boolean Toggles the horizontal dotted quarter-level grid. When disabled, impact arrows are also hidden because they depend on quarter intersections.
HW_ShowImpact true Boolean Toggles the yellow impact arrows. Requires HW_ShowQuarters = true.
HW_ImpactColor Yellow Color Colour of the impact arrow objects. Can be changed for visibility against your chart background.
Scaling for whole numbers (US500, GER40, etc.) 0.02 Double Index-specific scaling factor. Defines the step size between quarter levels for instruments quoted in whole or half points (e.g., S&P 500, DAX). Default 0.02 suits most CFD indices. If your index uses 1-point increments and the grid looks incorrect, adjust to 1.0 or 0.5.

 

9.3 Fibonacci Settings Group (strFiboSettings)

Variable Default Type Detailed Function
Fibo_LineColor Red Color Colour of the diagonal trend lines connecting the last two ZigZag swings.
Fibo_Color Magenta Color Colour of the horizontal Fibonacci retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%).



10. Risk Management Guidelines

No indicator guarantees profitability. The AISHE Highway Pro Edition is a decision-support tool, not a signal service. Adhere to the following rules:
  1. Position Sizing: Risk no more than 1–2% of account equity per trade, regardless of how many confluence factors align.
  2. Stop Losses: Always define your stop loss before entry. The outer lanes provide a reference, but market gaps can bypass them. Place stops beyond recent structural swings, not just beyond the lane.
  3. Correlation Check: If multiple pairs show simultaneous outer-lane touches, the move may be USD-driven (or index-driven). Ensure you are not inadvertently doubling risk through correlated positions.
  4. News Filter: Avoid entering reversal trades 5 minutes before and 15 minutes after high-impact news (NFP, CPI, rate decisions). Volatility spikes can pierce outer lanes and continue without reversal.
  5. Demo First: Run the indicator on a demo account for at least 30 trades to calibrate parameters to your broker's feed and your preferred symbols before committing live capital.


11. Troubleshooting & FAQ

Q1: Why are the highway lanes missing on very short timeframes?

A: The indicator requires a minimum history buffer of HW_Length + HW_MA_Period bars. On M1, if your chart only loads a few hundred bars, the calculation fails. Solutions: (a) Load more history via MT4 properties, or (b) reduce HW_Length to 50.

Q2: What does the yellow arrow mean exactly?

A: It marks a bar where the high or low intersected a quarter level. A cluster of arrows on the same horizontal line indicates a repeatedly respected support/resistance zone.

Q3: I see two Fibonacci retracements — why?

A: One spans the oldest-to-middle swing (broader context); the other spans the middle-to-newest swing (active leg precision). Overlapping levels between the two sets are high-confluence zones.

Q4: Does the indicator repaint?

A: Completed bars never repaint. The current open bar may update its tentative swing point or lane position as new ticks arrive — this is normal real-time behaviour. Once the bar closes, all plotted objects are fixed.

Q5: Can I use it on Gold, Oil, or Crypto?

A: Yes. Forex, XAU/USD, and indices are fully supported with automatic quarter detection. For cryptocurrencies, the highway and ZigZag work correctly; the quarter grid may require manual code adjustment in GetQuarterStep() if the symbol uses unconventional tick sizes.

Q6: What does the breakout arrow (code 161) tell me?

A: It signals that price has closed beyond the highest high or lowest low of the last ZZ_Depth bars. This is a trend-continuation, not a reversal, signal.

Q7: How can I reduce the number of ZigZag swings?

A: Increase ZZ_Depth (e.g., to 20–30) and/or increase ZZ_Deviation (e.g., to 8.0–10.0). This filters out minor retracements.

Q8: The indicator slows down my MT4 — what can I do?

A: (1) Reduce HW_Length to 60. (2) Set HW_ShowQuarters = false to remove horizontal line objects. (3) Avoid running multiple instances on M1 with large ZZ_Depth values.

Q9: I see no lines despite the indicator being attached.

A: Check the following in order: (a) Chart has at least HW_Length + HW_MA_Period visible bars; (b) ZZ_Depth is not larger than the total bar count; (c) Refresh the chart (change timeframe and back); (d) Inspect the Experts tab for runtime errors.

Q10: Can I change the colours of the highway lanes?

A: Not via the input dialog. Edit the source code (#property indicator_color9 clrRed, etc.), change the colour constants, and recompile in MetaEditor.

Q11: Why do the lanes become extremely wide or narrow?

A: The highway is volatility-adaptive. Calm markets = narrow lanes. Volatile/news-driven markets = wide lanes. This is by design.

Q12: Can I attach the indicator to multiple charts simultaneously?

A: Yes. Each instance operates independently without global variable conflicts.

Q13: Why doesn't the ZigZag connect the very last bar?

A: The last swing requires confirmation via ZZ_Deviation and ZZ_BackStep. On the current open bar, the swing is provisional. Wait for the bar to close.

Q14: What is the best timeframe?

A: H1 and H4 are optimal for swing trading. M15 and M30 suit intraday scalping. M1 is usable only if HW_Length is reduced to ≤50.

Q15: How do I force a full recalculation?

A: Change any ZigZag parameter (e.g., ZZ_Depth 12→13→12) or remove and re-attach the indicator.

Q16: Can I disable quarter lines but keep the highway?

A: Yes. Set HW_ShowQuarters = false. Impact arrows will also disappear because they are quarter-dependent.

Q17: Why do many yellow arrows cluster in one spot?

A: Price has repeatedly tested the same quarter level. The more arrows, the stronger that level's S/R significance.

Q18: Can an Expert Advisor read this indicator's buffers?

A: Yes. All data (ZigZag, highway lanes, breakout arrows) is accessible via iCustom() calls. Buffer indices are stable once defined in the source code.

Q19: How are quarter steps determined?

A: Automatically via the GetQuarterStep() function for standard forex, JPY pairs, Gold, and low-decimal instruments. For exotic symbols, manually edit the function or use the Scaling for whole numbers input for indices.

Q20: What exactly does "Walk Distance" control?

A: It defines the gap between the inner comfort lane and the outer warning lane. If HW_Deviation = 2.0 and HW_WalkDist = 0.5, the outer lane sits at 2.5 standard deviations from the centre line.


12. Quick Start Cheat Sheet


Observation Action
Price touches outer blue lane + yellow impact arrow Consider BUY reversal. Confirm with Fibonacci 61.8%/78.6%.
Price touches outer red lane + yellow impact arrow Consider SELL reversal. Confirm with Fibonacci 61.8%/78.6%.
Price inside inner lanes Wait. Trend is healthy; no counter-trend entry.
Breakout arrow upward + ZigZag aligned Trend continuation — look for long entry on pullback or momentum.
Breakout arrow downward + ZigZag aligned Trend continuation — look for short entry on pullback or momentum.
Fibonacci 61.8% aligns with outer lane + quarter level High-probability confluence — act with confidence, but keep stops tight.
Many yellow arrows on the same horizontal line Strong institutional support/resistance — expect a reaction.
Traffic Light turns Yellow Prepare pending orders; tighten stops.
Traffic Light turns Green Execute or allow AISHE automation.
Traffic Light turns Red Event concluding — manage open positions.


Final Note: Always combine technical confluence with disciplined risk management. Test strategies on a demo environment, verify parameter suitability for your broker's data feed, and never risk capital you cannot afford to lose.



Document Version 2.0 — AISHE Highway Pro Edition © AISHE Systems. All rights reserved.