shaldar 1 posts msg #55815 - Ignore shaldar |
10/18/2007 6:38:26 PM
I am creating a "trailing stop" indicator similar to the Chandelier Exit - except this one ratchets up (and never down) for every 0.5 * ATR movement of the closing price (like in turtle trading).
My challenge is in ratcheting up the stop, which involves comparing today's computed stop (close - 2.5*ATR) with the previous computed stop.
How does one keep the previous computed stop persistent? Re-computing the previous stop using a bunch of "1 day ago"s will not work because of it's ratcheting nature.
Any ideas, hints, examples?
TIA - shaldar
|