Please provide more details. You did not provide log output or mention any errors in the logs either.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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, a stock has three different maturities: January 31, February 28 and March 31.
"January 31 2023" symbol = "F_AKBNK0123"
" February 28 2023" symbol = "F_AKBNK0223"
" March 31 2023" symbol = "F_AKBNK0323"
I want to do : Get bid price F_AKBNK0123 and Get ask price F_AKBNK0323 if the two prices are equal, sell 1 F_AKBNK0123 and buy 1 F_AKBNK0323.
How can I do that? I used the example below to try it, it brings the price of that symbol to whichever symbol I throw, but it does not bring the price of the other symbol. Thanks for your help.