主力净流入:=IF(DATE<1340830 AND DATE>900101,1,0);
选股指标公式:=IF(MONTH<12,1,100000);
gfffd3:=(2*CLOSE+HIGH+LOW)/4;
gfffd4:=LLV(LOW,34);
gfffd5:=HHV(HIGH,34);{炒股公式-炒股指标www.gs6699.com}
gfffda1: EMA((gfffd3-gfffd4)/(gfffd5-gfffd4)*100,13),LINETHICK2,COLOR00FF99;
gfffda2: EMA(0.667*REF(gfffda1,1)+0.333*gfffda1,2),LINETHICK2,COLORYELLOW;
gfffda3: 50*主力净流入, CROSSDOT;
DRAWTEXT(CROSS(gfffda1,gfffda2) AND gfffda1<22,20,''),COLORWHITE,LINETHICK7 ;
DRAWICON(CROSS(gfffda1,gfffda2) AND gfffda1<22,25,1);
DRAWTEXT(CROSS(gfffda1,30) AND gfffda2<gfffda1,40,''),COLORYELLOW, LINETHICK4;
DRAWICON(CROSS(gfffda1,30) AND gfffda2<gfffda1,35,1);
DRAWTEXT(CROSS(gfffda1,65) AND gfffda2<gfffda1,55,''),COLORRED ,LINETHICK4 ;
DRAWICON(CROSS(gfffda1,65) AND gfffda2<gfffda1,70,2);
DRAWTEXT(CROSS(gfffda1,75) AND gfffda2<gfffda1,67,''),COLOR66FF99 ,LINETHICK4 ;
DRAWICON(CROSS(gfffda1,75) AND gfffda2<gfffda1,80,2);
DRAWTEXT(CROSS(gfffda2,gfffda1) AND gfffda2>75,80,''),COLORGREEN ,LINETHICK7 ;
DRAWICON(CROSS(gfffda2,gfffda1) AND gfffda2>75,85,2);
gfffda4: IF(CROSS(gfffda1,gfffda2) AND gfffda1<40,25,10),COLORRED,LINETHICK2;
gfffda8: IF(CROSS(gfffda2,gfffda1) AND gfffda2>75,75,90),COLORGREEN,LINETHICK2;