Hello, I am new to Mql5 and I have a question, I want to open a transaction in Nasdaq and Dow Jones indices, but I want to have at most 1 transaction open from each of them. For example, while the Nasdaq transaction is open, a second Nasdaq transaction should not be opened but the Dow Jones transaction should be opened. Can I do this with positiontotal? Or is there another way? Thank you.
- Does PositionsTotal() work across different EAs?
- increase the volume of signals
- Get open positions tickets based on the symbol
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Forum on trading, automated trading systems and testing trading strategies
Process control with PositionTotal
Ozgurozen, 2024.01.08 14:22
Hello, I am new to Mql5 and I have a question, I want to open a transaction in Nasdaq and Dow Jones indices, but I want to have at most 1 transaction open from each of them. For example, while the Nasdaq transaction is open, a second Nasdaq transaction should not be opened but the Dow Jones transaction should be opened. Can I do this with positiontotal? Or is there another way? Thank you.This is the English language forum so write/post in English please (use in-built online translation feature which exists on every post and during the posting process as well).
Alternatively, you can use the the forum in the other language, for example:
Yatırımcılar ve geliştiriciler için MQL5.community forex forumu


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