Forums ProRealTime English forum ProOrder support Closing Price January Higher than December Close Reply To: Closing Price January Higher than December Close

#232422

Hello @JS!

i have checked the code because in manuel backtesting I get different entry points.

So the problem is, that the code from you only buy when the day >24 from each month is over the close level of December of the previous year. That is a little bit different from my idea.

 

My idea was if  one close price between 5 and 10 january is higher than the close price of the last day of the december than you can buy every month after day 24 if you are not on the market.

So the Time between 5 and january is the condition for every month buy

So the code has to say:

SUP Close DEZ 2023 (4769,83)

9.1. Close (4756,5) = wrong (Day=6)

10.1. Close (4783,45) = True (DAY=7)

..

so in 2024 i can buy on 25.01., and wenn i have a exit after that time, i can buy again on 26.2. and on 25.3 and so one.

Thank you sir