Venom Divergence MT4
- Indicatori
- Versione: 1.0
- Attivazioni: 10
Overview
Divergence is easy to see in hindsight and easy to miss live. This tool marks MACD divergence on confirmed swings and draws the trade levels for you.
Launch price
Launch price: the first 10 copies are sold at 49 USD; after that the price goes up to 69 USD. Buyers also get the 4 ready-made settings files (.set) on request through MQL5 private messages. After purchase, send me a private message on MQL5 and I will send you the 4 settings files.
How it works
MACD is calculated inside the tool from closing prices, with an SMA or EMA signal line. Nothing is drawn in a subwindow.
A swing high or low needs a set number of bars on each side. It counts only after all of those bars have closed. The new swing is compared with the nearest older swing within the minimum and maximum distance.
Regular bullish: a lower price low with a higher MACD. Hidden bullish: a higher price low with a lower MACD. Bearish signals mirror this on swing highs. Hidden divergence can be turned off.
The signal prints on the bar that confirms the second swing.
Key features
- Regular and hidden MACD divergence
- Divergence lines, solid for regular and dashed for hidden, tagged Reg or Hid
- Buy and sell arrows set 0.6 ATR from the candle
- Entry, stop loss and three take profit levels for the latest signal
- Shaded zones, price labels, and marks where targets or the stop were hit
- Dashboard with MACD, histogram trend, last divergence and trade status
- Signal buffer for Expert Advisors: 1 or -1 regular, 2 or -2 hidden
How to trade it
Buy: price makes a lower low while MACD makes a higher low. Enter at the close of the arrow bar and place the stop 0.3 ATR below the swing low. Targets sit at 1, 2 and 3 times the risk.
Sell: price makes a higher high while MACD makes a lower high. Enter at the arrow bar close with the stop 0.3 ATR above the swing high. Take part of the position off at each target.
Check it yourself in two minutes
1. In the Strategy Tester, pick the indicator, a symbol and a timeframe.
2. Turn on visual mode and start the test.
3. Watch a swing form. The arrow appears only after the swing bars close.
4. Pause and step forward. Arrows, lines and levels stay where they were drawn.
Signals are fixed when the bar closes and never redrawn.
Recommended use
It works on any symbol and timeframe. M15 to H4 on EURUSD, GBPUSD, USDJPY and XAUUSD is a good place to start. It suits traders who use divergence and want swings, levels and alerts in one place.
Alerts
Popup, sound, push and email, sent once per new signal on a closed bar.
Inputs
MACD
- InpFastPeriod: fast EMA period (12)
- InpSlowPeriod: slow EMA period (26)
- InpSignalPeriod: signal line period (9)
- InpSignalMethod: signal line method, SMA or EMA (SMA)
Divergence
- InpPivotBars: swing bars on each side (3)
- InpMinPivotDistance: minimum bars between swings (5)
- InpMaxPivotDistance: maximum bars between swings (60)
- InpShowHidden: detect hidden divergence (true)
- InpShowLines: draw divergence lines (true)
Trade levels
- InpShowLevels: show entry, stop and targets (true)
- InpShowZones: shade risk and reward zones (true)
- InpShowMarks: mark target and stop hits (true)
- InpPastLevels: keep full levels on past signals (false)
- InpLevelBars: level line length in bars (12)
- InpMaxSignals: signals kept on the chart (25)
Trade levels, stop and targets
- InpAtrPeriod: ATR period (14)
- InpStopAtr: stop buffer beyond the swing, x ATR (0.3)
- InpTp1Ratio: take profit 1, x risk (1.0)
- InpTp2Ratio: take profit 2, x risk (2.0)
- InpTp3Ratio: take profit 3, x risk (3.0)
Dashboard
- InpShowPanel: show dashboard (true)
- InpPanelCorner: dashboard corner (left upper)
- InpPanelX: X offset in pixels (14)
- InpPanelY: Y offset in pixels (28)
Alerts
- InpAlertPopup: popup alert (true)
- InpAlertSound: sound alert (false)
- InpAlertFile: sound file (alert.wav)
- InpAlertPush: push notification (false)
- InpAlertEmail: email alert (false)
Style
- InpBuyColor: buy colour (teal)
- InpSellColor: sell colour (red)
- InpArrowSize: arrow size, 1 to 5 (3)
Support and versions
Ask questions in the Comments tab or by MQL5 private message. The tool is available for MetaTrader 4 and MetaTrader 5 as separate products.
Risk note
Trading carries risk. Signals and levels help with analysis and do not promise any result.
