Issue with "Write to file" block?
-
Hi, tell me if you have the same problem, every time I place a "write to file" block under a "condition" block, the condition is being ignored and the file is written every tick; if I place it under a "time filter" block instead, it works like should
-
are you sure the condition is not true all the time?
Try adding Trace Activity block to TRUE outcome to see the activity in the block. -
@william29 I created a test project for the purpose
https://fxdreema.com/shared/9onLjKlEAnd here is the screenshot, test with one day, 2 activity on chart and more than 500 lines inside the file

-
i cant duplicate the issue since i don't know where the excel file should be.
you said time filter block worked.
try this

-
@william29 Under "Every n ticks" the number of written lines is huge, so under a condition the behavior is different
-
try counter

alternatively you can use counter with turn off blocks block.
a bizarre issue for sure.
-
@william29 Yes with counter works, thanks for the help.
Can you check this @FXDREEMA