{福之心知肚明}
田:=(CLOSE*2+HIGH+LOW+O)/10;
福:=EMA(田,2)-EMA(田,5);
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),21,1)/SMA(Abs(CLOSE-AA),21,1)*10;
HHH:=BBB-LLV(BBB,27);
CCC:=LLV(BBB,27)-BBB;
心: (MA(HHH,2)*3+HHH*13)/16,COLORFF00FF,LINETHICK3;
知:MA(HHH,4),LINETHICK1,COLORGREEN;
肚: (MA(CCC,2)*3+CCC*13)/16,COLORFF00FF,LINETHICK3;
明:MA(CCC,4),LINETHICK1,COLORGREEN;
DRAWBAND(明,RGB(150,50,150),知,RGB(250,50,150));
DRAWBAND(明,RGB(100,50,150),肚,RGB(100,250,50));
DRAWBAND(心,RGB(100,50,150),知,RGB(100,250,50));
量比:=EMA(福,3);
量2:=-2*(福-量比)*5,COLOR8000FF,LINETHICK3;
量1:=2*(福-量比)*5,COLOR8000FF,LINETHICK3;
DRAWBAND(量2,RGB(100,150,50),量1,RGB(250,50,150));
DRAWTEXT(crOSS(量2,-1.50),-2,'福作品'),COLOR005295;
GT:=福,COLORYELLOW,LINETHICK3;
MA81:=MA(量比,2);
SJ1:=BArslAST(CROSS(GT,MA81))+1;
SJ2:=BARSLAST(CROSS(MA81,GT))+1;
有心:IF(SJ1<=SJ2,REF(SJ2,1),0)/30,COLOR80FFFF,LINETHICK3;
肚里明:IF(SJ1<=SJ2,0-REF(SJ2,1),0)/30,COLOR80FFFF,LINETHICK3;
DRAWTEXT(CROSS(GT,肚里明),0,'心福'),COLORYELLOW;