I tried to stop it with loop (break) but it did not work 
Any other way to stop loop?
I tried to stop it with loop (break) but it did not work 
Any other way to stop loop?
FxDreema please help me how to use this block. I created this project:
https://fxdreema.com/shared/aaHBdtavb
I want in every bar to check last "Lookback" number of bars and count the number of bars fitting my bullish trend bad criteria (a bar has a higher high and higher low with respect to previous bar) But my bar count result is always "1". I tried several altertive ways to do this but always failed. I think my way to use Pass "n" times block is wrong, but what need to do?
Any help is appreciated 
Hi...
I designed following expert to get the statistics of different RSI levels with price. I want to write collected statistics to file but i am stucked.
This code works but for every row it creates a new file:
https://fxdreema.com/shared/qEYD94zcc
Every file put file name one more .csv name...
Please help to collect all records in one file...
thanks and best regards
Hi,
If you don't mind I have a beginner question.
I am trying to calculate 1.618 Fibonacci Time Extension of last "n" period candles highest and lowest price times.
Variable A = Highest Price Candle ID
Variable B = Lowest Price Candle ID
Var C = Var A - Var B ( A>B)
Var D = Var C * 1.618 (calculated with formula window)
Var E = round (Var D) --> I want to round Var D value to nearest integer. For this step I think I must use "Custom MQL Code Module"?
I tried "E = MathRound (D);" code in Custom MQL Code window but i got error messages like this;
Compilation errors
'Double' - undeclared identifier
'E' - undeclared identifier
'E' - some operator expected
'D' - undeclared identifier
'D' - some operator expected
https://fxdreema.com/shared/kqoOXuFcc
Please help 