Zone Levels MTF
- Indicatori
- Versione: 1.0
- Attivazioni: 5
Zone Levels MTF
Zone Levels MTF draws support and resistance zones from two timeframes on one chart and shows complete trade levels for each timeframe: Entry, Stop Loss, TP1, TP2 and TP3.
MAIN FEATURES
- Two timeframes on one chart (default M5 and M15). Each timeframe can be enabled or disabled.
- Reversal zones: zones where the market changed direction. Up to 5 zones per side are kept on the chart until price closes through them. Older zones are shown with lighter colors.
- Broken zone: the most recently broken zone is shown as a thin dashed frame.
- Latest zone: the current active zone is labeled NOW.
- Trade levels for each timeframe: Entry, Stop Loss (spread included), TP1, TP2 and TP3 with the risk/reward ratio shown next to each target.
- On-chart buttons to show or hide the zones and the trade levels of each timeframe.
- All objects are drawn behind the candles, so price stays easy to read.
- Calculated on closed bars only. Levels do not change while the current bar is forming.
ALERTS
Separate alerts for each timeframe:
- New setup
- Entry touched
- TP1 / TP2 / TP3 reached
- Stop Loss hit
Delivery: popup with sound, push notification and email. Each alert type can be switched on or off.
FOR EXPERT ADVISORS
The indicator provides data buffers that can be read with iCustom() and CopyBuffer() at shift 0.
Buffers 0-6 = Timeframe 1, buffers 7-13 = Timeframe 2:
0 / 7 Direction (+1 = Buy, -1 = Sell, 0 = no setup)
1 / 8 Entry price
2 / 9 Stop Loss
3 / 10 TP1
4 / 11 TP2
5 / 12 TP3
6 / 13 Setup time (datetime stored as double)
When there is no setup, buffers 1-6 and 8-13 return EMPTY_VALUE.
Example:
int h = iCustom(_Symbol, _Period, "Market\\Zone Levels MTF",
false, // Draw objects on chart
false, // Enable alerts
PERIOD_M5, // Timeframe 1
PERIOD_M15);// Timeframe 2
INPUT PARAMETERS
- General: draw objects, alerts master switch, Timeframe 1 and 2, use each timeframe.
- Zones: show bullish / bearish reversal zones, zones per side (1-20), fade step, show broken zone, show latest zone, show 50% line, labels and label size.
- Colors: fill and border colors, fill on/off and border width for each timeframe; broken zone color.
- Trade levels: show levels per timeframe, spread for Stop Loss (0 = current spread), TP1 / TP2 / TP3 extension ratios, minimum line length, Entry and Stop Loss colors.
- Alerts: per timeframe, per event type, popup / push / email.
- Buttons: show buttons, position and colors.
NOTES
- Works on any symbol and any chart timeframe.
- The indicator does not open or close trades.
- Trading involves risk. Past price behavior does not guarantee future results.
