- Katılım
- 23 Eki 2020
- Mesajlar
- 1,826
Re: Formula Question · To: <metastock@xxxxxxxxxxxxx> · Subject: Re: Formula Question · From: "Barry Marx" <bmarx@xxxxxxxxx> · Date: Sun, 20 Feb 2000 21:23:32 -0500 · References: <NBBBJEOJKICGFFHPBAHKAEKPDGAA.hardy@xxxxxxxxxxxxx> · Reply-To: metastock@xxxxxxxxxxxxx · Sender: owner-metastock@xxxxxxxxxxxxx Below is a variation of the Chandelier Exit that I came up with. It doesn't solve the original question, but I like the way it plots better.It holds the highest value every time the stop moves up, and never moveslower unless the stop is hit, in which case its value is reset. - Barry | |
| |
Chandelier Exit Variation II Stop1:=If( PREV < L, {then} If(( H - 3*ATR(10) ) >= PREV, {then} ( H - 3*ATR(10) ), {else} PREV), {else (L <= PREV)} ( H - 3*ATR(10) )); Stop2:=If( PREV < L, {then} If(( C - 2.5*ATR(10) ) >= PREV, {then} ( C - 2.5*ATR(10) ), {else} PREV), {else (L <= PREV)} ( C - 2.5*ATR(10) )); StopVal:=If(Stop1>Stop2,Stop1,Stop2); StopVal; | |
| |
Source / From: |