Help
|
|||
|
I am trying to build an EA for MT3 in ZeroCode and need some assistance. I am building an advisor that puts in a trade when the 3 EMAs cross and exit when the 3 EMAs cross in the opposite direction or hit the stoploss, whichever comes First. Below is what my imputs are in ZeroCode except the exit on the crossover. Can someone help me whith this to program this as a reliable advisor:
BUY LOGISTICS AND MA (1) Current > MA (2) Current AND MA (2) Current > MA (3) Current SELL LOGISTICS AND MA (1) Current < MA (2) Current AND MA (2) Current < MA (3) Current Thank you Todd |
![]() |
|
|||
|
I have gone down to 2 moving averages, but it puts me in the wrong way or not at all. (attached)
Buy logics: MA (1) Previous < MA (2) Previous AND MA (1) Current > MA (2) Current Sell logics: MA (1) Previous > MA (2) Previous AND MA (1) Current < MA (2) Current Also I want it to exit the trade when the moving averages cross in the opposite direction. or when the take profit or trailing stop is hit, whichever comes first. Thanks |
|
|||
|
I will try putting the proper logic in. Thanks for the quick responce.
As for the exit I am talking about exiting when the moving averages cross in the opposite direction (prevents whipsaws). Then putting me immediately into a trade in that direction. I have attached an example, and I hope that it explaines it clearly. |
|
||||
|
Toddr
,your trading style will bring you alot of money only when the market is really active:sweatdrop , but it can also kill you when the market is sideway . If you don't believe, please take a look the change of the moving everage, during the sideway market in "real time" . (Trust me , I have try this strategy before, in real time and manually ) |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 02:32 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now










,your trading style will bring you alot of money
only when the market is really active:sweatdrop , but it can also kill you when the market is sideway
. If you don't believe, please take a look the change of the moving everage, during the sideway market in "real time"
, I have try this strategy before, in real time and manually
Linear Mode

