Count "n" bars, then pass
-
hello
could you please help me how make something like "if trade is running count "n" bars and then pass"
thanks for any help -
Depending on the situation:
- Once per bar - If trade... - Count n...
or - Once per bar - Count n... - If trade...
- Once per bar - If trade... - Count n...
-
Excuse me my stupid question and my bad english but how i know when "once per bar" pass through ... open , close or middle candle period ?
It's hard to think(to me) same time candle , timeperiod , tick and EA program that run loop many times per second.
I mean at i like eliminate "ghost" signal comparing last and next candle(some value) use to "delay" block with 1 or more candle properties.
Huh .. how to say .. i mean at i like re-check some values between last and next candle(s) to go ahead ... maybe there is easy way do that
but i dont notice yet(novice) ... Anyway , fxreema is genius and cheap tool making ea , also it makes clean code , no compling erros , cheers. -
Try this and you will see when Once per bar passes. It's when a new candle is created, because the block is executed on every tick (it's under "on Tick" event) and it checks if the current candle is new for the block.
Also, right-click on it and hit "Information". Well, this seems to not working on the shared project, but you can do it in your profile.
-
Is someone know why it doesn't work http://fxdreema.com/shared/7clrYFewc right side with counter
Many thanks for any help -
To say why something does not work we must know how it should work. In the case I don't know what is the idea. But nevermind, to check if and when any block passes, use "Draw arrow" - this is the simplest way that I often use.
-
I don't know why when trade is running and block 20 is pass and block 19 is pass after 34 bars trade is not closing and changing for the opposite trade
-
I used arrow and problem is with no cover signals from blocks 20 and 19 , do you know how I can fix this problem
thanks......
no cover.PNG -
What block does not work as expected?
-
block 19, it give me only one tick per all period witch I need (in this time it is m15) so I need something what after "n" bars will be active all the time
-
I guess this is what you want to do (see propertied of 9 and 11):
http://fxdreema.com/shared/KsGEmGsad -
other things I cannot find answer what for is option "change status to" and what parameters I can write there
-
This changes this text on the chart that normally says "Working".
-
thanks for all it working perfect but at this moment I don't know how but I will find out
