Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 190

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
Fibo levels with this object cannot be made in different styles and colours for each line. Draw separate lines if you want a rainbow.
Too bad(, thanks)
Vitalie Postolache andVitaly Muzichenko told me where to get the information! Everything was easy. I should have divided the currency amount by the point value. 600/MarketInfo(Symbol(),SYMBOL_POINT) Thank you.
It's the wrong decision. It's like adding thin and soft and expecting the output to be transparent.
The point value (tick) is not what you wrote (there is no such query as MarketInfo(Symbol(),SYMBOL_POINT) at all), but MarketInfo(Symbol(),MODE_TICKVALUE).
You should divide sum in currency by lots and tick value.
It's the wrong decision. It's like adding thin and soft and expecting the output to be transparent.
The point value (tick) is not what you wrote (there is no such query as MarketInfo(Symbol(),SYMBOL_POINT) at all), but MarketInfo(Symbol(),MODE_TICKVALUE).
We should divide the currency amount by lots and tick value.
I don't know. It all shows and closes by this principle. Tried addingMODE_TICKVALUE and it shows the same thing. Ok, I'll replace it with your suggestion)
Hello again. Can you tell me how to change the code of a known programmer. At the moment this owl closes about one trade per second. Would like to change to close trades instantly as it crosses a certain profit regardless of positive and negative trades.
Hello again. Can you tell me how to change the code of a known programmer. At the moment this owl closes about one trade per second. Would like to change to close trades instantly as it crosses a certain profit regardless of positive and negative trades.
MT4 can't close all at once, only one at a time. Switch to MT5 and it closes all at once
Well it's natural that it closes one trade at a time) It's just that one trade is closed about once per second. It's a very long time.
I understand that when you close one trade it checks all the code to close the next one.
Well, it's natural that it works in turns) It's just that one trade is closed about once per second. That's a very long time.
I understand that when you close one transaction it checks all the code to close the next one.
Try to comment out the line and let one function run