Basic Search

 

 

 

We speak
 

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?

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>