Questions from Beginners MQL5 MT5 MetaTrader 5 - page 944
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, Could you please advise me if I set my EA to, for example, 10 currency pairs?
Can you set the maximum number of pairs on which you can open?
In other words, if advisor is set on 10 charts of different pairs and in the settings it is said that the maximum number of pairs - 5.
And the EA will work only on the first 5 pairs and the other 5 pairs will be ignored?
In general, it is possible?
If the code is in .mq format, then it is possible. Not to be confused with .ex
Good day to all
I have the following question, I would like to ask you for some help in clarifying the situation.
The robot netmaker places a grid of limit orders ORDER_TYPE_BUY_LIMIT(also ORDER_TYPE_BUY_STOP upwards) at startup. The grid step is 1, take 0.5, and volume is 1 lot. The problem is that I am starting to open a long position once (I bought at 10 and set the TP at 10.5) without taking the position, and then I am starting the second time (I bought at 9 and set the TP at 9.5) and I have 2 lots. Then the price starts to come in and all the volume is taken to 9.5!
Orders are placed by the structure.
I need every order to be at one of my own tees. I entered at 10 and waited for a price of 10.5.
And not the entire volume at the first tee.
I should adjust something with the structure?
Good day to all
I have this question and I need your help in clarifying the situation.
The robot netmaker places a grid of limit orders ORDER_TYPE_BUY_LIMIT(also ORDER_TYPE_BUY_STOP upwards) at startup. The grid step is 1, take 0.5, and volume is 1 lot. The problem is that I am starting to open a long position once (I bought at 10 and set the TP at 10.5) without taking the position, and then I am starting the second time (I bought at 9 and set the TP at 9.5) and I have 2 lots. Then the price starts to come in and all the volume is taken to 9.5!
Orders are placed by the structure.
I need everyone to take out at their own tees. I entered at 10 and waited for the price of 10.5.
And not the entire volume at the first tee.
Do you need to fix something with the structure?
Use "Hedge" account type, not "Netting".
To change it, you have to re-MT and tick the box, Use hedge. Or can I change the existing one?
Redo it and tick the box ...
I am asking the same question again, has anyone implemented such a system of TPs forNetting accounts? Maybe there is someone on the forum who has done it?
Forum on trading, automated trading systems and strategy testing
Libraries: Virtual
fxsaber, 2018.11.15 17:16
On Netting a position always has only one TP. So in particular netting TSs where each order in the netting has a different TP will not work as intended.
Below is an example of how it works.
This is a very simple idea. We launch TS in a virtual one and simply synchronize it in the real one. You don't need to change the TP source (System function in the example).
Afternoon. I wanted to make an mqh file where the calculated arrays will lie until I close the terminal and re-download them only when there is a big time gap (3600 in my case). But if I compile the indicator, the mqh file also resets all arrays. How can I do it, so I can do everything with indicator and compile it, but mqh file is not reset until the terminal is closed?