{Fixed Ratio Rise}
[B]Percent[/B] = 90%
{Trend Strength}
[B]SI[/B] = ADX(20) {Or any other indicator}
[B]Stoch[/B] = (SI - LLV(SI,Pds)/(HHV(SI,Pds) - LLV(SI,Pds)) {Stochastic osc of strength indicator...will give a value between 0 and 1}
[B]Entry Price[/B]
[B]Initial Stop[/B] = .9*Entry Price
[B]Price above entry[/B] =
If current close > entry price
Then Current close - entry price
Else 0
Holding Period = no of bars since entry
{Adjustment}
[B]Adjustment based on fixed ratio[/B] = Price above entry*Percent
[B]Adjustment based on trend strength[/B] = Price above entry*Stoch
Raw Stop = initial stop + adjustment factor
[B]Stop[/B] = Highest value of raw stop since [U]holding period[/U]
Stop