第一部分 副图公式 手机/电脑
CAIH2:=REF(LOW,1);
CAIH3:=SMA(ABS(LOW-CAIH2),13,1)/SMA(MAX(LOW-CAIH2,0),13,1)*100;
CAIH4:=EMA(IF(CLOSE*1.2,CAIH3*13,CAIH3/13),13);
CAIH5:=LLV(LOW,34);
CAIH6:=HHV(CAIH4,34);
CAIH7:=IF(LLV(LOW,56),1,0);
CAIH8:=EMA(IF(LOWREF(CAIH8,1);
DJ:=REF(LLV(L,100),3);
ZD:=REFDATE(DJ,DATE);TJ:=L=ZD;
TJA:=AA AND TJ,COLORRED,LINETHICK2;
TJ1:=TJA>REF(TJA,1);
牛股:TJ1>REF(TJ1,1),COLORYELLOW,NODRAW;
STICKLINE(FILTER(牛股>=1,5),45,0,4,0),COLORYELLOW;
DRAWTEXT(FILTER(牛股=1,5),36,'牛股'),COLORRED;
STICKLINE(牛股,15,6,1,0),COLOR00FF00;
STICKLINE(牛股,6,0,2,0),COLORBLUE;
CAIHA3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
CHB3:=EMA(CAIHA3,3)-10,COLORRED;
CAIHB7:=LLV(LOW,30);
CAIHA11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*20;
CAIHA12:=HHV(CAIHA11,30)*20;
火焰山:=EMA(IF(LOW<=CAIHB7 AND CHB30,0,火焰山*1.2,1,0),COLORLIRED;
CAIH01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5),COLORWHITE;
CAIH02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
买入:20*(REF(CROSS(CAIH01,CAIH02),1)AND CAIH01>CAIH02 AND CAIH02
第二部分 选股公式 |