xmas holiday - no trade filter - custom code
-
I have a Question. Can someone help my?
-
Is your question related to this thread? If not, please create a new thread.
-
yes it is. Si es
-
Ok. Please go on. What do toy exactly need?
-
I would like not to have to change the year manually in the constants every year, but rather just store the month and the day as a fixed value or, if necessary, as a constant.

-
@Alex-13 You can do it this way:

-
pero tendre que segir entregando los anos?
No se podria cambiar esta parte del Code?TimeToString(TimeCurrent(),TIME_DATE)
But will I have to continue giving the years?
Couldn't this part of the Code be changed?TimeToString(TimeCurrent(),TIME_DATE)
-
Because there is no shift in the time filter this can be difficult, you can though create a variable allowing this to happen: https://fxdreema.com/shared/UEjVEp7D
-
@Alex-13 En ese caso tendrás que hacerlo como recomienda jstap.
-
e encontrado una solución. Si meto 2000 como numero enverde el 31536027 y no presto atención a lo que está escrito como comentario en la esquina superior izquierda, funciona.
I found a solution. If I enter 2000 instead of the number 31536027 and don't pay attention to what is written as a comment at the top in the left corner, it works.
https://fxdreema.com/shared/vTdQQsJAd
Thank you both, you can always solve everything very quickly and are always very helpful. Thank you very much both of you
Gracias a vosotros. sois espectacular
-
You are welcome, I am glad you got it working. 31536027 is the number of seconds in something, but I am not sure what it was
-
@Alex-13 Felicidades.
