Friday, 26 June 2015

Exp Candelstick AFL for Amibroker

Exp Candelstick AFL for Amibroker
// asfatul.alam@yahoo.com

MAXH5=HHV(High,5)==High;
MaxH5COLOR=IIf(MAXH5,colorBrightGreen,colorWhite);

MAXH5Y=HHV(High,5)==Ref(High,-1);
MAXH5YCOLOR=IIf(MAXH5Y,colorBrightGreen,colorWhite);

MINL5=LLV(Low,5)==Low;
MINL5COLOR=IIf(MinL5,colorBrightGreen,colorWhite);

MINL5Y=LLV(Low, 5)==Ref(Low,-1);
MINL5YCOLOR=IIf(MINL5Y,colorBrightGreen,colorWhite);

DOJI1=abs(Close-Open) <= (Close*.0025);
DOJI1COLOR=IIf(DOJI1,colorBrightGreen,colorWhite);

DOJI2=(abs(Open-Close)<=((High-Low)*0.1));
DOJI2COLOR=IIf(DOJI2,colorBrightGreen,colorWhite);

DOJI1Y=abs(Ref(Close,-1)-Ref(Open,-1)) <= (Ref(Close,-1)*.0025);
DOJI1YCOLOR=IIf(DOJI1Y,colorBrightGreen,colorWhite);

DOJI2Y=(abs(Ref(Open,-1)-Ref(Close,-1))<=((Ref(High,-1)-Ref(Low,-1))*0.1));
DOJI2YCOLOR=IIf(DOJI2Y,colorBrightGreen,colorWhite);

MRNSTAR=Ref(Close,-2)<=Ref(Open,-2)*.99 AND Ref(Open,-1)<=Ref(Close,-2) AND Ref(Close,-1)<=Ref(Close,-2) AND Close>Ref(Close,-2) AND Close>=Open*1.01;
MRNSTARCOLOR=IIf(MRNSTAR,colorBrightGreen,colorWhite);

ABBABY=Ref(Close,-2)<=Ref(Open,-2)*.99 AND Ref(High,-1)<Ref(Low,-2) AND Low>Ref(High,-1) AND Close>=Open*1.01;
ABBABYCOLOR=IIf(ABBABY,colorBrightGreen,colorWhite);

TRISTARBLSH=LLV(Low,3)==LLV(Low, 13) AND (HHV(High, 3)-LLV(Low, 3))<=(HHV(High, 3)*.01);
TRISTARBLSHCOLOR=IIf(TRISTARBLSH,colorBrightGreen,colorWhite);

TSTARSO=LLV(Low,8)==Ref(Low,-2) AND Ref(Close,-2)<Ref(Open,-2) AND Ref(Close,-2)>=(Ref(Low,-2)+((Ref(High,-2)-Ref(Low,-2))*.25)) AND Ref(Open,-1)>Ref(Close,-2) AND Ref(Low,-1)>Ref(Low,-2) AND Ref(Close,-1)>=(Ref(Low,-1)+((Ref(High,-1)-Ref(Low,-1))*.25)) AND Ref(Close,-1)<Ref(Open,-1) AND High<Ref(High,-1) AND Low>Ref(Low,-1) AND High-Low<=(High*.01);
TSTARSOCOLOR=IIf(TSTARSO,colorBrightGreen,colorWhite);

BLHARAMI=Ref(Close,-1)<=Ref(Open,-1)*.99 AND High<=Ref(Open,-1) AND Low>=Ref(Close,-1) AND Close>Open;
BLHARAMICOLOR=IIf(BLHARAMI,colorBrightGreen,colorWhite);

TINSDUP=Ref(Close,-2)<=Ref(Open,-2)*.99 AND Ref(High,-1)<=Ref(Open,-2) AND Ref(Low,-1)>=Ref(Close,-2) AND Close>Ref(Open,-2);
TINSDUPCOLOR=IIf(TINSDUP,colorBrightGreen,colorWhite);

HARAMICRS=Ref(Close,-1)<=Ref(Open,-1)*.99 AND High<Ref(Open,-1) AND Low>Ref(Close,-1);
HARAMICRSCOLOR=IIf(HARAMICRS,colorBrightGreen,colorWhite);

HARAMIPG=Ref(Close,-1)<=Ref(Open,-1)*.99 AND High<=Ref(Open,-1) AND Low>=Ref(Close,-1) AND Close<Open;
HARAMIPGCOLOR=IIf(HARAMIPG,colorBrightGreen,colorWhite);

KICKBULL=Ref(Close,-1)<=Ref(Open,-1)*.99 AND Low>=Ref(High,-1) AND Close>=Open*1.01;
KICKBULLCOLOR=IIf(KICKBULL,colorBrightGreen,colorWhite);

HIPRCGAP=Ref(Close,-4)>=Ref(Open,-4)*1.01 AND HHV(Ref(High, -1),3)<=Ref(High,-4) AND LLV(Ref(Low, -1), 3) >=Ref(Low,-4) AND Close>Open*1.01 AND Low>=Ref(High,-4);
HIPRCGAPCOLOR=IIf(HIPRCGAP,colorBrightGreen,colorWhite);

SDBSDWTLN=HHV(High,2)==HHV(High,8) AND Ref(Close,-2)>=Ref(Open,-2)*1.01 AND Ref(Low,-1)>Ref(High,-2) AND Ref(Close,-1)>=Ref(Open,-1)*1.01 AND Low>Ref(High,-2) AND Open<=Ref(Open,-1)*1.005 AND Close>=Open*1.01;
SDBSDWTLNCOLOR=IIf(SDBSDWTLN,colorBrightGreen,colorWhite);

UPSGAP3=Ref(Close,-2)>=Ref(Open,-2)*1.01 AND Ref(Low,-1)>Ref(High,-2) AND Ref(Close,-1)>=Ref(Open,-1)*1.01 AND Open<Ref(Close,-1) AND Open>Ref(High,-2) AND Close<Ref(Close,-2);
UPSGAP3COLOR=IIf(UPSGAP3,colorBrightGreen,colorWhite);

TASUKIGAPBLSH=Ref(Close,-2)>=Ref(Open,-2)*1.01 AND Ref(Low,-1)>Ref(High,-2) AND Ref(Close,-1)>=Ref(Open,-1)*1.01 AND Close<Open AND Close<Ref(Close,-1) AND Low>Ref(High,-2);
TASUKIGAPBLSHCOLOR=IIf(TASUKIGAPBLSH,colorBrightGreen,colorWhite);

HAMMER=Open>=(High-((High-Low)*.25)) AND Close>=(High-((High-Low)*.25));
HAMMERCOLOR=IIf(HAMMER,colorBrightGreen,colorWhite);

INVHAMMER=Open<=(Low+((High-Low)*.25)) AND Close<=(Low+((High-Low)*.25));
INVHAMMERCOLOR=IIf(INVHAMMER,colorBrightGreen,colorWhite);

TRIVBOT=Ref(Close,-2)<=Ref(Open,-2)*.99 AND Ref(Open,-1)>Ref(Close,-2) AND Ref(Close,-1)>Ref(Close,-2) AND Close>Open AND Close<Ref(Open,-2) AND Open>Ref(Close,-2) AND Ref(Open,-1)>=(Ref(High,-1)-((Ref(High,-1)-Ref(Low,-1))*.25)) AND Ref(Close,-1)>=(Ref(High,-1)-((Ref(High,-1)-Ref(Low,-1))*.25));
TRIVBOTCOLOR=IIf(TRIVBOT,colorBrightGreen,colorWhite);

CONBABYSW=Ref(Close,-3)<=Ref(Open,-3)*.99 AND Ref(Close,-2)<=Ref(Open,-2)*.99 AND Ref(Open,-1)<Ref(Close,-2) AND Ref(High,-1)>Ref(Close,-2) AND Open>Ref(Close,-2) AND Close<=Ref(Close,-1) AND LLV(Low,2)==LLV(Low,8);
CONBABYSWCOLOR=IIf(CONBABYSW,colorBrightGreen,colorWhite);

LLDOJIBLSH=Open<Ref(Low,-1) AND High>=Low*1.01;
LLDOJIBLSHCOLOR=IIf(LLDOJIBLSH,colorBrightGreen,colorWhite);

MATCHLOW=LLV(Low,8)==LLV(Low,2) AND Ref(Close,-1)<=Ref(Open,-1)*.99 AND abs(Close-Ref(Close,-1))<=Close*.0025 AND Open>Ref(Close,-1) AND Open<=(High-((High-Low)*.5));
MATCHLOWCOLOR=IIf(MATCHLOW,colorBrightGreen,colorWhite);

BELTHOLD=Open<=Ref(Low,-1)*.99 AND Close>Ref(Low,-1);
BELTHOLDCOLOR=IIf(BELTHOLD,colorBrightGreen,colorWhite);

BULLENG=Open<Ref(Low,-1) AND Close>Ref(High,-1) AND Close>=Open*1.01;
BULLENGCOLOR=IIf(BULLENG,colorBrightGreen,colorWhite);

TOUTSUP=Ref(Open,-1)<Ref(Low,-2) AND Ref(Close,-1)>Ref(High,-2) AND Ref(Close,-1)>=Ref(Open,-1)*1.01 AND Close>Ref(High,-1) AND Close>Open;
TOUTSUPCOLOR=IIf(TOUTSUP,colorBrightGreen,colorWhite);

STICKSAND=LLV(Low, 8)==LLV(Low, 3) AND Ref(Close,-2)<=Ref(Open,-2)*.99 AND Ref(Close,-1)>=Ref(Open,-1)*1.01 AND Ref(Close,-1)>=Ref(High,-2) AND Open>=Ref(High,-1) AND abs(Close-Ref(Close,-2))<=Close*.0025;
STICKSANDCOLOR=IIf(STICKSAND,colorBrightGreen,colorWhite);

BREAKAWAY=Ref(Close,-4)<Ref(Open,-4) AND HHV(Ref(High,-1), 3) < Ref(Low,-4) AND Open < HHV(Ref(High,-1), 3) AND Close>Ref(Low,-4);
BREAKAWAYCOLOR=IIf(BREAKAWAY,colorBrightGreen,colorWhite);

MEETLNS=Ref(Close,-1)<=Ref(Open,-1)*.99 AND abs(Close-Ref(Close,-1))<=Close*.0025 AND Close>=Open*1.01;
MEETLNSCOLOR=IIf(MEETLNS,colorBrightGreen,colorWhite);

PRCLINE=Ref(Close,-1)<=Ref(Open,-1)*.99 AND Open<Ref(Low,-1) AND Close>=(Close+((Open-Close)*.5));
PRCLINECOLOR=IIf(PRCLINE,colorBrightGreen,colorWhite);

TWHITESOLD=LLV(Low,8)==Ref(Low,-2) AND Ref(Open,-1)<Ref(Close,-2) AND Open<Ref(Close,-1) AND Ref(Close,-1)>Ref(Close,-2) AND Close>Ref(Close,-1) AND Ref(Close,-2)>=Ref(Open,-2)*1.01 AND Ref(Close,-1)>=Ref(Open,-1)*1.01 AND Close>=Open*1.01;
TWHITESOLDCOLOR=IIf(TWHITESOLD,colorBrightGreen,colorWhite);

TLINESTRK=Ref(Open,-2)<Ref(Close,-3) AND Ref(Open,-1)<Ref(Close,-2) AND Ref(Close,-2)>Ref(Close,-3) AND Ref(Close,-1)>Ref(Close,-2) AND Ref(Close,-3)>=Ref(Open,-3)*1.01 AND Ref(Close,-2)>=Ref(Open,-2)*1.01 AND Ref(Close,-1)>=Ref(Open,-1)*1.01 AND Open>Ref(Close,-1) AND Close< LLV( Ref(Open,-1), 3);
TLINESTRKCOLOR=IIf(TLINESTRK,colorBrightGreen,colorWhite);

SEPLINES=Ref(Close,-1)<=Ref(Open,-1)*.99 AND abs(Open-Ref(Open,-1))<=Open*.0025 AND Close>=Open*1.01;
SEPLINESCOLOR=IIf(SEPLINES,colorBrightGreen,colorWhite);

RISTHREE=Ref(Close,-4)>Ref(Open,-4) AND Ref(High,-3)>Ref(High,-4) AND Ref(High,-1)<Ref(High,-3) AND Ref(Low,-1)<Ref(Low,-3) AND Ref(Close,-3)<Ref(Open,-3) AND LLV(Ref(Low,-1),3)>Ref(Low,-4) AND Close>=Open*1.01 AND Close>HHV(Ref(H,-1),3);
RISTHREECOLOR=IIf(RISTHREE,colorBrightGreen,colorWhite);

MATHOLD=Ref(Close,-4)>=Ref(Open,-4)*1.01 AND Ref(Low,-3)>Ref(High,-4) AND Ref(High,-1)<Ref(High,-3) AND Ref(Low,-1)<Ref(Low,-3) AND Ref(Close,-3)<Ref(Open,-3) AND LLV(Ref(L,-1),3) > Ref(Low,-4) AND Open<Ref(Open,-1) AND Close>HHV(Ref(H,-1),3) AND Close>=Open*1.01;
MATHOLDCOLOR=IIf(MATHOLD,colorBrightGreen,colorWhite);

EVNSTAR=Ref(Close,-2)>=Ref(Open,-2)*1.01 AND Ref(Open,-1)>=Ref(Close,-2) AND Ref(Close,-1)>=Ref(Close,-2) AND Open<=Ref(Close,-1) AND Close<=Open*.99;
EVNSTARCOLOR=IIf(EVNSTAR,colorBrightGreen,colorWhite);

ABBABYBRSH=Ref(Close,-2)>=Ref(Open,-2)*1.01 AND Ref(Low,-1)>Ref(High,-2) AND High<Ref(Low,-1) AND Close<=Open*.99;
ABBABYBRSHCOLOR=IIf(ABBABYBRSH,colorBrightGreen,colorWhite);

TWOCROWS=Ref(Close,-2)>=Ref(Open,-2)*1.01 AND Ref(Open,-1)>=Ref(Close,-2) AND Ref(Close,-1)>=Ref(Close,-2) AND Open>Ref(Low,-1) AND Open<Ref(High,-1) AND Close<=Open*.99;
TWOCROWSCOLOR=IIf(TWOCROWS,colorBrightGreen,colorWhite);

UPSGAPTWOCROWS=Ref(Close,-2)>=Ref(Open,-2)*1.01 AND Ref(Open,-1)>=Ref(Close,-2) AND Ref(Close,-1)>=Ref(Close,-2) AND Open>Ref(High,-1) AND Close<Ref(Low,-1);
UPSGAPTWOCROWSCOLOR=IIf(UPSGAPTWOCROWS,colorBrightGreen,colorWhite);

TSTARBRSH=HHV(High, 3)==HHV(High, 13) AND (HHV(High, 3)-LLV(Low, 3))<=( HHV(High, 3)*.01);
TSTARBRSHCOLOR=IIf(TSTARBRSH,colorBrightGreen,colorWhite);

SHOOTSTAR=Low>Ref(High,-1) AND Open<=(Low+((High-Low)*.25)) AND Close<=(Low+((High-Low)*.25));
SHOOTSTARCOLOR=IIf(SHOOTSTAR,colorBrightGreen,colorWhite);

HANGMAN=Open>Ref(High,-1) AND Open>=(High-((High-Low)*.25)) AND Close>=(High-((High-Low)*.25));
HANGMANCOLOR=IIf(HANGMAN,colorBrightGreen,colorWhite);

SBSWHTLINESBRSH=LLV(Low, 8)==LLV(Low, 2) AND Ref(High,-1)<Ref(Low,-2) AND High<Ref(Low,-2) AND Ref(Close,-2)<=Ref(Open,-2)*.99 AND Open<=Ref(Open,-1)*1.005 AND Ref(Close,-1)>=Ref(Open,-1)*1.01 AND Close>=Open*1.01;
SBSWHTLINESBRSHCOLOR=IIf(SBSWHTLINESBRSH,colorBrightGreen,colorWhite);

LOWPRCGAP=Ref(Close,-4)<Ref(Open,-4)*.99 AND HHV(Ref(High,-1),3)<=(LLV(Ref(Low, -1),3)*1.01) AND High<LLV(Ref(Low,-1),3) AND Close<Open;
LOWPRCGAPCOLOR=IIf(LOWPRCGAP,colorBrightGreen,colorWhite);

DOWNGAP3=Ref(Close,-2)<=Ref(Open,-2)*.99 AND Ref(High,-1)<Ref(Low,-2) AND Ref(Close,-1)<=Ref(Open,-1)*.99 AND Open<Ref(Open,-1) AND Close>Ref(Close,-2);
DOWNGAP3COLOR=IIf(DOWNGAP3,colorBrightGreen,colorWhite);

TASUKIGAPBRSH=Ref(Close,-2)<=Ref(Open,-2)*.99 AND Ref(High,-1)<Ref(Low,-2) AND Ref(Close,-1)<=Ref(Open,-1)*.99 AND Open<Ref(High,-1) AND Close>Ref(High,-1) AND High<Ref(Low,-2);
TASUKIGAPBRSHCOLOR=IIf(TASUKIGAPBRSH,colorBrightGreen,colorWhite);

HARAMIBRSH=Ref(Close,-1)>=Ref(Open,-1)*1.01 AND High<Ref(Close,-1) AND Low>Ref(Open,-1);
HARAMIBRSHCOLOR=IIf(HARAMIBRSH,colorBrightGreen,colorWhite);

TINSIDEDOWN=Ref(Close,-2)>=Ref(Open,-2)*1.01 AND Ref(High,-1)<Ref(Close,-2) AND Ref(Low,-1)>Ref(Open,-2) AND Close<Ref(Open,-2) AND Open>Ref(Open,-2);
TINSIDEDOWNCOLOR=IIf(TINSIDEDOWN,colorBrightGreen,colorWhite);

HARAMICROSS=Ref(Close,-1)>=Ref(Open,-1)*1.01 AND High<Ref(Close,-1) AND Low>Ref(Open,-1);
HARAMICROSSCOLOR=IIf(HARAMICROSS,colorBrightGreen,colorWhite);

BRSHENGULF=Open>Ref(High,-1) AND Close<Ref(Low,-1);
BRSHENGULFCOLOR=IIf(BRSHENGULF,colorBrightGreen,colorWhite);

TINSIDDOWN=Ref(Open,-1)>Ref(High,-2) AND Ref(Close,-1)<Ref(Low,-2) AND Close<Open AND Close<Ref(Close,-1);
TINSIDDOWNCOLOR=IIf(TINSIDDOWN,colorBrightGreen,colorWhite);

DARKCLOUD=Ref(Open,-1)>=Ref(Close,-1)*1.01 AND Open>Ref(Close,-1) AND Close<=(Ref(Close,-1)-((Ref(Close,-1)-Ref(Open,-1))*.5));
DARKCLOUDCOLOR=IIf(DARKCLOUD,colorBrightGreen,colorWhite);

BELTHOLD=Open>=Ref(High,-1)*1.01 AND Close<Ref(High,-1);
BELTHOLDCOLOR=IIf(BELTHOLD,colorBrightGreen,colorWhite);

MTGLINES=Ref(Close,-1)>Ref(Open,-1) AND Open>=Ref(Close,-1)*1.01 AND abs(Close-Ref(Close,-1))<=Close*.0025;
MTGLINESCOLOR=IIf(MTGLINES,colorBrightGreen,colorWhite);

LLDOJIBRSH=Open>Ref(High,-1) AND High>=Low*1.01;
LLDOJIBRSHCOLOR=IIf(LLDOJIBRSH,colorBrightGreen,colorWhite);

ADVBLOCK=Ref(Close,-2)>=Ref(Open,-2)*1.01 AND Ref(High,-1)>Ref(High,-2) AND Ref(Close,-1)>Ref(Open,-1) AND Close>Open AND High>Ref(High,-1) AND (Ref(Close,-1)-Ref(Open,-1))<(Ref(Close,-2)-Ref(Open,-2)) AND (Close-Open)<(Ref(Close,-1)-Ref(Open,-1));
ADVBLOCKCOLOR=IIf(ADVBLOCK,colorBrightGreen,colorWhite);

DELIB=Ref(Close,-2)>=Ref(Open,-2)*1.01 AND Ref(High,-1)>Ref(High,-2) AND Ref(Close,-1)>Ref(Open,-1)*1.01 AND Close>Open AND High>Ref(High,-1) AND (Close-Open)<(Ref(Close,-1)-Ref(Open,-1));
DELIBCOLOR=IIf(DELIB,colorBrightGreen,colorWhite);

TBLKCROWS=HHV(High,8)==Ref(High,-2) AND Ref(Open,-1)>Ref(Close,-2) AND Open>Ref(Close,-1) AND Ref(Close,-1)<Ref(Close,-2) AND Close<Ref(Close,-1) AND Ref(Close,-2)<=Ref(Open,-2)*.99 AND Ref(Close,-1)<=Ref(Open,-1)*.99 AND Close<=Open*.99;
TBLKCROWSCOLOR=IIf(TBLKCROWS,colorBrightGreen,colorWhite);

TLNSTRIKE=HHV(High,8)==Ref(High,-3) AND Ref(Open,-2)>Ref(Close,-3) AND Ref(Open,-1)>Ref(Close,-2) AND Ref(Close,-2)<Ref(Close,-3) AND Ref(Close,-1)<Ref(Close,-2) AND Ref(Close,-3)<=Ref(Open,-3)*.99 AND Ref(Close,-2)<=Ref(Open,-2)*.99 AND Ref(Close,-1)<=Ref(Open,-1)*.99 AND Open<Ref(Low,-1) AND Close>HHV(Ref(H,-1),3);
TLNSTRIKECOLOR=IIf(TLNSTRIKE,colorBrightGreen,colorWhite);

ONNECK=Ref(Close,-1)<=Ref(Open,-1)*.99 AND Open<Ref(Low,-1) AND Close>Open AND Close<Ref(Close,-1);
ONNECKCOLOR=IIf(ONNECK,colorBrightGreen,colorWhite);

INNECK=Ref(Close,-1)<=Ref(Open,-1)*.99 AND Open<Ref(Low,-1) AND Close>Open AND abs(Close-Ref(Close,-1))<=(Close*.0025);
INNECKCOLOR=IIf(INNECK,colorBrightGreen,colorWhite);

SEPLINES=Ref(Close,-1)>=Ref(Open,-1)*1.01 AND abs(Open-Ref(Open,-1))<=Open*.0025 AND Close<Open*.99;
SEPLINESCOLOR=IIf(SEPLINES,colorBrightGreen,colorWhite);

FALL3=Ref(Close,-4)<Ref(Open,-4) AND Ref(High,-3)<Ref(High,-4) AND Ref(High,-1)>Ref(High,-3) AND Ref(Low,-1)>Ref(Low,-3) AND HHV(Ref(H,-1),3) <= Ref(High,-4) AND Open>Ref(Low,-1) AND Close<LLV(Ref(Low,-1),3);
FALL3COLOR=IIf(FALL3,colorBrightGreen,colorWhite);

Filter =
AddColumn(MAXH5,"Maximum High Today",1,colorBlack,MaxH5color);
AddColumn(MAXH5Y,"Maximum High Yesterday ",1,colorBlack,MaxH5Ycolor);
AddColumn(MINL5,"Minimum Low Today",1,colorBlack,MINL5Ycolor);
AddColumn(MINL5Y,"Minimum Low Yesterday",1,colorBlack,MINL5Ycolor);
AddColumn(DOJI1,"Doji 1",1,colorBlack,DOJI1color);
AddColumn(DOJI2,"Doji 2",1,colorBlack,DOJI2color);
AddColumn(DOJI1Y,"Doji Yesterday 1",1,colorBlack,DOJI1Ycolor);
AddColumn(DOJI2Y,"Doji Yesterday 2",1,colorBlack,DOJI2Ycolor);
AddColumn(MRNSTAR,"Morning Star ",1,colorBlack,MRNSTARcolor);
AddColumn(ABBABY,"Abandoned Baby",1,colorBlack,ABBABYcolor);
AddColumn(TSTARSO,"Tri Star",1,colorBlack,TSTARSOcolor);
AddColumn(TRISTARBLSH,"Three Stars in the South",1,colorBlack,TRISTARBLSHcolor);
AddColumn(BLHARAMI,"Bullish Harami",1,colorBlack,BLHARAMIcolor);
AddColumn(TINSDUP,"3 Inside Up Confirmation",1,colorBlack,TINSDUPcolor);
AddColumn(HARAMICRS,"Harami Cross",1,colorBlack,HARAMICRScolor);
AddColumn(HARAMIPG,"Homing Pigeon",1,colorBlack,HARAMIPGcolor);
AddColumn(KICKBULL,"Kicking Bullish",1,colorBlack,KICKBULLcolor);
AddColumn(HIPRCGAP,"High Price Gapping",1,colorBlack,HIPRCGAPcolor);
AddColumn(SDBSDWTLN,"Side by Side White Lines",1,colorBlack,SDBSDWTLNcolor);
AddColumn(UPSGAP3,"Tasuki Gap",1,colorBlack,UPSGAP3color);
AddColumn(HAMMER,"Hammer",1,colorBlack,HAMMERcolor);
AddColumn(INVHAMMER,"Inverted Hammer",1,colorBlack,INVHAMMERcolor);
AddColumn(TRIVBOT,"Three River Bottom",1,colorBlack,TRIVBOTcolor);
AddColumn(CONBABYSW,"Concealing Baby Swallow",1,colorBlack,CONBABYSWcolor);
AddColumn(LLDOJIBLSH,"Long Legged Doji",1,colorBlack,LLDOJIBLSHcolor);
AddColumn(MATCHLOW,"Matching Low",1,colorBlack,MATCHLOWcolor);
AddColumn(BELTHOLD,"Belt Hold",1,colorBlack,BELTHOLDcolor);
AddColumn(BULLENG,"Bullish Engulfing",1,colorBlack,BULLENGcolor);
AddColumn(TOUTSUP,"Three Outside Up",1,colorBlack,TOUTSUPcolor);
AddColumn(STICKSAND,"Stick Sandwich",1,colorBlack,STICKSANDcolor);
AddColumn(MEETLNS,"Meeting Lines",1,colorBlack,MEETLNScolor);
AddColumn(BREAKAWAY,"Breakaway",1,colorBlack,BREAKAWAYcolor);
AddColumn(PRCLINE,"Piercing Line",1,colorBlack,PRCLINEcolor);
AddColumn(TWHITESOLD,"Three White Soldiers",1,colorBlack,TWHITESOLDcolor);
AddColumn(TLINESTRK,"Three Line Strike",1,colorBlack,TLINESTRKcolor);
AddColumn(SEPLINES,"Seperating Lines",1,colorBlack,SEPLINEScolor);
AddColumn(RISTHREE,"Rising Three",1,colorBlack,RISTHREEcolor);
AddColumn(MATHOLD,"Mat Hold",1,colorBlack,MATHOLDcolor);
AddColumn(EVNSTAR,"Evening Star",1,colorBlack,EVNSTARcolor);
AddColumn(ABBABYBRSH,"Abandoned Baby bearish",1,colorBlack,ABBABYBRSHcolor);
AddColumn(TWOCROWS,"Two Crows",1,colorBlack,TWOCROWScolor);
AddColumn(UPSGAPTWOCROWS,"Upside Gap Two Crows",1,colorBlack,UPSGAPTWOCROWScolor);
AddColumn(SHOOTSTAR,"Shooting Star",1,colorBlack,SHOOTSTARcolor);
AddColumn(TSTARBRSH,"Tri-Star bearish",1,colorBlack,TSTARBRSHcolor);
AddColumn(HANGMAN,"Hanging Man",1,colorBlack,HANGMANcolor);
AddColumn(SBSWHTLINESBRSH,"Side by Side White Lines bearish",1,colorBlack,SBSWHTLINESBRSHcolor);
AddColumn(LOWPRCGAP,"Low Price Gapping",1,colorBlack,LOWPRCGAPcolor);
AddColumn(DOWNGAP3,"Downside Gap Three",1,colorBlack,DOWNGAP3color);
AddColumn(TASUKIGAPBRSH,"Tasuki Gap",1,colorBlack,TASUKIGAPBRSHcolor);
AddColumn(HARAMIBRSH,"Harami bearish",1,colorBlack,HARAMIBRSHcolor);
AddColumn(TINSIDEDOWN,"3 Inside Down Confirmation",1,colorBlack,TINSIDEDOWNcolor);
AddColumn(HARAMICROSS,"Harami Cross",1,colorBlack,HARAMICROSScolor);
AddColumn(BRSHENGULF,"Engulfing bearish",1,colorBlack,BRSHENGULFcolor);
AddColumn(TINSIDDOWN,"Three Inside Down ",1,colorBlack,TINSIDDOWNcolor);
AddColumn(DARKCLOUD,"Dark Cloud Cover ",1,colorBlack,DARKCLOUDcolor);
AddColumn(BELTHOLD,"Belt Hold",1,colorBlack,BELTHOLDcolor);
AddColumn(MTGLINES,"Meeting Lines",1,colorBlack,MTGLINEScolor);
AddColumn(LLDOJIBRSH,"Long Legged Doji",1,colorBlack,LLDOJIBRSHcolor);
AddColumn(ADVBLOCK,"Advance Block",1,colorBlack,ADVBLOCKcolor);
AddColumn(DELIB,"Deliberation",1,colorBlack,DELIBcolor);
AddColumn(TBLKCROWS,"Three Black Crows",1,colorBlack,TBLKCROWScolor);
AddColumn(TLNSTRIKE,"Three Line Strike",1,colorBlack,TLNSTRIKEcolor);
AddColumn(ONNECK,"On Neck",1,colorBlack,ONNECKcolor);
AddColumn(INNECK,"In Neck",1,colorBlack,INNECKcolor);
AddColumn(SEPLINES,"Seperating Lines",1,colorBlack,SEPLINEScolor);
AddColumn(FALL3,"Falling Three",1,colorBlack,FALL3color);

Turtle trading system AFL for Aamibroker

Turtle trading system
// asfatul.alam@yahoo.com










pds = 20;
MAFAST = EMA( Close, 20 );
MASLOW = EMA( Close, 40 );

DonchianUpper = HHV( Ref( H, -1 ), pds ); 
DonchianLower = LLV( Ref( L, -1 ), pds ); 
DonchianMiddle = ( DonchianUpper + DonchianLower ) / 2;

UpTrend = C > ( LLV( L, 20 ) + 2 * ATR( 10 ) ) AND EMA( Close, 20 ) > EMA( Close, 40 );
DnTrend = C < ( HHV( H, 20 ) - 2 * ATR( 10 ) ) AND EMA( Close, 20 ) < EMA( Close, 40 );
Color = IIf( UpTrend, colorBlue, IIf( DnTrend, colorOrange, colorCustom11 ) );


Plot( C, "Price", Color, styleBar | styleThick );
Plot( DonchianUpper, "Donchian U", ParamColor( "DU Color", colorBlue ), ParamStyle( "DU Style", styleLine ) );
Plot( DonchianMiddle, "Donchian M", ParamColor( "DM Color", colorBrightGreen ), ParamStyle( "DM Style", styleNoLine ) );
Plot( DonchianLower, "Donchian L", ParamColor( "DL Color", colorRed ), ParamStyle( "DL Style", styleLine ) );

Title = WriteVal( DonchianUpper, 1.2 ) + WriteVal( DonchianLower, 1.2 ) + WriteVal( DonchianMiddle, 1.2 );

Buy = High > Ref( HHV( High, 20 ), -1 ) AND MAFAST > MASLOW; 

Short = Low < Ref( LLV( Low, 20 ), -1 ) AND MAFAST < MASLOW; 




_SECTION_BEGIN( "Chandelier Exit" );

SetBarsRequired( 50, 50 );

Multiple = Param( "Multiple", 3, 0.5, 10, 0.1 ); 
ATRPeriods = Param( "ATR Periods", 20, 1, 50, 1 ); 

stopArray = Null;
atrArray = ATR( ATRPeriods );
HHArray = Null;
LLArray = Null;
exitArray = Null;
trendDirection = 0;

for ( i = 0; i < BarCount; i++ )
{
    if ( Short[i] )
    {
     
        stopArray[i] = Low[i] + ( Multiple * atrArray[i] );
        LLArray[i] = Low[i]; 
        trendDirection = 0 - 1; 
    }

    if ( Buy[i] )
    {
    
        stopArray[i] = High[i] - ( Multiple * atrArray[i] );
        HHArray[i] = High[i]; 
        trendDirection = 1; 
    }

    exitArray[i] = 0;

    if ( trendDirection > 0 )
    {
        
        if ( trendDirection > 1 )
        {
         
            if ( Low[i] < stopArray[i-1] )
            {
               
                trendDirection = 0; 
                exitArray[i] = 1;
            }
            else
            {
              
                if ( High[i] > HHArray[i-1] )
                    HHArray[i] = High[i];
                else
                    HHArray[i] = HHArray[i-1];

         
                stopArray[i] = HHArray[i] - ( Multiple * atrArray[i] );
            }
        }

        trendDirection = trendDirection + 1;
    }

    if ( trendDirection < 0 )
    {
       
        if ( trendDirection < 0 - 1 )
        {
            
            if ( High[i] > stopArray[i-1] )
            {
              
                trendDirection = 0;
                exitArray[i] = 0 - 1;
            }
            else
            {
               
                if ( Low[i] < LLArray[i-1] )
                    LLArray[i] = Low[i];
                else
                    LLArray[i] = LLArray[i-1];


                stopArray[i] = LLArray[i] + ( Multiple * atrArray[i] );
            }
        }

        trendDirection = trendDirection - 1;
    }

    if ( trendDirection == 0 )
    {
        stopArray[i] = 0;
        LLArray[i] = 0;
        HHArray[i] = 0;
    }
}

Sell = Cover = exitarray;

Buy = ExRem( Buy, Sell );
Sell = ExRem( Sell, Buy );
Short = ExRem( Short, Cover );
Cover = ExRem( Cover, Short );

PlotShapes( Buy*shapeUpArrow, colorBrightGreen, 0, Low );
PlotShapes( Short*shapeDownArrow, colorRed, 0, High );
PlotShapes( abs( exitArray )*shapeHollowCircle, colorYellow, 0, ValueWhen( stopArray, stopArray, 1 ), 0 );
Plot( stopArray, "Chand", ParamColor( "Chand Color:", colorYellow ), ParamStyle( "Chand Style", styleDashed ) );

_N( Title = EncodeColor( colorYellow ) + StrFormat( "{{NAME}} - {{INTERVAL}} - {{DATE}}--Turtle_System_Rev_A \n OP= %g Hi= %g Lo= %g CL= %g (%.1f%%) \n Vol= " + WriteVal( V, 1.0 ) + "\n" + " {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ) );//=cnb



_SECTION_END(); 

Saturday, 20 June 2015

Linear Regression Channel AFL For Amibroker



Linear Regression Channel
Here is a screenshot of how the indicator looks:

SetChartBkColor(ParamColor("Background Color",colorBlack));
SetChartOptions(0,chartShowDates);
SetBarFillColor(IIf(C>O,ParamColor("Candle UP
Color",colorGreen),IIf(C<=O,ParamColor("Candle Down
Color",colorRed),colorLightGrey)));

Plot(C,"Price",IIf(C>O,ParamColor("Wick UP
Color",colorDarkGreen),IIf(C<=O,ParamColor("Wick Down
Color",colorDarkRed),colorLightGrey)),64,0,0,0,0);

_SECTION_BEGIN("Linear Reg Channel");
//Plot(Close, "", 55, GetPriceStyle());
P        = ParamField("Price field", -1);
Daysback = Param("Period for Linear Regression Channel", 50, 1, 300, 1);
SDP1     = Param("Standard Deviation 1", 1.0, 0, 6, 0.05);
SDP2     = Param("Standard Deviation 2", 2.0, 0, 6, 0.05);
SDP3     = Param("Standard Deviation 3", 3.0, 0, 6, 0.05);
ext      = Param("extend Linear Regression Channel", 15, 0, 50, 1);
shift    = Param("Look back period", 0, 0, 240, 1);
Collg    = ParamColor("Color Linear Reg Line", colorRed);
Colsd1   = ParamColor("Color StDev 1", colorBlue);
Colsd2   = ParamColor("Color StDev 2", colorLime);
Colsd3   = ParamColor("Color StDev 3", colorGold);
SDP1     = SDP1/2;
SDP2     = SDP2/2;
SDP3     = SDP3/2;
pds      = Daysback;
x        = BarIndex() + 1;
sx       = SelectedValue(x)-shift;
aa       = SelectedValue(Ref(LinRegIntercept(P, pds), -shift));
bb       = SelectedValue(Ref(LinRegSlope(P, pds), -shift));
StDev0   = StDev(P, pds);
fd1      = SelectedValue(Ref(SDP1 * StDev0, -shift) );
fd2      = SelectedValue(Ref(SDP2 * StDev0, -shift) );
fd3      = SelectedValue(Ref(SDP3 * StDev0, -shift) );
ys       = SelectedValue(ValueWhen(x, aa, 1));
yi       = SelectedValue(ValueWhen(x, bb, 1));
xs       = sx - pds;
d        = ext;//Shift Line Right
xe       = xs + pds + d;
ye       = ys + yi * (xe - xs);
sty      = 1|32|2048;
Plot(LineArray(xs-d,ys,xe-d,ye,1),"",Collg,sty,0,0,d);
Plot(LineArray(xs-d,ys-fd1,xe-d,ye-fd1,1),"",Colsd1,sty,0,0,d);
Plot(LineArray(xs-d,ys+fd1,xe-d,ye+fd1,1),"",Colsd1,sty,0,0,d);
Plot(LineArray(xs-d,ys-fd2,xe-d,ye-fd2,1),"",Colsd2,sty,0,0,d);
Plot(LineArray(xs-d,ys+fd2,xe-d,ye+fd2,1),"",Colsd2,sty,0,0,d);
Plot(LineArray(xs-d,ys-fd3,xe-d,ye-fd3,1),"",Colsd3,sty,0,0,d);
Plot(LineArray(xs-d,ys+fd3,xe-d,ye+fd3,1),"",Colsd3,sty,0,0,d);
_SECTION_END();

Dated: 18.06.2015--- DSE All Stock Position At Once

TickerDate/TimeSignalConditionClose Volume BBandMed MALong MAMed MA vs. Long MAMACD MACD/Signal AROONStochasticMFI-14RSI-14MFIScore
MITHUNKNIT6/18/201579.30782,399.00BelowBottomBullishBullishBearishBullishBullishBearishBullishNeutralImprovingOverbought1
RDFOOD6/18/201513.40427,870.00BelowBottomBullishBullishBearishBullishBullishBearishBullishNeutralImprovingOverbought1
RNSPIN6/18/2015Sign of weakness. An Upthrust Bar. 22.10798,728.00BelowBottomBullishBullishBearishBullishBullishBullishBullishNeutralImprovingOverbought3
RDFOOD 6/18/201513.40427,870.00BelowBottomBullishBullishBearishBullishBullishBearishBullishNeutralImprovingOverbought1
ANWARGALV6/18/201538.90498,280.00AboveTopBullishBullishBearishBearishBullishBearishBullishImprovingImprovingOverbought-1
LEGACYFOOT6/18/2015Bullish sign Effort to Rise. 22.70542,621.00AboveTopBullishBullishBullishBullishBullishBearishBullishNeutralImprovingOverbought3
BRACBANK6/18/201537.40167,971.00BelowBottomBullishBullishBullishBullishBullishBearishBullishNeutralImprovingOverbought3
TRUSTBANK6/18/2015Test for supply. Test for supply. 21.00795,266.00NeutralBullishBullishBullishBullishBearishBearishBearishImprovingNeutralNeutral0
1JANATAMF6/18/20154.8093,459.00NeutralBullishBullishBullishBullishBearishBearishBearishImprovingNeutralNeutral0
MHSML6/18/201536.70660,837.00NeutralBullishBullishBearishBullishBullishBearishBullishImprovingNeutralOverbought1
PF1STMF6/18/20154.5014,810.00NeutralBullishBullishBullishBullishBearishBearishBullishImprovingNeutralOverbought1
ANLIMAYARN6/18/201519.30264,216.00NeutralBullishBullishBullishBullishBullishBearishBullishImprovingNeutralOverbought3
UNIONCAP6/18/2015Sign of weakness. An Upthrust Bar. 14.70144,126.00NeutralBearishBullishBullishBullishBearishBearishBullishImprovingNeutralOverbought-1
MIRACLEIND6/18/201514.50849,140.00NeutralBullishBullishBullishBullishBullishBearishBullishImprovingNeutralOverbought3
OLYMPIC6/18/2015228.90103,202.00NeutralBullishBullishBullishBullishBullishBearishBullishImprovingNeutralOverbought3
PREMIERLEA6/18/20158.20121,720.00AboveTopBullishBullishBullishBullishBullishBullishBearishImprovingNeutralOverbought3
BEACONPHAR6/18/201514.90128,090.00NeutralBullishBullishBullishBullishBullishBearishBullishImprovingNeutralNeutral4
PIONEERINS6/18/201533.0059,196.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralNeutral4
IFADAUTOS6/18/2015Bullish sign Effort to Rise. 108.801,083,590.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral4
SQURPHARMA6/18/2015255.50301,388.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralOverbought4
IDLC6/18/201552.30307,873.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral4
KPPL6/18/201518.80870,454.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral4
SAPORTL6/18/2015confirms strength. An Upbar closing near High. 60.201,460,820.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral4
BEACHHATCH6/18/201519.101,190,290.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralOverbought4
FAREASTLIF6/18/201568.5094,168.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralOverbought3
ICBEPMF1S16/18/2015Sign of weakness. An Upthrust Bar. 5.20273,000.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralNeutral4
HAKKANIPUL6/18/201531.90147,163.00NeutralBullishBullishBullishBullishBullishBullishBearishNeutralNeutralOverbought3
MEGHNACEM6/18/2015111.0044,904.00NeutralBearishBullishBullishBullishBearishBearishBearishImprovingNeutralNeutral-2
DAFODILCOM6/18/201513.6025,888.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralNeutral4
MICEMENT6/18/2015Test for supply. Test for supply. 77.7025,225.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral3
IFIC1STMF6/18/20154.9029,147.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral4
SEBL1STMF6/18/20158.102,250.00NeutralBullishBullishBearishBullishBullishBearishBullishNeutralNeutralNeutral3
DELTASPINN6/18/201511.301,404,240.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral3
PHPMF16/18/2015Indicates weakness. High volume Downbar after an upmove on high volume. 4.40461,288.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral3
RAKCERAMIC6/18/201572.401,003,580.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral4
GHAIL6/18/201526.50663,535.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralOverbought3
BXPHARMA6/18/201557.601,317,280.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral3
MATINSPINN6/18/2015Bullish sign Effort to Rise. 41.9077,120.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral3
SAIFPOWER6/18/201584.301,206,860.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral3
NPOLYMAR6/18/201577.50117,846.00NeutralBullishBullishBullishBearishBearishBearishBullishImprovingNeutralOverbought-1
NLI1STMF6/18/20158.7051,950.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralOverbought3
BANKASIA6/18/2015Test for supply. Test for supply. 14.80162,975.00NeutralBullishBullishBullishBullishBullishBearishBearishDecliningNeutralNeutral3
JAMUNAOIL6/18/2015197.3051,200.00NeutralBullishBullishBullishBearishBullishBearishBullishNeutralNeutralNeutral4
NAVANACNG6/18/2015Confirms return of Strength. An Upbar closing near High.57.40207,923.00NeutralBearishBullishBullishBullishBearishBearishBullishDecliningNeutralNeutral0
RELIANCE16/18/20156.90312,400.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralOversold3
AFCAGRO6/18/201554.80970,979.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
ICB2NDNRB6/18/20157.1057,550.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
CENTRALPHL6/18/201526.90475,710.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
QSMDRYCELL6/18/2015Confirms return of Strength. An Upbar closing near High.55.00339,452.00NeutralBullishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral2
MPETROLEUM6/18/2015190.9038,982.00NeutralBullishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral2
SB716/18/201550.7941,509,800.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
PTL6/18/201517.80131,871.00NeutralBullishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral2
AFTABAUTO6/18/201558.00311,515.00NeutralBullishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral2
BSRMSTEEL6/18/201574.30420,298.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
DESCO6/18/201567.00322,773.00NeutralBullishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral2
DHAKABANK6/18/2015strength returning. Strength seen returning after a long down trend. 18.70295,004.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
NORTHRNINS6/18/2015strength returning. Strength seen returning after a long down trend. 21.106,168.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
SHURWID6/18/201521.00761,547.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
BEXIMCO6/18/201532.803,441,070.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
DSEX6/18/20154,519.8597,570,200.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
POWERGRID6/18/201538.70218,859.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
GHCL6/18/201539.2035,579.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
FARCHEM6/18/2015strength returning. Strength seen returning after a long down trend. 44.501,942,580.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
BDWELDING6/18/201518.50164,629.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
MEGHNALIFE6/18/201570.0023,951.00NeutralBullishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral2
SUNLIFEINS6/18/201532.6034,072.00NeutralBullishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral2
TITASGAS6/18/201568.30462,353.00NeutralBullishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral2
PADMAOIL6/18/2015237.0042,346.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral2
FIRSTFIN6/18/201512.7052,373.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
ICB3RDNRB6/18/20154.2040,610.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralOverbought4
PEOPLESINS6/18/201516.406,485.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
FUWANGCER6/18/201512.60166,235.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
FEKDIL6/18/201523.0045,672.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
PHOENIXFIN6/18/201519.2075,144.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralOversold1
EASTLAND6/18/201523.3025,081.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralOversold1
ONEBANKLTD6/18/201513.30389,784.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
ALLTEX6/18/201527.801,345,630.00NeutralBullishBullishBullishBullishBearishBearishBearishNeutralNeutralNeutral1
GRAMEENS26/18/201510.60123,451.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
PRIMEBANK6/18/201516.20485,644.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
AGNISYSL6/18/201528.50524,727.00NeutralBearishBearishBullishBearishBearishBearishBullishDecliningNeutralNeutral-4
NITOLINS6/18/201524.3017,740.00NeutralBullishBullishBullishBearishBearishBearishBullishNeutralNeutralOverbought1
NHFIL6/18/201522.305,580.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
DACCADYE6/18/2015Bullish sign Effort to Rise. 15.201,906,320.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralOverbought3
RSRMSTEEL6/18/201553.40246,886.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
RUPALILIFE6/18/201537.9095,294.00NeutralBullishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral1
NBL6/18/201511.201,014,560.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
CONTININS6/18/201514.2011,420.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralOversold1
ICBAMCL2ND6/18/20154.8044,800.00NeutralBullishBullishBullishBullishBullishBearishBearishNeutralNeutralOverbought1
SALAMCRST6/18/201530.10273,948.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
IFILISLMF16/18/20156.20568,820.00NeutralBullishBullishBullishBullishBullishBullishBullishDecliningNeutralNeutral7
SHAHJABANK6/18/201510.80155,581.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
SPPCL6/18/201553.40433,505.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralOversold1
HEIDELBCEM6/18/2015571.2072,185.00NeutralBullishBullishBullishBullishBullishBullishBearishNeutralNeutralNeutral4
ICBSONALI16/18/20156.2026,500.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralOverbought1
BDTHAI6/18/201538.901,212,750.00NeutralBullishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral1
BDCOM6/18/201526.50414,558.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
BBS6/18/201545.30543,914.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
UNITEDFIN6/18/201519.4039,879.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralOversold1
ABBANK6/18/2015Test for supply. Test for supply. 23.00674,129.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
ASIAPACINS6/18/201515.908,280.00NeutralBearishBullishBullishBullishBearishBullishBearishNeutralNeutralNeutral1
APOLOISPAT6/18/201519.102,880,230.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
KEYACOSMET6/18/201520.201,540,940.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
KPCL6/18/201569.801,552,270.00NeutralBearishBullishBullishBullishBearishBearishBearishNeutralNeutralOversold1
ALARABANK6/18/2015strength returning. Strength seen returning after a long down trend. 12.60360,528.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralOversold1
LANKABAFIN6/18/201528.40171,726.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
PRIMELIFE6/18/2015Confirms return of Strength. An Upbar closing near High.47.60430,883.00AboveTopBullishBullishBearishBearishBullishBearishBullishNeutralNeutralNeutral1
SALVOCHEM6/18/201516.70225,790.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral1
SAFKOSPINN6/18/201516.90658,576.00NeutralBullishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral0
UNIQUEHRL6/18/201554.70220,845.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral0
FIRSTSBANK6/18/20158.90919,859.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral0
PHARMAID6/18/2015258.3060,577.00NeutralBullishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral0
DELTALIFE6/18/2015110.30305,451.00NeutralBullishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral0
PRIMEINSUR6/18/201515.2017,050.00NeutralBullishBullishBullishBearishBearishBearishBullishNeutralNeutralOverbought0
POPULARLIF6/18/2015confirms strength. An Upbar closing near High. 85.8081,059.00NeutralBullishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral0
SINGERBD6/18/2015167.4062,662.00NeutralBullishBullishBullishBearishBullishBearishBullishNeutralNeutralNeutral4
FAMILYTEX6/18/2015Indicates weakness. High volume Downbar after an upmove on high volume. 15.506,472,300.00NeutralBullishBullishBearishBearishBullishBearishBullishNeutralNeutralOverbought0
UTTARAFIN6/18/201561.6094,520.00NeutralBearishBullishBullishBullishBearishBearishBearishNeutralNeutralOversold0
BENGALWTL6/18/2015A sign of Weakness. No Demand. A sign of Weakness. 63.0026,258.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral0
MAKSONSPIN6/18/20159.10326,728.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral0
AAMRATECH6/18/201533.60632,986.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral0
EMERALDOIL6/18/201536.00129,100.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral0
BSRMLTD6/18/201574.801,515,770.00NeutralBullishBearishBearishBullishBullishBearishBullishNeutralNeutralNeutral
ZAHINTEX6/18/201514.60233,655.00NeutralBullishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral4
METROSPIN6/18/20159.80128,154.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral0
ORIONPHARM6/18/201539.10344,928.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral0
ORIONINFU6/18/2015A sign of Weakness. No Demand. A sign of Weakness. 42.20120,647.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral0
MTB6/18/2015Test for supply. Test for supply. 16.9079,148.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralNeutral0
APEXSPINN6/18/201573.20115,785.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralNeutral5
BANGAS6/18/2015A sign of Weakness. No Demand. A sign of Weakness. 313.5021,268.00NeutralBullishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral0
TALLUSPIN6/18/201514.7092,600.00NeutralBullishBullishBullishBearishBearishBearishBearishNeutralNeutralNeutral0
HWAWELLTEX6/18/201531.9041,000.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral0
SQUARETEXT6/18/201574.0054,767.00NeutralBullishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral0
SOUTHEASTB6/18/201516.60477,859.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralOversold0
BGIC6/18/2015Confirms return of Strength. An Upbar closing near High.15.6012,493.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral0
GSPFINANCE6/18/201512.60280,756.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral0
GREENDELMF6/18/20153.9092,300.00NeutralBullishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral0
SINOBANGLA6/18/201521.50394,297.00NeutralBullishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral0
GRAMEEN16/18/201521.2027,100.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral0
CONFIDCEM6/18/201584.80102,397.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral0
GPHISPAT6/18/201544.9059,085.00NeutralBearishBullishBullishBullishBearishBearishBullishNeutralNeutralOverbought-1
AL-HAJTEX6/18/2015106.70595,099.00NeutralBullishBullishBullishBullishBullishBullishBullishNeutralNeutralOverbought5
ACIFORMULA6/18/2015225.50249,521.00NeutralBearishBullishBullishBullishBearishBearishBearishNeutralNeutralNeutral-1
BIFC6/18/201511.90175,976.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral-1
MJLBD6/18/2015110.30393,219.00NeutralBullishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral-1
TRUSTB1MF6/18/20154.90698,020.00NeutralBearishBullishBullishBullishBearishBearishBearishNeutralNeutralNeutral-1
PRIMETEX6/18/201515.60132,100.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralNeutral5
CITYGENINS6/18/201513.0037,255.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral-1
IFIC6/18/201519.80191,787.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralOversold-1
ZAHEENSPIN6/18/2015Sign of Weakness. Psuedo UpThrust. 22.70986,765.00NeutralBullishBullishBullishBullishBullishBullishBullishNeutralNeutralOverbought5
UNITEDAIR6/18/201510.0017,082,000.00NeutralBearishBullishBullishBullishBearishBearishBearishNeutralNeutralNeutral-1
INTECH6/18/201512.70190,536.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral-1
RUPALIINS6/18/2015A sign of Weakness. No Demand. A sign of Weakness. 16.2029,662.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralOversold-1
IPDC6/18/201515.0045,155.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral-1
FASFIN6/18/201511.8062,705.00NeutralBullishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral-1
AIMS1STMF6/18/201525.5063,172.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral-1
UTTARABANK6/18/2015strength returning. Strength seen returning after a long down trend. 19.80110,251.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral-1
POPULAR1MF6/18/20154.60267,469.00NeutralBullishBullishBullishBullishBearishBearishBearishNeutralNeutralOverbought-1
MALEKSPIN6/18/201516.30101,741.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral-1
DESHBANDHU6/18/201513.40359,192.00NeutralBullishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral-1
ENVOYTEX6/18/201546.7052,017.00NeutralBullishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-2
BSCCL 6/18/2015136.40396,671.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-2
1STPRIMFMF6/18/201511.3086,979.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-2
ABB1STMF6/18/20155.402,441.00NeutralBearishBullishBullishBearishBearishBearishBearishNeutralNeutralNeutral-2
KBPPWBIL6/18/201524.60444,143.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-2
FAREASTFIN6/18/201510.00276,438.00NeutralBearishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral-2
ISLAMICFIN6/18/201512.5075,159.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-2
ILFSL6/18/201511.00442,289.00NeutralBearishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral-2
LAFSURCEML6/18/2015116.10868,119.00NeutralBearishBullishBullishBullishBearishBearishBearishNeutralNeutralNeutral-2
PLFSL6/18/201514.80453,497.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-2
ATCSLGF6/18/20157.30120,645.00NeutralBullishBullishBullishBullishBullishBearishBullishNeutralNeutralNeutral5
ASIAINS6/18/2015Indicates strength. High volume upbar closing on the high. 17.50344,632.00NeutralBearishBullishBullishBearishBearishBearishBullishNeutralNeutralNeutral-2
MERCINS6/18/201513.1073.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-2
NCCBANK6/18/20159.90279,709.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-2
ICB6/18/2015106.0021,497.00NeutralBearishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral-2
CVOPRL6/18/2015346.8051,946.00NeutralBearishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral-2
PENINSULA6/18/201519.60362,127.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-2
FUWANGFOOD6/18/201521.30825,438.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-2
CNATEX6/18/201517.40732,431.00NeutralBullishBearishBearishBearishBullishBearishBullishNeutralNeutralOverbought-2
SUMITPOWER6/18/201541.401,513,340.00NeutralBearishBullishBullishBullishBearishBearishBearishNeutralNeutralNeutral-2
GP6/18/2015328.50265,953.00NeutralBullishBearishBearishBullishBullishBearishBearishNeutralNeutralNeutral-2
GLOBALINS6/18/2015Indicates strength. High volume upbar closing on the high. 14.1059,488.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-2
SAIHAMCOT6/18/201516.6080,850.00NeutralBearishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral-2
BSCCL6/18/2015136.40396,671.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-2
SAIHAMTEX6/18/201519.2087,517.00NeutralBearishBearishBearishBearishBullishBearishBullishNeutralNeutralNeutral-2
EXIMBANK6/18/20159.001,181,600.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralOversold-3
UCBL6/18/201519.80359,144.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-3
EHL6/18/201541.20230,794.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-3
EBL1STMF6/18/20154.9045,313.00NeutralBearishBullishBullishBullishBearishBearishBearishNeutralNeutralOverbought-3
JMISMDL6/18/2015156.7044,860.00NeutralBullishBearishBearishBearishBullishBearishBearishNeutralNeutralNeutral-3
PREMIERBAN6/18/20158.70326,459.00NeutralBearishBearishBullishBearishBearishBearishBearishNeutralNeutralOversold-3
GOLDENSON6/18/201529.30587,220.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralOversold-3
GBBPOWER6/18/201518.90248,470.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-3
MBL1STMF6/18/20153.7033,000.00NeutralBearishBearishBullishBearishBearishBearishBullishNeutralNeutralNeutral-3
JAMUNABANK6/18/201510.00405,017.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralOversold-3
SPCERAMICS6/18/20159.4015,432.00NeutralBearishBearishBearishBearishBullishBearishBearishNeutralNeutralOversold-3
SPCL6/18/2015141.9086,411.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralOversold-3
PUBALIBANK6/18/201518.80117,006.00NeutralBullishBearishBearishBearishBullishBearishBearishNeutralNeutralNeutral-3
GENNEXT6/18/201511.602,789,580.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
STANDBANKL6/18/20159.70422,509.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
CMCKAMAL6/18/201514.20151,337.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
NCCBLMF16/18/20153.70108,330.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
BARKAPOWER6/18/201532.501,031,420.00NeutralBearishBearishBullishBearishBearishBearishBearishNeutralNeutralOversold-4
PHENIXINS6/18/201521.7050,462.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
ISLAMIBANK6/18/201516.70269,863.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
LRGLOBMF16/18/20153.8052,260.00NeutralBearishBearishBullishBearishBearishBearishBearishNeutralNeutralNeutral-4
DBH1STMF6/18/20153.8056,349.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
FEDERALINS6/18/2015Confirms return of Strength. An Upbar closing near High.12.4042,911.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
ARGONDENIM6/18/201524.70255,138.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
BXSYNTH6/18/20158.0061,402.00NeutralBearishBearishBearishBearishBullishBearishBearishNeutralNeutralNeutral-4
BDFINANCE6/18/201510.00127,777.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
WMSHIPYARD6/18/201545.40769,430.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
HFL6/18/201523.50294,387.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
NFML6/18/201520.10409,228.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
PRIMEFIN6/18/201513.70191,778.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
ACTIVEFINE6/18/201555.50659,731.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
SIBL6/18/201513.40377,161.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
AIBL1STIMF6/18/20153.80209,050.00NeutralBearishBearishBearishBearishBullishBearishBearishNeutralNeutralNeutral-4
PRIME1ICBA6/18/20154.70154,500.00NeutralBullishBullishBullishBullishBullishBullishBullishNeutralNeutralOverbought6
CITYBANK6/18/201516.80601,682.00NeutralBearishBearishBearishBearishBearishBearishBullishNeutralNeutralNeutral-4
BAYLEASING6/18/201520.20139,654.00NeutralBearishBearishBearishBearishBearishBearishBearishNeutralNeutralOversold-5
MERCANBANK6/18/201510.30147,346.00NeutralBearishBearishBearishBearishBullishBearishBullishNeutralNeutralOverbought-5
EBL6/18/201525.70143,788.00NeutralBearishBearishBearishBearishBearishBearishBearishNeutralNeutralOversold-5
PURABIGEN6/18/201513.9039,570.00NeutralBearishBearishBearishBearishBearishBearishBearishNeutralNeutralOversold-5
UPGDCL6/18/2015156.80426,982.00NeutralBearishBearishBearishBearishBearishBearishBearishNeutralNeutralNeutral-6
ACI6/18/2015497.2079,220.00NeutralBearishBearishBearishBearishBearishBearishBearishNeutralNeutralNeutral-6
TUNGHAI6/18/201517.50258,572.00NeutralBearishBearishBearishBearishBearishBearishBearishNeutralNeutralNeutral-6
SHASHADNIM6/18/201537.60305,653.00NeutralBearishBearishBearishBearishBearishBearishBearishNeutralNeutralNeutral-6
ICBIBANK6/18/20153.90121,313.00NeutralBearishBearishBearishBearishBearishBearishBearishNeutralNeutralNeutral-7