Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
2986
Rating:
(11)
Published:
2018.12.18 19:10
MaDevOsc.mq5 (10.29 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Like Deviation from MA, the indicator displays values of maximum deviation between MA and the price. However, unlike Deviation from MA, it uses a colored histogram in a separate window.
Frames are used to detect maximum values (as when searching for fractals).

It has four inputs:

  • Period - МА calculation period
  • Method - МА calculation method
  • Applied price - МА calculation price
  • Frames - size of one frame, within which the search for a maximum deviation is performed

Detected maximum deviations within a frame are marked with colored histogram columns:

  • maximum deviation downwards from МА is marked in blue
  • maximum deviation upwards from МА is marked in red.

Fig. 1. Deviation from MA oscillator


Fig. 2. Deviation from MA oscillator + Deviation from MA

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22601

RSI_Divergence RSI_Divergence

RSI Divergence indicator

RSI_Of_MA RSI_Of_MA

RSI of MA indicator

MaDev MaDev

Deviation from MA indicator

InvestorsVsSpeculatorsDelta InvestorsVsSpeculatorsDelta

Investors vs Speculators Delta indicator