Need Help on EA.

 

Hello,

I need help from anybody. I ran an EA on EUR/USD; GBP/USD and USD/CHF with demo account. It was great. However, when TP, GBP/USD and USD/CHF shows record in the account history but EUR/USD didn't. I don't know why. I really appreciate if anyone can help and tell me why?.

Thank you in advance

Ibrahim8900

 

Did it place trades on EURUSD that now don't show in history?... Make sure your history is set to "All History" if it's not there, ask your broker. If it just didn't trade, then check your journal for error messages.

V

 
Viffer:

Did it place trades on EURUSD that now don't show in history?... Make sure your history is set to "All History" if it's not there, ask your broker. If it just didn't trade, then check your journal for error messages.

V


Thank you Viffer.
 
Viffer:

Did it place trades on EURUSD that now don't show in history?... Make sure your history is set to "All History" if it's not there, ask your broker. If it just didn't trade, then check your journal for error messages.

V


Hello Viffer,

May I know your E-mail? I like to communicate with you through e-mail. If you don't mind.

Thank you.

 
Ibrahim8900:


Hello Viffer,

May I know your E-mail? I like to communicate with you through e-mail. If you don't mind.

Thank you.

If it's a private matter, could you please use the Private Message system in the first instance. If it is a generic question, you are better served to ask in the forum. You will get a better answer from a broader experience base and more importantly, others can learn from your experience. (or those that use search can at least!)

V

 
Viffer:

If it's a private matter, could you please use the Private Message system in the first instance. If it is a generic question, you are better served to ask in the forum. You will get a better answer from a broader experience base and more importantly, others can learn from your experience. (or those that use search can at least!)

V


Thank you Viffer.

I understand what you meant. I need a little help. Being a newbie, in trading and I'm not a programmer. I got this EA. I ran it on strategy tester and it opens trade on buying all the time and NO selling. I look at the program and made a slight change from trend == 1 to trend ==2 and it works. It opened trade on buying and selling immediately. So I was thingking if I can have SELLLIMIT and BUYLIMIT before it actually open trade and maybe 20pips apart, this EA is profitable. So if you can help to code it, I really appreciate.

 

By the looks of it, this EA is entering long and short at the same time. I suspect you are going to need to look more at the logic leading up to the trading decision to decide which trade should be entered. I'm not sure that simply putting pending orders is going to help this scalping EA but to do so, you will need to change the order type in order send https://docs.mql4.com/constants/trading as well as amending the price parameter and stops to the required level. Also wanted to comment that you are mixing Indicator coding methods with EA methods and perhaps making the job more dificult than it need be. I don't know what this code does, but going on the name, fractal is accessible with https://docs.mql4.com/indicators/iFractals and zigzag with iCustom() https://book.mql4.com/samples/shared.

hth

V

 
Viffer:

By the looks of it, this EA is entering long and short at the same time. I suspect you are going to need to look more at the logic leading up to the trading decision to decide which trade should be entered. I'm not sure that simply putting pending orders is going to help this scalping EA but to do so, you will need to change the order type in order send https://docs.mql4.com/constants/trading as well as amending the price parameter and stops to the required level. Also wanted to comment that you are mixing Indicator coding methods with EA methods and perhaps making the job more dificult than it need be. I don't know what this code does, but going on the name, fractal is accessible with https://docs.mql4.com/indicators/iFractals and zigzag with iCustom() https://book.mql4.com/samples/shared.

hth

V


Thank you Viffer for your kindness.

First of all, I don't know that this program is mixed EA with Icustom. It is clear now when you explained it to me and more clearer when I read the documents. I will try to write a simple program and follow the program example given in the book.

Thanks again and Have a nice weekend.

Ibrahim8900.

 

Hello,

I ran an EA on Strategy Tester. It opened trade and TP after one another. However after 9th trade opened and TP, the next trade is no longer available though the tester is still running. Appreciate anyone help and tell me what's wrong with the EA.

Thanks in advance.

Ibrahim8900.

Reason: