Acting on the first 5 min bar of the day
Author: MikeyRules
Creation Date: 7/25/2008 6:21 AM
profile picture

MikeyRules

#1
I am interested in using the first 5 min (or perhaps 10 min) bar of the day as the set up for a trading idea.

The basic logic would be: on the opening bar of the day, if the open is the low for the bar, buy at market on the next bar, sell at close of the next bar. I would like to test this basic concept but am not sure how to run a test in WL 5 where I just consider the first bar of the day for the test. Any ideas? Thanks very much!
profile picture

Eugene

#2
CODE:
Please log in to see this code.