@joeDIAMONDS This is what you need to do:

@joeDIAMONDS This is what you need to do:

That will not work as you want because values for H0 and L0 are not fixed, but evolve in time. That will create different scenarios within the current candle. Would your strategy work on L1 and H1 instead of L0 and H0 instead?
@lucas-farias-de-almeida I'm here helping people for free, man! I'm not paid a cent for this and I have a life to live too. I can't be here all the time. 
This is what you need to do to store the correct lot size value (for buys only):

You'll have to create another variable for sells.
@lucas-farias-de-almeida This is the first step tp do. Change these blocks (including its numbers) as per this example here:

@EmJayPips In that case fxDreema cannot work on that, sorry.
@hossam_ebid By selecting 'absolute distance' yes. the block doesn't care with value is supposed to be the upper one and the lower one for the distance to measure. That means it will measure it wheter it is a bullish candle or a bearish one. Obviously you do not want that. You need bullish candles to be considered only on the left and and bearish ones on the right only.
You should contact the admin directly to let him know. He almost never reads the forums.
When I said the formula blocks had to be connected before the 'buy now' block I meant literally! They need to be connected one after the other between blocks 24 and 7. There must be one only 'stream' of blocks, and not independint blocks connected below block 24. 
@sktsec Interesting. I didn't know that.
@lucas-farias-de-almeida The first 2 options are very easy to do.
If you do them, I willl help you with the third one.
All those formula blocks should be moved to their current position to immediatealy above the 'buy now' block.
The problem is in blocks 12 and 21. You selected the Absolute distance option when it should not. Additionally, you are comparing candle ID 1 with other candles according to the 'Signal candle at' constant. I'm sure not all values will be valid there.
Sí. Es posible. Pero entonces el proyecto se complica más. La forma más sencilla es usar 11 bloques de condición especificando cada uno que la vela correspondiente esté como pides. Pero claro, si otro días quieres probar 20 velas en lugar de 11, tendrás que añadir más bloques.
@EmJayPips It is possible as far as the platforms used are MT4 or MT5. Otherwise, it will not work.
@FX-Gnosis In that case you willneed the formula to do that calculation and then using as many formula blocks as necessary. However, I'm not the guy knowing that formula. If you know it, I can help you to implement it, though.
Then the problem is with those 'bucket of trades' blocks. They work well on MT4 but not on MT5. It is a known bug. You will need to substitute them by pink 'for each position' blocks instead.
@Rajveer0990 This is the second thread you created for the exact same question. I replied to the previous one. Please don't duplicate threads.