Loading…

Forex Divergence Peak Stochastic Indicator

From the Old Kings archive: Forex Divergence Peak Stochastic Indicator, an indicator for MetaTrader 4. Its name points to the Stochastic oscillator and divergence between price and an oscillator. In the code it works with the Stochastic oscillator. It draws arrows on the chart. It has 16 settings, for example St KPeriod (default 5), St DPeriod (default 3) and St SPeriod (default 3). Load it on a demo chart and check whether its signals repaint before trusting them. Inside: 2 indicator files with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.

Indicator · MT4 · v1.0 · Free

About Forex Divergence Peak Stochastic Indicator

Forex Divergence Peak Stochastic Indicator is an indicator for MetaTrader 4 based on Stochastic. It draws buy and sell arrows on the chart. It has 16 settings, such as St k period, St d period and St s period. MQL source code included.

Files in the download: ind_DivPeakTroughSto_SW_v1.ex4, ind_DivPeakTroughSto_SW_v1.mq4, installation manual.txt.

Settings

SettingDefaultWhat it does
St k period5Period or timeframe used by the calculation
St d period3Period or timeframe used by the calculation
St s period3Period or timeframe used by the calculation
St method00-Close, 1-Open, 2-High, 3-Low, 4-Median, 5-Typical, 6-Weighted
St price00 - Low/High, 1 - Close/Close
Extr left bars2
Extr right bars1
Plus sens1
Minus sens-1
Draw lines swtrue
Draw lines ch wtrue
Col peak 1Red
Col peak 2DeepPink
Col trough 1LimeGreen
Col trough 2YellowGreen
Short nameDPTSto

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the indicator from the Navigator onto a chart and adjust the settings.

Download the PDF guide

Tags: Stochastic · Divergence · Buy/Sell Arrows · MT4 Indicator · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria