May 10, 2023
21
0
17
53
Hi Enivid.
Is this code for the MQ5 Expert? If so, what would the code be on MQ4?
I have tried to amend the SL code on the MQ4 but it does not seem to be working unfortunately.
Also, those lines of code are on lines 348 and 349.
Thank you!!
Cracked it, which is great. My bad. Apologies.
Has anyone had any slight issues with moving SL to BE inputs? Also, Trailing Stop at all? Any pointers?
My TP is at 25. I am setting my move to BE to 10 with my Trailing Stop to 15 but it does not seem to be implementing?
Thank you for any guidance! :)
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,234
1,507
144
Odesa
www.earnforex.com
Hi Enivid.
Is this code for the MQ5 Expert? If so, what would the code be on MQ4?
I have tried to amend the SL code on the MQ4 but it does not seem to be working unfortunately.
Also, those lines of code are on lines 348 and 349.
Thank you!!
Those lines of code are on different lines in MQ4, but the changes should be the same.
 
May 10, 2023
21
0
17
53
My Expert history does not show the trades that I lost unfortunately. Seems to have cleared itself. I did a detailed report. Trades were running for 40 minutes. I will keep looking. :) This is a demo account so there will be a lot of trial and error. Still great EA though. Impressive.
 
May 10, 2023
21
0
17
53
Hi Enivid,
Have you ever thought about adding to the Amaze Expert?
Sometimes, there are 2 high impact trades associated to the one currency.
Is there a way to take the results of the high impact news (say, from a Forex News Website), determine if they are both positive or negative and have the EA execute the pending trades? Else, if one is positive, and one is negative, delete the pending trade(s).
I am just wondering what your thoughts are on this? Would it be difficult?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,234
1,507
144
Odesa
www.earnforex.com
Hi Enivid,
Have you ever thought about adding to the Amaze Expert?
Sometimes, there are 2 high impact trades associated to the one currency.
Is there a way to take the results of the high impact news (say, from a Forex News Website), determine if they are both positive or negative and have the EA execute the pending trades? Else, if one is positive, and one is negative, delete the pending trade(s).
I am just wondering what your thoughts are on this? Would it be difficult?
You mean so that the EA connects to a website and reads the news automatically?
 
May 10, 2023
21
0
17
53
You mean so that the EA connects to a website and reads the news automatically?
Only reads the numerical outcome from an API. So, if taking the forecast, if both news items are above or below the forecast place the trade, if one is above the forecast and one is below, cancel the pending order. What tends to happen is once cancels out the other when there are 2 or more high impact news events.
Just an idea really. Love this EA though, Really user friendly and have learned a lot. Love it. It just gets better and better.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,234
1,507
144
Odesa
www.earnforex.com
Only reads the numerical outcome from an API. So, if taking the forecast, if both news items are above or below the forecast place the trade, if one is above the forecast and one is below, cancel the pending order. What tends to happen is once cancels out the other when there are 2 or more high impact news events.
Just an idea really. Love this EA though, Really user friendly and have learned a lot. Love it. It just gets better and better.
That's definitely possible, but this isn't something I would be interested in adding to this EA.
 
May 10, 2023
21
0
17
53
Hey Enivid, can I ask where the code is for the SL? I am just interested to know what the pip count is for the Trailing SL?
Thank you!
 
May 10, 2023
21
0
17
53
You just set Trailing Stop via input parameters.
So, I set mine to say 12 PIPS. Does the Trailing SL come in at 12 PIPS when my BE interger has been triggered? And if so, does it remain at 12 PIPS?
So, as an example, if I set my BE to 10 PIPS and then set my Trailing SL to 5 PIPS, this would come into play once the BE has been triggered? Thank you!
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,234
1,507
144
Odesa
www.earnforex.com
So, I set mine to say 12 PIPS. Does the Trailing SL come in at 12 PIPS when my BE interger has been triggered? And if so, does it remain at 12 PIPS?
So, as an example, if I set my BE to 10 PIPS and then set my Trailing SL to 5 PIPS, this would come into play once the BE has been triggered? Thank you!
The TS works irrespective of the BE. They are completely independent features. If you set TS to 5 pips, it will trail any time the distance between the current price and the SL increases to more than 5 pips. In your example, the BE won't have a chance to trigger.
 
May 10, 2023
21
0
17
53
The TS works irrespective of the BE. They are completely independent features. If you set TS to 5 pips, it will trail any time the distance between the current price and the SL increases to more than 5 pips. In your example, the BE won't have a chance to trigger.
I see. That is great, thank you. What do you tend to use as a BE and TS? 10 BE and 15 TS? Or more?