How to use a block in Builder only on Entry Signal or only on Exit Signal
2 replies
codeowl
4 years ago #278048
Hi there,
I have created a very simple custom block:
Bar[0] hour = 09
In Builder I have two charts, one daily and one 5 min. I want Builder to target all indicators and signals at the main daily chart, but use my custom block on the 5 min chart as this will have the resolution to say only enter if it is 9:*am.
I set the 5 min chart to have only a single entry condition and I set the custom block to use only that chart. But it appears that all other blocks use all charts, and lots of blocks have multiple sets of parameters and there doesn’t seem to be an efficient way to set all the other blocks to say only use the main chart.
What is the best way to do this?
Also, if you have multiple charts, and you use Trading Options like Exit on Friday at specific time on the Trading Options tab under Full Settings in Builder, what chart does this target?
Am I going about this the right way? I want to trade on a daily timeframe but I want to only enter in the first hour of the market and I want to exit at 4:55 pm on Friday (unless of course and exit signal gets me out before then). As I understood it I couldn’t use 4:55 unless I had the 5 min resolution in my data, but I want to trade a daily timeframe and so to do this I need to use multiple charts.
What is the best way to achieve my goal?
Regards,
Scotty
0
Tomas Matejka
4 years ago #278064
Hello,
can you attach your SQX project file? I will check the configuration. Alternatively you can send to [email protected] or use the private section of our forum
0
codeowl
4 years ago #278073
Tomas,
Thanks for the reply. I think I have worked it out. I need to do it through AlgoWizard and create a Template. Then I can hard code the time conditions I want for entry and exit and create Random Conditions for Builder to data mine on.
One question I do have though is on a Strategy that has multiple charts, what chart do the options on the Trading Options tab apply to? If you configure a time based option that requires 15M data and you have two charts D1 and 15M, will it automatically pick the 15M one?
Regards,
Scotty
0
Viewing 2 replies - 1 through 2 (of 2 total)