Please can any one help me with a EA for this indicator HADIFFCO

 

Hello Friends

I am too tired now, tried to get a simple EA to work for this indicator and finding it hard. Please can anyone help

This custom indicator is based on Heikin-Ashi

Now HADIFFCO is a series which is a subtraction of Heikin Close and Heikin Open which is the histogram

Now on top this i do a SMA series on this HADIFFCO for period 2.

I feel there is very good potential for this indicator cross above zero is buy and cross below zerois sell. (Sounds simple ahh!)


But there is a catch sometimes the oscillator touches zero and does not cross but continues in the same direction. This should condition should be catched as well.

You can write your EA using index buffer 4 (HADIFFCO) cross zero (up and down ) or index buffer 0 which is SMA series.

Please help I tried my level best for this, If anyone can write a EA to ride this up and down I am sure it is pot of gold.

wish some one here is to help me.

EA should have only one position open at one time. (Either Long or Short). -- Hard bit.

Not thaught about stop loss or trailing profit yet. Please ....