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

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
What additions I wanted to make:
1. 1st open price - (5) above (75) and (85) + MACD bar opened above 0- 1 out of 4 confirmations;
2.The opening price of the 2nd candle - (5) over (75) and (85) + MACD bar opened above 0- 2 out of 4 confirmations is;
3. The opening price of the 3rd candle - (5) over (75) and (85) + MACD bar opened above 0- 3 out of 4 confirmations is;
4.Opening price of the 4th candle - (5) over (75) and (85) + MACD bar opened above 0- 4 out of 4 confirmations yes- Open buy trade on the same candle (4th).
I'm with these settings - tried to make an indicator (RED AND BLUE)
compared to other indicators - they all have the same theme
Then find the opening prices min/mac, add them and divide by 2. If you buy, add points*Points to the result,
and if selling, subtract.
Makar if you can explain to me in more detail: Opening price of what????
Makar if you can explain to me in more detail: Opening price of what????
Opening price of maximum and minimum order
Opening price of maximum and minimum order
I wonder if the step between orders "Dynamic" changes depending on volatility?
I wonder if the pitch between orders "Dynamic" changes depending on volatility?
I wonder if the pitch between orders "Dynamic" changes depending on volatility???
Or does that have nothing to do with it???
I don't understand the question.
It is the same as counting the average price but including the lot
Or does that have nothing to do with it?
You have gone off the original topic!
You wanted a certain "figure" in points from the breakeven point to close the orders with the maximum and minimum ticket.
So, you find the open prices of these orders, add them and divide by two - this will be the price to which you should add or subtract points
You have strayed from the original topic!
You wanted a certain "figure" in points from the breakeven point to close the orders with the maximum and minimum ticket.
So, you find the open prices of these orders, add them and divide by two and this will be the price you have to add or subtract points from.
Makar, I got it. You should only use the weight coefficients of min and max lot sizes i.e. you have to make parallel calculation according to the calculation principle and the principle described below. I think it is not reasonable.
My question was simple: how to specify min/max orders to be closed after the breakeven point instead of profit in currency, after a certain amount of pips
.
Yes Makar, I have already understood. Only it should be counted taking into account the weight coefficients of min and max lot size, i.e. it should be counted in parallel according to the principle of calculation and according to the principle mentioned below. I think it is not reasonable.
My question was simple: instead of profit in currency you can specify that the min/max orders will close after the breakeven point after a certain amount of points
.
Do the same, but only for "max_ticket" and "min_ticket".