Thursday
Dec122013
referencing a previous bar to make a comparison
Just getting started here in trying to write a strategy and feeling a little limited with the possibilties but hopefully i just have not explored enough. i want to make the following comparison.
I want to create a signal when the close of a 1 minute bar trades above the high of the previous 60 minute bar. I want this to be one of the rules. I have another rule as well.
Or even simpler, I want the high of the previous 60 minute bar to be my stop price to buy, meaning if it trades back up to that price, I want to buy at this price, assuming my other rule has been satisfied.
Really confused as to how to do any of this?


in
Strategy

Reader Comments