Universal MA Cross EA - page 5

 
DarkProdigy:
There has been a few crosses from EMA and no order went through

Could you check the JOURNAL tab, maybe there is warning statement there.

DarkProdigy:
Is putting 0.1 Lots ok cause it shows up as 0 on the commentary?

No problem with 0.1 , there is a small bug on the commentary code.

Hope this help

 

Yea...i see some...i think

2006.05.04 20:52:07 Old tick AUDUSD60 0.7699/0.7703

2006.05.04 20:52:07 Old tick AUDUSD1440 0.7699/0.7703

2006.05.04 20:52:07 Old tick AUDUSD15 0.7699/0.7703

2006.05.04 20:52:07 Old tick USDCAD15 1.1086/1.1090

2006.05.04 20:52:07 Old tick USDCAD1440 1.1086/1.1090

 
DarkProdigy:
Yea...i see some...i think

2006.05.04 20:52:07 Old tick AUDUSD60 0.7699/0.7703

2006.05.04 20:52:07 Old tick AUDUSD1440 0.7699/0.7703

2006.05.04 20:52:07 Old tick AUDUSD15 0.7699/0.7703

2006.05.04 20:52:07 Old tick USDCAD15 1.1086/1.1090

2006.05.04 20:52:07 Old tick USDCAD1440 1.1086/1.1090

Okay send me your EA setting and account setting, also what broker did you use so I could study your condition. Hope this help

 
 
 

Hi Dave,

I have tried ur EA. Why is it opening 2 or more trades on the same bar at cross when CONFIRMEDENTRY=TRUE...

Thanks

Babar

 
yass:
Hello Firedave

The EA excuting orders as it must be by the arrow of BT2SIG but the do not trail the stop by BT2stop (the red dots) , as u can realize through the image the order was excuted at 1.2746 with sl at 1.2644(as it should) but when the red dot BT2STOP appears and hold till candle close the stop must be trailed to 1.2713 which unfortunat didnt happened!!!!

Pls take a look to modify with your effort ....

Thanks for everthing with hope........

Sure yass, I will take a look on it. Thank you for letting me know

 
babarmughal:
Hi Dave,

I have tried ur EA. Why is it opening 2 or more trades on the same bar at cross when CONFIRMEDENTRY=TRUE...

Thanks

Babar

Now, that is what I call problem since the EA is coded to trade only one trade at a time. Hope you could post or email me your screen shot. Thank you

 

Hi Dave,

Here is the screen shot of my chart you can see the there were multiple trades in one bar....

Thanks

Babar

Files:
uma.gif  23 kb
 

Hi Babar, after see your screen shot, I think the setting is ConfirmedOnEntry = FALSE , because if it's TRUE, the trade should be in the next bar. If you see multiple trade on one bar, it's because the trade is stopped out on trailing stop and since the entry condition still valid it's open a new trade AFTER the last trade is close. It happend three times on one bar, but always ONE trade at a time. Let me know if you need ONLY one trade on one bar, even if the entry condition still valid. Hope this help

Reason: