Rank: Newbie
Groups: Registered, Registered Users Joined: 10/31/2004(UTC) Posts: 6
|
I'm hoping someone can help me with the formula to hold the price value when a specific event occurs. I'd like to identify the close price on the bar that breaks out to a new 2wk high (could be any period though) and I execute a buy. For example, if the close of the breakout bar is $20, and this bar triggered a buy, I need a variable or function that will stay $20, and that I can reference in another formula - regardless of subsequent price action. It needs to ignore any subsequent "breakout" bars until I'm no longer long a trade. The valuewhen function doesn't work (i don't think) because if the stock continue to move up, the nth occurance of a new high will keep ratcheting up, and I haven't been able to figure out how to make it dependent on whether I'm already in a trade or not. Any help is greatly appreciated!
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 10/31/2004(UTC) Posts: 6
|
Wabbit -- this looks like just what I was looking for ... thanks!!
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.