Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
Hi, thanks for responding.

I am trying to put in a Timed Order to buy a stock if its price is above a certain price at a certain time. So if MSFT is above $100 at noon, then I want the EA to put in a buy order at noon at the market price. I hope that is clearer.

Cheers
No, unfortunately, it cannot do exactly that. You can set the desired price (100) for a market buy order and the maximum distance (in points), but it will work both ways, so if you enter, let's say 50 there, it will only execute the buy order if the price is between 99.50 and 100.50.
 

ox1138

Newbie
Mar 5, 2024
6
0
2
49
No, unfortunately, it cannot do exactly that. You can set the desired price (100) for a market buy order and the maximum distance (in points), but it will work both ways, so if you enter, let's say 50 there, it will only execute the buy order if the price is between 99.50 and 100.50.
Post automatically merged:

Thank you so much for your help. I am trying to figure out how a Buy_Stop works with this EA. I understood a Buy_Stop to be that it would execute the trade if it is above the Stop level. Is that correct?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
Post automatically merged:

Thank you so much for your help. I am trying to figure out how a Buy_Stop works with this EA. I understood a Buy_Stop to be that it would execute the trade if it is above the Stop level. Is that correct?
Yes, a buy stop order gets executed when the price rises to the entry price or above. However, the EA won't be able to create a buy stop order if price is already above your desired entry price.
 

ox1138

Newbie
Mar 5, 2024
6
0
2
49
Yes, a buy stop order gets executed when the price rises to the entry price or above. However, the EA won't be able to create a buy stop order if price is already above your desired entry price.
Okay, thank you very much for the clarification - much appreciated
 

mcyk83

Trader
Sep 28, 2024
5
0
6
41
Hi, i keep getting this error message when trying to run the EA. What should i do?

Between, I's testing on a Cents account.

Screenshot 2024-09-28 220756.png
 

mcyk83

Trader
Sep 28, 2024
5
0
6
41
Could you please show the input parameters you are setting?
Hey thanks for reply. Here's the perimeters...

Sorry, uploaded the wrong image. This is the real one
 

Attachments

  • Screenshot 2024-09-28 223850.png
    Screenshot 2024-09-28 223850.png
    50.1 KB · Views: 1

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
Yeah, I'd tried all of the older version, still not working. I think I have to change my VPS subs.
The key is not to use the older version of the code. You just get the .ex4 of the TO 1.01 but compiled in an older MT4 Build. You then don't install the code on the VPS, just the .ex4. It should help the issue.
 

mcyk83

Trader
Sep 28, 2024
5
0
6
41
The key is not to use the older version of the code. You just get the .ex4 of the TO 1.01 but compiled in an older MT4 Build. You then don't install the code on the VPS, just the .ex4. It should help the issue.
Oh... now i understand. I will try it now