No more than one trade per bar
-
Hey guys
https://fxdreema.com/shared/mrc1YHLCdhow can i make it so trades will only be taken once per bar and not multiple trade on one big bar.

as soon as 1 trade is closed, it opens a new one even on same bar and i would like for it to wait till next one before opening trade again
-
@eli Do this:

-
This is even better, if your system allows it:

-
what is the solution here? to change the numbers?
-
@eli The "once per bar" block. As the name says, that block will limit everything below it to max 1 times per bar.
The numbers don't mean anything if all your logic is in one long string
-
Are you sure block 2 and 9 are correctly connected? I guess not.
-
Oh, @l-andorrà is totally right - I didn't see your shared
How "once per bar" works here:
- let's say a bar consists of 60 ticks ("events")
- orange will be active on tick 1
- yellow will be active on ticks 2-60
-
Hey guys
how to limit number of trades by bar on mlq5 fxdreema i tried " once per bar " but it does'nt work -
Can you please share the link to your project?
-
hello, im going to build an simple ea using SMA, how can i make this ea open trades when the bar opens?
-
@wensalz Can you please open a separate thread for your question? This one is dedicated to a different matter.
-
@l-andorrà
I am trying to make a SMA ea, I don't know what block to use in order to execute trade only in an open baror the bar opens. I try using the block "once per bar" but it execute trades even the bar is not yet finish.
Your guide would be much appreciated.
Thank you -
@l-andorrà
I would like to make an ea that execute trades when the bar opens. Do you have that in fxdreema services? -
As I said, please open a new thread for your request and I will reply there.
-
@l-andorrà
I am not sure if I connect it correctly. Also the trailing start, I want to start in candle close.