I am looking to create a very very simple strategy which looks at the first bar of the day and goes long 5 ticks above the high of the opening bar (when ever it may occur) or goes short 5 ticks below the low of the opening bar. Profit target is 20 ticks. Stop loss is 5 ticks below opening low if the position is long or 5 ticks above the opening high if the position is short. I tried creating this using the strategy wizard but does not look like it is possible. I am not too strong on hard coding and so I am having very hard time coding it. Can some one please help ? Or if there is an existing script, would greatly appreciate it if someone can point that out.
Thanks.

Comment