PureBytes Links
Trading Reference Links
|
Here it is in full as supplied to me. It is part of an exit strategy
which you can adjust to your own trading style and comfort levels.
Ian
Chandelier Exit
HHVDays:=Input("Days Since Trade Opened",1,300,1);
ATRDays:=Input("ATR Days",1,30,10);
ATRHighMult:=Input("ATR Multiplier From High",1,5,3.0);
ATRCloseMult:=Input("ATR Multiplier From Close",1,5,2.5);
HHVStop:= HHV(H,HHVDays) - ATRHighMult*ATR(ATRDays);
HighStop:= H - ATRHighMult*ATR(ATRDays);
CloseStop:= C - ATRCloseMult*ATR(ATRDays);
TodaysCalc:= If(HighStop > CloseStop, HighStop, CloseStop);
TodaysStop:= If(L <= PREV, TodaysCalc, If(HHVStop < PREV, PREV,
If(HHVStop >
C,PREV,HHVStop)));
>From: whardy@xxxxxxx
>Reply-To: metastock@xxxxxxxxxxxxx
>To: metastock@xxxxxxxxxxxxx
>Subject: RE: Fast Chandelier Exit
>Date: 17 Apr 2000 08:01:47 -0600
>
>What does the Chandelier Exit tell you? Is this part of an exit strategy?
>Is there more to this
>formula that what you have written there?
>
>Thanks,
>
>
> > ** Original Subject: RE: Fast Chandelier Exit
> > ** Original Sender: "A.J. Maas" <anthmaas@xxxxxxxxx>
> > ** Original Date: Sun, 16 Apr 2000 18:09:02 -0500 (CDT)
>
> > ** Original Message follows...
>
> >
> > vPrev:=PREV;
> > Ndays:=If(Cum(1) < 50,Cum(1),vPrev);
> > Ndays2:=If(Ndays>0,Ndays,LastValue(Ndays>0));
> > Ndays2
> >
> > Regards,
> > Ton Maas
> > ms-irb@xxxxxxxxxxxxxxxx
> > Dismiss the ".nospam" bit (including the dot) when replying.
> > Homepage http://home.planet.nl/~anthmaas
> >
> >
> > ----- Original Message -----
> > From: Dr. R.BHANJA
> > To: metastock@xxxxxxxxxxxxx
> > Sent: zondag 16 april 2000 19:25
> > Subject: Fast Chandelier Exit
> >
> >
> > On February,18,2000 there are some messages regarding using of vPREV
> > function for Fast Chandelier Exit. I was trying to test it in some of
> > programs. But I could not. Can any body give the solution. I took the
> > example in this way
> > vPrev:=PREV;
> > Ndays:=If(Cum(1) < 50,Cum(1),vPrev);
> > Ndays
> > While displaying Ndays it gives 0 after 49 but I am interested to get
> > Ndays as 49 continuously after 49th day. But if I use
> > Ndays:=If(Cum(1) < 50,Cum(1),PREV);
> > Ndays
> > Then I get correct answer. Can any body give an example of how to use
>this
> > pwerful vPREV function?
> > BHANJA
>
>
> >** --------- End Original Message ----------- **
>
> >
>
>
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
|