candles count
-
how to calculate candles between two dates eg.1.01.2021 to 31.12.2021 in 1hr timeframe,1day timeframe,bassicaly CURRENT TIME FRAME
-
This is an interesting question. I'm also interested in other's suggestions. Honestly I'm not completely sure it can be done without custom code.
-
iBarShift() is an important function that fxdreema should include in the drop-down menus.
Here's the raw code:iBarShift(NULL, PERIOD_D1, D'2021.12.31 00:00') - iBarShift(NULL, PERIOD_D1, D'2021.01.01 00:00')
-
Agreed. I hope the admin can read this!
-
@roar i tryed but candle counts not displayedhttps://fxdreema.com/shared/EmUAJ4b9c
-
Do it like this. The custom code block doesnt do anything if you dont save the result.
Oh, and dont put semicolon in this case.

-
THANK YOU FOR SPEND ME UR VALUABLE TIME.SORRY I TRYED BUT NOT WORKING https://fxdreema.com/shared/G2BKlNK1c
-
@priyaavatar you have to put a "label" name in the comment block in order to show the result
-
its worked,one more question how to set current time frame,i changed d1 to h1 but result not shown errors coming
-
<<<<<how to set current time frame,i changed d1 to h1 but result not shown errors coming>>>>>
@priyaavatar i don't know, sorry, this is a question for @roar
-
Replace PERIOD_D1 with PERIOD_H1
-
It's worked .any input is there when I enter ea.that means constant