EA BAsed on Heiken ASHI - page 18

 

Hi mladen & mrtools,

On the new build (625) I have order size error problems with the EA. The preset size is 0.1 lot but the ea opened different values.

I run a version which is compiled under build 509.

log:

02:33:25.308 '202264': order buy market 0.10 USDJPY sl: 0.000 tp: 0.000

02:33:26.261 '202264': request was accepted by server

02:33:26.277 '202264': request in process

02:33:26.292 '202264': order was opened : #2466650 buy 0.10 USDJPY at 102.183 sl: 0.000 tp: 0.000

02:33:26.308 '202264': modify order #2466650 buy 0.10 USDJPY at 102.183 sl: 0.000 tp: 0.000 -> sl: 102.083 tp: 105.183

02:33:27.480 '202264': request was accepted by server

02:33:27.495 '202264': request in process

02:33:27.511 '202264': order #2466650 buy 0.10 USDJPY at 102.183 was modified -> sl: 102.083 tp: 105.183

04:24:27.588 '202264': close order #2466650 buy 0.10 USDJPY at 102.183 sl: 102.083 tp: 105.183 at price 0.000

04:24:27.678 '202264': request was accepted by server

04:24:27.696 '202264': request in process

04:24:27.710 '202264': order #2466650 buy 0.10 USDJPY at 102.183 sl: 102.083 tp: 105.183 closed at price 102.107

04:24:27.726 '202264': order sell market 0.03 USDJPY sl: 0.000 tp: 0.000

04:24:27.803 '202264': request was accepted by server

04:24:27.819 '202264': request in process

04:24:27.835 '202264': order was opened : #2467593 sell 0.03 USDJPY at 102.107 sl: 0.000 tp: 0.000

04:24:27.866 '202264': modify order #2467593 sell 0.03 USDJPY at 102.107 sl: 0.000 tp: 0.000 -> sl: 102.207 tp: 99.107

04:24:27.960 '202264': request was accepted by server

04:24:27.975 '202264': request in process

04:24:28.007 '202264': order #2467593 sell 0.03 USDJPY at 102.107 was modified -> sl: 102.207 tp: 99.107

10:15:22.552 '202264': order buy market0.01 USDJPY sl: 0.000 tp: 0.000

10:15:22.645 '202264': request was accepted by server

10:15:22.661 '202264': request in process

10:15:22.677 '202264': order was opened : #2472405 buy 0.01 USDJPY at 102.200 sl: 0.000 tp: 0.000

10:15:22.740 '202264': modify order #2472405 buy 0.01 USDJPY at 102.200 sl: 0.000 tp: 0.000 -> sl: 102.100 tp: 105.200

10:15:22.880 '202264': request was accepted by server

10:15:22.895 '202264': request in process

10:15:22.928 '202264': order #2472405 buy 0.01 USDJPY at 102.200 was modified -> sl: 102.100 tp: 105.200

If I try to compile under build 625 the compiler give me 20 errors and 21 warnings.

Can you update the EA to the new 6xx builds if you find a little time in this mess please?

Regards,

Daniel.

Files:
 
marketscalper:
Hi mladen & mrtools,

On the new build (625) I have order size error problems with the EA. The preset size is 0.1 lot but the ea opened different values.

I run a version which is compiled under build 509.

log:

02:33:25.308 '202264': order buy market 0.10 USDJPY sl: 0.000 tp: 0.000

02:33:26.261 '202264': request was accepted by server

02:33:26.277 '202264': request in process

02:33:26.292 '202264': order was opened : #2466650 buy 0.10 USDJPY at 102.183 sl: 0.000 tp: 0.000

02:33:26.308 '202264': modify order #2466650 buy 0.10 USDJPY at 102.183 sl: 0.000 tp: 0.000 -> sl: 102.083 tp: 105.183

02:33:27.480 '202264': request was accepted by server

02:33:27.495 '202264': request in process

02:33:27.511 '202264': order #2466650 buy 0.10 USDJPY at 102.183 was modified -> sl: 102.083 tp: 105.183

04:24:27.588 '202264': close order #2466650 buy 0.10 USDJPY at 102.183 sl: 102.083 tp: 105.183 at price 0.000

04:24:27.678 '202264': request was accepted by server

04:24:27.696 '202264': request in process

04:24:27.710 '202264': order #2466650 buy 0.10 USDJPY at 102.183 sl: 102.083 tp: 105.183 closed at price 102.107

04:24:27.726 '202264': order sell market 0.03 USDJPY sl: 0.000 tp: 0.000

04:24:27.803 '202264': request was accepted by server

04:24:27.819 '202264': request in process

04:24:27.835 '202264': order was opened : #2467593 sell 0.03 USDJPY at 102.107 sl: 0.000 tp: 0.000

04:24:27.866 '202264': modify order #2467593 sell 0.03 USDJPY at 102.107 sl: 0.000 tp: 0.000 -> sl: 102.207 tp: 99.107

04:24:27.960 '202264': request was accepted by server

04:24:27.975 '202264': request in process

04:24:28.007 '202264': order #2467593 sell 0.03 USDJPY at 102.107 was modified -> sl: 102.207 tp: 99.107

10:15:22.552 '202264': order buy market0.01 USDJPY sl: 0.000 tp: 0.000

10:15:22.645 '202264': request was accepted by server

10:15:22.661 '202264': request in process

10:15:22.677 '202264': order was opened : #2472405 buy 0.01 USDJPY at 102.200 sl: 0.000 tp: 0.000

10:15:22.740 '202264': modify order #2472405 buy 0.01 USDJPY at 102.200 sl: 0.000 tp: 0.000 -> sl: 102.100 tp: 105.200

10:15:22.880 '202264': request was accepted by server

10:15:22.895 '202264': request in process

10:15:22.928 '202264': order #2472405 buy 0.01 USDJPY at 102.200 was modified -> sl: 102.100 tp: 105.200

If I try to compile under build 625 the compiler give me 20 errors and 21 warnings.

Can you update the EA to the new 6xx builds if you find a little time in this mess please?

Regards,

Daniel.

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

 

Hi mladen!

Thanks for the fast reply!

You were right, I forgot to switch off the DecreaseFactor

Thank you very much.

 

Thank you very much

 
mrtools:
Hi Stail7, If I ever figure out what is wrong with see about adding that function.

Could I ask as to how you have tested this.. ie did you use renko bars, what size bars, and for how long a period..

I am thinking of 8 pip bars, not sure as to the period yet..

Any help would be appreciated

daveM

 
Blaiserboy:
Could I ask as to how you have tested this.. ie did you use renko bars, what size bars, and for how long a period..

I am thinking of 8 pip bars, not sure as to the period yet..

Any help would be appreciated

daveM

Does it need to be changed to be used on renko?

 

Depends on renko, but some things have to be changed

 

Hello mladen /mrtools ,

Could you please add an option to INVERSE the signals of the Heiken Ashi ea v.106 nmc ? .... I found a losing strategy using specific parameters and thought about to reversing the signals lol..... I will activate that option in the case where the market is ranging (in fact 70% of the times the market ranges)....

Also , I found that the EA keeps opening orders in the same direction even after TP is hit. In the case of the Inverse signals , it would be to NOT open an order right after SL is hit, but instead, WAIT for another MA cross opportunity to open again..... Can you change that so that it ONLY open orders once a new signal (MA cross) occurs ?

Thank you a lot for your efforts guys!

 

Hello mladen / mrtools,

Could you please add an option to Inverse signals from the Hieken ashi EA V.106nmc ? ...I found a losing strategy using specific parameters so I thought about reversing the signals lol ... Of course i will be activating that option only when the market ranges.... and in fact ,the market ranges about 70% of the times.

Also another thing I found , is that the ea keeps on opening orders in the same direction right after the Target is hit which I do not want but instead, it should WAIT for another MA cross to open order again. In the case of the reverse signals, it should be to NOT open an order in the same direction right after SL is hit, but wait for another MA cross opportunity to open again. Can you please add these changes ?

Thank you a lot for your efforts guys!

 

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.