第一部分 副图公式 手机/电脑
短线压力:HHV(MA(H,11),15),COLOR0090E0;
CHA1:=LLV(MA(H,11),1);
趋势线:IF(CHA1>=短线压力,短线压力,CHA1),COLORFFFFFF;
X1:=(3*C+H+L+O)/6;X2:=EMA(X1,10);X3:=REF(X2,1);
CHB1:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
CHB2:=POW(MA(LOW,5),2)+MA(LOW,5);
CHB3:=POW(MA(HIGH,5),2)+MA(HIGH,5);
CHB4:=(CHB1-LLV(CHB2,9))/(HHV(CHB3,9)-LLV(CHB2,9))*150+65;
DK:=SMA(CHB4,3,1)*1.5;DD:=SMA(DK,3,1);DJ:=3*DK-2*DD;
CHB5:=EMA(CLOSE,12) - EMA(CLOSE,26);
CHB6:=EMA(CHB5,9);CHB7:=2*(CHB5-CHB6);
CHB8:=REF(CHB7,1);
CHB9:=CROSS(CHB8,CHB7) AND CHB8>0;
DRAWTEXT(CHB9 AND DJ>250,H,'←减仓'),COLORBCFF8B;
CAIH11:=EMA(CLOSE,8);
CAIH5:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
CAIH6:=SMA(CAIH5,5,1);CAIH7:=SMA(CAIH6,8,1);
CAIH8:=CROSS(CAIH6,CAIH7) AND CAIH7LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND CAIH8;
CAIHA:=IF(CLOSE>1000,CAIH8,CAIH9);出逃:=CAIHA;
STICKLINE(X2>X3,X2*0.98,X2,6,1),COLOR0000FF;
STICKLINE(X2
CAIH1:=INDEXC;CHA11:=EMA(CLOSE,10)/100;
CHA4:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
DRAWTEXT(IF(CROSS(3*CHA4-2*SMA(CHA4,3,1),8),87,0)
AND X2>X3,L-0.1,'←●反弹'),COLORGREEN;
DRAWTEXT(IF(CROSS((CAIH11-LLV(CAIH1,4))/(HHV(CAIH11,4)-LLV
(CAIH11,4))*4*25,87.5) AND?CAIH1X3,L-0.2,'←●短线'),COLORFFBBD8;
DRAWTEXT(CROSS(CAIH1,10) AND X2>X3,L-0.3,'←●买入'),COLOR89B2FF;
DRAWTEXT(IF(CROSS(2*(EMA((CLOSE*2+HIGH+LOW)/4,12)-EMA
((CLOSE*2+HIGH+LOW)/4,26)-EMA(EMA((CLOSE*2+HIGH+LOW)/
4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26),2))*5.8,0.47),LOW,0)
AND X2>X3,L-0.4,'←●加仓'),COLORFF5ED8;
DRAWTEXT(出逃>0,H*1.04,'●←出逃'),COLOR7FFFD6;
第二部分 选股公式 |