Forum on trading, automated trading systems and testing trading strategies
William Roeder, 2017.11.09 17:55
You buy at the Ask and sell at the Bid.- Your buy order's TP/SL are triggered when the Bid reaches it. Not the Ask.
- Your sell order's TP/SL will be triggered when the Ask reaches it. To trigger at a specific Bid
price, add the average spread.
MODE_SPREAD (Paul) - MQL4 and MetaTrader 4 - MQL4 programming forum - Page 3 - The charts show Bid prices only. Turn on the Ask line to see how big the spread is (Tools -> Options {control-O} -> charts -> Show ask line.)
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
Hello folks,
I started recently to study MQL5 , I am developing an Expert Advisor for Forex and I am having the following problem:
2019.11.18 21:04:52.205 2019.11.13 22:24:25 requote 1.10046 / 1.10049 / 1.10046 (instant buy 0.01 EURUSD at 1.10046 sl: 1.09996 tp: 1.10096)
2019.11.18 21:04:52.205 2019.11.13 22:24:25 requote 1.10046 / 1.10049 (instant buy 0.01 EURUSD at 1.10046 sl: 1.09996 tp: 1.10096)
2019.11.18 21:04:52.205 2019.11.13 22:24:25 CTrade::OrderSend: instant buy 0.01 EURUSD at 1.10046 sl: 1.09996 tp: 1.10096 [requote (1.10046/1.10049)]
The first order is sent without problem but the following ones are not.
The code is below, remembering that I just practing yet:
Thanks guys.