EA BAsed on Heiken ASHI - page 19

 
panamamike:
I trade using HA on Renko Live charts. I am testing some of these EAs. Ideally what I would like to do, is only take signals in a specified direction. i.e. I place the EA on currencies that are trending and let it take trades only in the direction of the trend....close on bar close of opposite color, but do not open a trade in the new direction. A trailing stop based on H/L of X renko bars back would also be very helpful, but not essential. Some of the EAs I have tried open the trade correctly, but either do not close when the change in color occurs, or opens a new trade in that direction. Any help would be appreciated.

It seems that you need a highly customized EA that would be adjusted for renko. But since there is no standard renko, all that is even more customized to one specific renko

 

Actually, I think it would work regardless of renko chart.

I am demoing a HA EA, and it takes signals fine on the renko charts.....but it is always in the market. I only want to trade in a specified direction. I have tried to limit the current EA under the common properties to only take positions in the direction I want, but then it does not seem to close the trades on the opposite signal when i do this.

 

I have an idea to make this EA more useful,

add stochastic cross confirm

stochastic (28,5,5)

standard

buy -> heiken ashi turn blue and stochastic under 15

sell -> heiken ashi turn red and stochastic above 85

maybe someone can make it real.

Files:
audcad.mh1.png  56 kb
 
mladen:
Daniel

To prevent that order size change, set the DecreaseFactor to 0

Attaching a version that compiles in the new metatrader 4 with no errors or warnings at all

i cant run the ea

could you please tell me which indicator i need Ha indicator which one

thanks in advance

 
juaorma:
i cant run the ea

could you please tell me which indicator i need Ha indicator which one

thanks in advance

Juaorma, it needs Heiken_Ashi_Smoothed_v1, there is a version here: https://www.mql5.com/en/forum/174144/page8

 
mrtools:
Juaorma, it needs Heiken_Ashi_Smoothed_v1, there is a version here: https://www.mql5.com/en/forum/174144/page8

thanks Mr Tools

i have a strategy

could you add to the EA the way to open 3 trades

when the color ha change open 3 position

first to tp=10 stp=20

second to tp=20 stp=20

therts to tp=40 stp=20

thnaks in advance excuse my english

 
mrtools:
Juaorma, it needs Heiken_Ashi_Smoothed_v1, there is a version here: https://www.mql5.com/en/forum/174144/page8

MrTools,

I was reading this interesting thread, did you got the Double HAS EA working?

Please Share, I beg you

If it's not working, maybe can be filtered witha SMA,EMA..etc.

IF HAS RED and price>200EMA =no trade

IF HAS GREEN and price>200EMA= buy + mail,alert,notify,sound

No programmer brain here, just an idea.

Kind Regards

 
ripefx:
MrTools,

I was reading this interesting thread, did you got the Double HAS EA working?

Please Share, I beg you

If it's not working, maybe can be filtered witha SMA,EMA..etc.

IF HAS RED and price>200EMA =no trade

IF HAS GREEN and price>200EMA= buy + mail,alert,notify,sound

No programmer brain here, just an idea.

Kind Regards

Isn't the EA from that post working?

to my understanding, it does

 
PascalD:
Isn't the EA from that post working? to my understanding, it does

The Double HAS EA has errors, just download it and try to run it in the new MT4 builds.

 

MrTools, Mladen, can you add a notify and email function, and a MA filter to this file, (with a big PLEASE)

in a way you can set the MA period and type?

Kind Regards

Reason: