check loss of last 24 H
-
@maurysvva could you create something to handle this? i need it too
-
Hi,
I'm trying to set up a rule but I'm not confident what i'm doing
I need to check losses in the last 24 hours and pass the next block only if losses are less than a balance % value
I know, probably it is needed "For each closed Position", "check age" blocks, but how to connect ?
I was thinking that "for each position" loads a number of closed positions, but actually it would be requested to load only the necessary positions for age...the number of positions is not well know...Thanks,
Maurizio.
-
Maybe something like this: https://fxdreema.com/shared/zG9ViAGob
This "break" block is to stop the loop there (when the trade that is loaded is too old), because I set it to loop for 100 history positions.
-
Thanks!
Some good example of blocks that I didn't know well (modify variables and loop break)