Average loss of recent operations
-
Which block should I use to make sure that the Expert advisor will have a position at a different volume based on past losses that is, if in the past it has closed a series of operations which average is equal to X I would like it to increase the volume only for the next operation how can I do in short is an Expert advisor based on a cry for which it must consider the average of past operations and not the single previous operation
-
@luanainteglia You will need some variables for sure. How many closed trades should the EA look for?
-
The ea closes the positions making an average of six profits, if it closes with an average greater than 0 the size does not need to be increased, if the average of the closing of the last cycle is less than 0 an increase in size is necessary
-
@luanainteglia You can get that value number this way:
