| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| EA based on DonchianADX https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4558 |
Page 1 of 1 |
| Author: | krzysiekqq2 [ Tue Dec 29, 2015 9:19 pm ] |
| Post subject: | EA based on DonchianADX |
HI, I just completed my 1st EA using EA builder, but can not get Donchian Indi to be visible and is causing error. I replaced MidLine with MA, but this is not what I want to have and what I use in manual trading. Strategy is to take a trade, when bar cross Donchian MidLine and and close above. This needs to be in line with ADX and DI+/- proper position. Exit from position is when ADX will reverse on next closed bar. Preferably, system is run on Renko chart. I want to add later additional positions when trend breaks 15 bars low/high represented by horizontal lines like in Turtle strategy. I would appreciate you suggestion how to improve coding to get Donchian Indi MidLine to be readable. Cheers, |
|
| Author: | renexxxx [ Fri Jan 01, 2016 3:17 am ] |
| Post subject: | EA based on DonchianADX |
This question is about the use of the iCustom-function, to interrogate the custom indicator "Doda-Donchian_v2_mod_fix". Your code in Buy_DD_Sell_ADX_EA_v2.mq4, line 72: Code: Select all Code: Select all Similarly line 83 becomes: Code: Select all If, on the contrary you wish to supply non-default parameters to the "Doda-Donchian_v2_mod_fix"-indicator, you need to list each of them separately on the iCustom-call. Something like: Code: Select all Code: Select all Hope this helps. |
|
| Author: | krzysiekqq2 [ Fri Jan 01, 2016 3:21 pm ] |
| Post subject: | EA based on DonchianADX |
Many thanks renexxxx. Your points/comments are very valuable. I started mglbook to get brief understanding of coding. I have a long way to go to before creating workable EA. Happy New Year and Cheers, |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|