Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 555
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
I've got a lot of smart guys to build, so are we going to play catch or are we going to get busy?
Don't be rude, smart-ass. You are being asked the right questions. How do you imagine such an indicator would work? You enter the data, it's counted. You forget to enter it, the hell with it, we won't count it... Right?
If I had imagined it, I would not have come to you, smart guy. What do you mean you forgot to enter the game or you just want to talk about distractions?
You can't even articulate what you want. Hence the misunderstanding of the necessity of the questions. How are you going to write code then?
we will not engage in any prevarication as to how much such a job would cost
Hi guys. A question has arisen. Except for(int i=0;i<OrdersTotal();i++) and for(int i=OrdersTotal()-1;i>=0;i--) there is nothing? If so, please tell me which ones.
To choose from https://docs.mql4.com/ru/basis/operators
1 - https://docs.mql4.com/ru/basis/operators/while
2 - https://docs.mql4.com/ru/basis/operators/dowhile
If of the for variety, you could write like this
To choose from https://docs.mql4.com/ru/basis/operators
1 - https://docs.mql4.com/ru/basis/operators/while
2 - https://docs.mql4.com/ru/basis/operators/dowhile
If of the varieties for, you can write like this
THANK YOU!
Do you guys know where to find or help me to fix trailing stop, which works this way:
For example, an BUY order with TP = 100 and SL = 200 was opened, and when the price went to BUY and passed 50 points, then SL became the opening price, while TP was moved to 50 points and so on constantly????
int cnt = OrdersTotal();
int lMinProfit = 0; // Min. pips
int lTrailingStop = 40; // Trailing position level (the number of points from the previous SL distance)
int lTrailingStep = 20; // Trailing stop level (the number of points after which it will trigger)
How do I get the CPU ID?
I'm defending, I got the HDD ID, but I can't find the CPU ID :(