第一部分 副图公式 手机/电脑
CAIH1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
CAIH2:=EMA(CAIH1,35);
CAIH3:=(HHV(CAIH2,10)+HHV(CAIH2,30)+HHV(CAIH2,90))/3;
CAIH4:=(LLV(CAIH2,10)+LLV(CAIH2,30)+LLV(CAIH2,90))/3;
CAIH5:=(HHV(CAIH3,5)+HHV(CAIH3,15)+HHV(CAIH3,30))/3;
CAIH6:=(LLV(CAIH4,5)+LLV(CAIH4,15)+LLV(CAIH4,30))/3;
CAIH7:=EXPMA(CLOSE,6);
CAIH8:=EXPMA(CLOSE,18);
CHA1:=500*(CAIH7-CAIH8)/CAIH8+2;
CHA2:=EMA(CHA1,3);
CHA3:=CHA1>2 AND EMA(EMA(CAIH1,2),2)>CAIH6;
追涨:CHA3 AND CHA3>=REF(CHA3,1),COLORMAGENTA,NODRAW;
STICKLINE(追涨,1.46,2,8,0),COLORMAGENTA;
CHA4:=CHA1<0 OR CHA2<0 OR EMA(EMA(CAIH1,2),2)
STICKLINE(CHA4,1.46,2,8,1),COLORLICYAN;
STICKLINE(CHA10 AND CHA1
STICKLINE(CHA2>0 AND CHA20 AND CHA1REF(CHA1,1),1.46,2,8,1),COLORLIRED;
CHB4:=INDEXC;
CHB6:=(3*CLOSE+HIGH+LOW+OPEN)/6;
CHB7:=EMA(CHB6,35);
CHB8:=(HHV(CHB7,5)+HHV(CHB7,15)+HHV(CHB7,30))/3;
牛:=(HHV(CHB8,5)+HHV(CHB8,15)+HHV(CHB8,30))/3;
CHB11:=CHB4/EMA(CHB4,120);
大盘:=EMA(EMA(CLOSE,120)*CHB11,2);
CHB12:=CHB6>=牛 AND CHB6>=大盘;
强势:CHB12=1,COLORMAGENTA,NODRAW;
CHB13:=CHB6=大盘 AND 牛>大盘;
CHB14:=CHB6<=大盘 AND CHB6=牛 AND CHB6<大盘 AND 牛REF(CHC2,1) AND CHC2>0,COLORRED,NODRAW;
STICKLINE(红龙,0,0.67,8,0),COLORRED;
STICKLINE(CHC20,0,0.67,8,0),COLORYELLOW;
STICKLINE(CHC2
STICKLINE(CHC2>REF(CHC2,1) AND CHC2=1.038 AND C=H;
CAD22:=COUNT(CAD1,2)>=1 AND NOT(COUNT(CAD1,3)>=2);
启:=FILTER(CAD22,13),COLORDDDDDD;
CAD23:=COUNT(CAD1,3)>=2 AND NOT(COUNT(CAD1,4)>=3);
龙头:启 AND COUNT(启,18)=1,COLORWHITE,NODRAW;
STICKLINE(龙头,0,2,3,0),COLORWHITE;
DRAWICON(龙头,2.5,17);
DRAWICON(龙头,3,17);
DRAWTEXT(龙头,3,'强龙'),COLORWHITE;
升:=FILTER(CAD23,13),COLORGREEN;
主升:=升 AND COUNT(升,18)=1;
拉升:主升,COLORYELLOW,NODRAW;
STICKLINE(拉升,0,2,3,0),COLORYELLOW;
DRAWICON(拉升,2.5,25);
DRAWICON(拉升,3,25);
DRAWICON(拉升,3.5,25);
DRAWICON(拉升,4.5,1);
DRAWTEXT(拉升,5.5,'买涨'),COLORYELLOW;
第二部分 选股公式 |