Once per minutes/bar issue
-
Dear Friends & @fxDreema ,
I have some conditions that trigger buy/sell. I set 'Once per minutes' block for 50 minutes on M30 chart and 80 minutes on H1 chart. But as you can see, condition is triggered before the time expires.
Same issue happens for 'Once per bar' block. Every time contions are met on the same bar is passed by the blocks. I countered this issue on M15 to Daily bars.
Since I create multi-time frame EAs, I set PERIOD in every available setup in conditions, such as candle open period M15 etc. When I had this issue I changed 'Once per bar' block to 'Once per minutes' which I believe uses a counter to re-pass if the conditions met. But what I see here is that, issue is not related to different time frame conditions.
I search if similar issues on the forum but no luck. Does anyone have any idea to fix this?

Regards. -
@paragorundu Hi!
Personally I use the "once per bar" with a suitable timeframe setting, always works with no errors..."Once per minutes" bases its calculations on 60-minute intervals, maybe that (somehow) causes your issue.
Check the info button on the "once per minutes" block:

-
Hi @roar,
Thank you for the great explanation. Name of the block made me think that the block will run once and wait X minutes to run again. The description within the block also says so or I understood that way. I now used translator to see if I get it as I read and yes, it translates what I understand

Thank you very much for your time and kind help.
I really appreciate it!
Best regards.
-
@paragorundu said in Once per minutes/bar issue:
Hi @roar,
Thank you for the great explanation. Name of the block made me think that the block will run once and wait X minutes to run again.
If that is what you want you should uset the 'On Timer' tab in the builder.
-
Hi @l-andorrà,
I can not relate using the 'On Timer' tab regarding to its description. I now changed blocks to use counters. I will reset counters after some conditions met and enable the block chain for the new trade opportunities.
Thank you very much for your time and kind reply.
Regards.