![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
NO BLEEP !!!!!!!!!!!!!!
Once again, read the post carefully:
What else needs to be changed in the settings if these parameters have changed (marked in red and blue is the default setting)
extern bool NewBuy = true; // New BUY trade (allowed/forbidden)
extern bool AddBuy = true; // Breakeven BUY (allowed/forbidden)
extern bool AllBuy = true; // Support for foreign BUY orders (allowed/forbidden)
extern bool NewSell = true; // New trade SELL (allowed/forbidden)
extern bool AddSell = true; // Breakeven SELL (allowed/forbidden)
extern bool AllSell = true; // Support of alien SELL orders (allowed/forbidden)
extern string Period_ = "M1-1,M5-5,M15-15,M30-30,H1-60,H4-240"; //,1440,10080,43200";
extern int OpenPeriod = 1; // Chart period to open trades
extern int SignalPeriod = 1; // Chart period to receive signal
extern double OpenLot = 1,0; // Initial trade lot (was 0,01)
extern int DigitsLot = 2; // Size of lot
extern string MM_Type = "0-averaging, 1-martingale";
extern int MMType = 1; // MM Type 0-averaging, 1 multiplying by EXP
extern double EXP = 1.1; // Averaging multiplier
extern int TakeProfit = 100; // TakeProfit (was 10)
extern int OrderStep = 100; // Minimum order opening step(was 10)
extern int Slip = 30; // Price slippage (was 3)
extern int MaxTrades = 20; // Maximum number of open orders in one direction
extern int MagicNumber = 1234; // Magic orders
What should be changed to compensate for the multiple step of the orders?
For the ones in brackets
The step of compensation was multiple, for example 2 orders at 0.01 SELL
It put one 0.02 for BUY to compensate
Where and what should I change in order to make it
at start not 0.01 but 1.00
He also set compensations in multiples
Against say
2 orders to SELL at a rate of 1.00
Compensated them with one order 2.00
WHERE TO CHANGE?
Is this question so complicated? For those who understand
ATTENTION and then answer, do not rush to write
extern double EXP = 1.1; // - Averaging multiplication factor
If the minimum lot is 0.01 and the default multiplicationcoefficientis chosen, the value of the next lot is adjusted for the nearest whole lot, i.e. 0.01 х 1.1 = 0.011, but the lot 0.011 does not exist, the nearest value 0.02 is set automatically.
Es?
at a lot of 1, and coefficient. 1.1 - the next ones will be 1.1; 1.21...
if the lot is 1, and the coefficient. 2 - the next ones will be 2; 4; 8...
Is there any answer to this?
What needs to be changed in this advice to make it behave accordingly?
Maybe it's a different one. I'm just not in the loop.
A concrete answer on the principle of MONAH in KABAC FOR VODKA
And not by constructing mathematical theories ))))))
extern bool NewBuy = true; // New BUY trade (allowed/forbidden)
extern bool AddBuy = true; // Breakeven BUY (allowed/forbidden)
extern bool AllBuy = true; // Support of foreign BUY orders (allowed/forbidden)
extern bool NewSell = true; // New SELL trade (allowed/forbidden)
extern bool AddSell = true; // Breakeven SELL (enabled/disabled)
extern bool AllSell = true; // Support of alien SELL orders (enabled/disabled)
extern string Period_ = "M1-1,M5-5,M15-15,M30-30,H1-60,H4-240"; //,1440,10080,43200;
extern intern OpenPeriod = 1; // Chart period for opening trades
extern int SignalPeriod = 1; // Chart period for receiving signals
extern double OpenLot = 0.01; // Initial trade lot
extern int DigitsLot = 2; // Size of lot
extern string MM_Type = "0-averaging, 1-martingale;
extern int MMType = 1; // MM Type 0-Averaging, 1-Multiplying
extern double EXP = 1.1; // multiplication factor for averaging
extern int TakeProfit = 100; // TakeProfit
extern int OrderStep = 100; // Minimum order opening step
extern int Slip = 30; // Price slippage
extern int MaxTrades = 20; // Maximum number of open orders in one direction
extern int int MagicNumber = 1234; // Magic orders
Initial lot 1.0 you do NOT need yet!!!!!!I'm shocked. Looked at the visualisation - a horror film.
I don't want to swear, but it's hard to get far with this kind of averaging - lots of extra losing orders.
The rules of averaging are broken - the entries are terrible - you have to take money from someone. From whom can they be taken, for example - at extrema?
In addition, it seems that the EA does not take into account the strength of the market for averaging at all, which leads to losses.
But, if my opinion is of interest - always at your service.
)
Yep....
I understand...
For 0.01 I got it.....
But could you tell me what to change in 0.1 and 1.0?
But it's just for theory at least.
Can you just tell me what needs to be changed in these cases?
That's not the situation here...
The bets are already open, you see?
I want to correct them with the help of the advisor, i.e. I need to know NOW what to change in it for 1.0 bet to try to correct the situation... And then I'll change it, POTUS....
So tell me where to put the initial lot of 1.0 and 0.1 for 0.01 I ALL OVERALL