check age
-
I'm trying to find the answer from this forum but couldn't.
I'm curious is "check age" block also include weekend (when market closed) as part of calculation?I worry it calculates and include weekend which doesnt make sense for me because if i have logic "close trades if floating more than 24 hours" and trade was opened on friday night. it means it will close trades on monday morning at beginning of market.
any clue on how "check age" works?
thanks
-
Yes, it includes weekends. I think I can add some code to exclude the weekends, at least I can try.
-
You know what, it turns out that I already wrote this code, but I never uploaded it. I remember that we were talking with someone about this problem some time ago and I wrote everything, but I forgot why I decided to not upload it. Well, I didn't rejected it as well, so now I uploaded it. I hope that I'm not missing something important and this will not break someone's rules.
-
Hi @fxDreema
We were discussing that on this post
https://fxdreema.com/forum/topic/6346/position-s-expiration/6
-
@fxdreema that is awesome! thanks so much.
-
@fxdreema can you make it as option to include/exclude weekend in "check age" block?
-
Now my question is why, because weekend days are not supposed to be there, markets don't work Saturday and Sunday. But yes, sometimes those days appear on the chart, I can see that. I think that on Monday some data is filled for the last day or two, but not always.
-
@fxdreema can you please add weekends to check age some of us trade on weekends with deriv broker trading synthetic indices.