function in the onTimer event.
I run my
mql4 topic in mql4 section of the forum please.
Marth Nataka
With respect... you should rather ask someone that question when you are lying down on a long comfortable couch... You should not be programming if you need to ask that question....
But I'm interested... what are you trying to do exactly...?
MikeT:
Close the last trade at the open of the next
Marth Nataka
With respect... you should rather ask someone that question when you are lying down on a long comfortable couch... You should not be programming if you need to ask that question....
But I'm interested... what are you trying to do exactly...?
The requested price is not or no longer valid or the bid and ask are mixed up.
Marco vd Heijden:
The requested price is not or no longer valid or the bid and ask are mixed up.
hmmm,The requested price is not or no longer valid or the bid and ask are mixed up.
I know for sure the bid and ask prices arent mixed up. Im grabbing the requested price using MarketInfo(OrderSymbol(),MODE_BID) and MarketInfo(OrderSymbol(),MODE_ASK) so I dont know why I am still getting this problem. The problem certainly lies within the TradeCloser function() since I get the error
EURUSD,M1: OrderClose error 138
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register