This is more of a heads up when referencing HTFs in LTF codes.
PRT tech support were no help with this issue whatsoever and dont seem to know the quirks of the system.
I have a program running on 30 second chart referencing the 4hr trading signals generated within the code.
The program was working and I didnt note any issues, but when I re-uploaded with some progression of amount coding I noted signals were not triggering the program, moreso because I didnt take note previously I think.
Tech support stated there were no trades triggered, but they backtested with a small amount of units and I noted that more trades appeared when a longer period of time had passed, so if I backtested 6 months the last month would show trades, but if I backtested a month it would not.
So now I figured that the 4hrly HTF would need a certain amount of data to run, and so wondered whether this was an issue. I preloaded 22000 bars and it has taken 1 month to trade the triggers generated.
On backtesting if I change the preload bars to higher amounts the trades get triggered, but if using default 2000 they dont.
So the conclusion is that if using LTF trigger charts referencing HTF triggers for the trade or reference material, it follows that you have to preload enough bars to allow the data to be present when the program is live.
I’ve not clarified how much – but backtesting seems to allow program triggers with 66000 preloaded bars when backtesting for 1 month, but I haven’t tested this on a live prgram just backtesting. Using 22ooo preloaded bars I waited 1 month for the trigger to actually trigger a live trade on the program. this is reflected in backtesting too, and default 2000 reduces to what I experienced live, but the trades increase if I preload 66000 bars instead on backtesting.
PRT tech support don’t get this at all, they never get teh anomalies I come up with to be honest as I see comparisons they dont see, and I have had uninformed support around it really from PRT support themselves not IG support
Historically I’ve also had programs not triggered across different accounts where the program is the same, but someone elses account doesnt trigger while others do, I believe this is possibly latency PRT end.
So this was on 30 second chart referencing 4hrly triggers. Go figure! It is what it is so work with that knowledge in-hand…