Borsa Okulu
Chandelier Exit 2 - Yazdırılabilir Sürüm

+- Borsa Okulu (http://www.borsaokul.com)
+-- Forum: TEKNIK ANALIZ (/forumdisplay.php?fid=1)
+--- Forum: Trading sistemleri (/forumdisplay.php?fid=10)
+--- Konu: Chandelier Exit 2 (/showthread.php?tid=651)



Chandelier Exit 2 - BorsaOkulu - 02-02-2013 10:12 PM

Chandelier Exit 2

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)));

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)));
TodaysStop