time frame setting in "once per bar"
-
Please help me with a new question in detail:
What happens if:
- I run the EA built with fxdreema on M5 chart.
- under "on tick", I connect some blocks under "once per bar". The blocks under this "once per bar" is for example trend-filter-from-higher-time-frame (time frame all set to M30). The purpose is to save some computing resource, I use signal by closed candle (e.g. candel ID always 1) anyway.
- I set the "time frame" of this "once per bar" as M30.
So what happens when the EA is activated?
- it goes through the current M30 bar once (after some ticks maybe), so I will get the right trend from higher-time-frame. Right?
- the next execution is then somewhere in the next M30-bar? So the blocks under this "once per trade" are executed some every 30 minutes EXEPT the first round. Right?

-
Yes @haoglueck , I've done this too. Only that i just select any timeframe i want and the condition will work only within that current candle. I didn't set any boolean. To use it, select which timeframe to use. Don't wanna use it, just put it on current timeframe. That's all.
-
Thank you for confirmation bro!