Mql4/mt4 Simple Custom Indicators

Greetings. I’m looking to get essentially three custom indicators produced based on two common indicators: moving average of oscillator (osma) and accelerator oscilaltor (ac):

1) ‘osmax’
2) ‘acx’
3) ‘flow’

*for all below, ‘current bar’ is obviously the current bar being sampled. ‘previous bar’ is the one immediately preceding ‘current bar.’ ‘2nd previous bar’ is the one immediately preceding ‘previous bar’ and is two bars behind ‘current bar.’

*it is ok to subtract a negative (i.e. (0.5 – (-0.25)), as each ‘osmax’ and ‘acx’ quotient is ultimately put in absolute values

*if acx/osmax quotient or numerator/denominator = ‘0,’ then round/change to ‘0.000001.’

1.) ‘osmax’ indicator:
> indicator color: ‘peru’
> bar thickness: 2nd biggest
> function (osmax quotient): absolute value[(current bar-previous bar)/(previous bar-2nd previous bar)]
> all bars based on common ‘osma’ indicator

2.) ‘acx’ indicator:
> indicator color: ‘powder blue’
> bar thickness: 2nd biggest
> function (acx quotient): absolute value[(current bar-previous bar)/(previous bar-2nd previous bar)]
> all bars based on common ‘ac’ indicator

3.) ‘flow’ indicator:
> indicator color: ‘limegreen’
> bar thickness: 2nd biggest
> function: (acx quotient/osmax quotient)

If there are any questions/comments/concerns, feel free to contact. Happy bidding…

Leave a Reply

Your email address will not be published. Required fields are marked *