PureBytes Links
Trading Reference Links
|
here you go
/***** Chandelier Exit *****/
// Needs a dead zone after a buy.
Pds = 65; //optimize("pds", 65, 5, 95, 5);
Mult = 2.3; //optimize("mult", 2.3, 2, 6, .2);
LB = 38; //optimize("LB", 38, 13, 89, 5);
TruRan = ema(ATR(1),Pds)*Mult;
HiLimit = HHV(H, LB)-TruRan;
LoLimit = LLV(L, LB)+TruRan;
/* If(C>HiLimit,HiLimit,LoLimit) */
sell = close < HiLimit; /* if long */
Paying back to the group
Trader
|