Forex Divergence Peak Osma Indicator
Forex Divergence Peak Osma Indicator — a MetaTrader 4 indicator kept in the Old Kings collection. Its name points to divergence between price and an oscillator. Its source code uses 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). Try it on a demo chart first and note how its lines or arrows react to new bars. 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 Osma Indicator
Forex Divergence Peak Osma 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_divpeaktroughosma_v1.ex4, ind_divpeaktroughosma_v1.mq4, installation manual.txt.
Settings
| Setting | Default | What it does |
|---|---|---|
| St k period | 5 | Period or timeframe used by the calculation |
| St d period | 3 | Period or timeframe used by the calculation |
| St s period | 3 | Period or timeframe used by the calculation |
| St method | 0 | 0-Close, 1-Open, 2-High, 3-Low, 4-Median, 5-Typical, 6-Weighted |
| St price | 0 | 0 - Low/High, 1 - Close/Close |
| Extr left bars | 2 | |
| Extr right bars | 1 | |
| Plus sens | 1 | |
| Minus sens | -1 | |
| Draw lines sw | true | |
| Draw lines ch w | true | |
| Col peak 1 | Red | |
| Col peak 2 | DeepPink | |
| Col trough 1 | LimeGreen | |
| Col trough 2 | YellowGreen | |
| Short name | DPTSto |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the indicator from the Navigator onto a chart and adjust the settings.
Tags: Divergence · Buy/Sell Arrows · Stochastic · MT4 Indicator · MQL4 Source Code