EA based on 5.4.5 indicator

 

Hello Traders,

I come to ask your to help for the design of a EA with only one tool which I attach to this email.

here several weeks that I test a small simple method which becomes advantageous, but it is constraining manually because the trades must be closed even the night during the sleep.

I desire only the opening of trades as of the crossings of the 2 lines. the red line is the director of the tendency.

Thus for an order BUY: crossing carried out + red line above green and closing the order to the following crossing. For a Sell order: crossing carried out and red line below the green line and closing of the order to the following crossing.

Ft: 30 ; Lot: 01; use alert (true or false).

By advance thank you of your contribution.

BrunoFX

Files:
5_34_5.mq4  4 kb
 

Bruno,

I think we can not trust this indicator, the first 4 or 5 bars constantly changes its values. Then only after the fifth bar, it's fixed.

Reason: