Time base rules not working
2 replies
codeowl
4 years ago #278186
Hi there,
I created a template with two charts. The main chart was a 5 min chart, and the sub chart was a daily.
I put a time based rule on the entry & exit for the 5 min chart, and a Random Condition on the entry and exit for the daily sub chart.
I loaded this template into Builder and put no conditions on main 5 min chart, and put 1 condition for entry and exit on the daily sub chart.
I put no Trading Conditions on, and selected some blocks, Enter at Stop and some exit types.
When I do the build and have a look at the strategies built, there are a stack of them that are longer than 5 days by a substantial margin, some of them are hundreds of days long.
I then created a second template, the same as the first one but I removed the time based rules, so it only had the Random Conditions on the Daily sub chart.
I loaded this into Builder and left everything the same, and added the Trading Options to replace the time based rules I had in the template:
I ran the build but got the same problem. There are a stack of strategies that go longer than 5 bars.
I had a look at the data to see if missing data might be the problem, but this does not appear to be the case:
What am I doing wrong here? For some reason, no matter what I do, the time based rules are not respected.
Regards,
Scotty
0
Tomas Matejka
4 years ago #278210
Scotty,
thanks for your post, I will check the files and let you know
1
Tomas Matejka
4 years ago #278239
Hi,
I see no trading 18th April 2014 probably because around the date there is Good Friday holiday and the market was closed. Nowadays futures trade to about 13 o’clock US CT
Also @MNQ started trading 2019 so I would rather use @NQ data which is probably what you have imported as @MNQ (with 10 times less tick size / point value)
Also there are longer trades around Christmas. No trading on Fridays happens as well .. that might be the issue in your case
Once the strategy cannot exit this Friday will hold until the very next trade-able Friday and close it
0
Viewing 2 replies - 1 through 2 (of 2 total)