第一部分 副图公式 手机/电脑
顶部压力:HHV(MA(H,11),50),COLOR00FFFF;
短线压力:HHV(MA(H,11),15),COLOR0090E0;
CHA1:=LLV(MA(H,11),1);
趋势线:IF(CHA1>=短线压力,短线压力,CHA1),COLORFFFFFF;
CHB1:=(3*C+H+L+O)/6;CHB2:=EMA(CHB1,10);CHB3:=REF(CHB2,1);
CHB4:=(REF(HIGH,1)+REF(LOW,1))/2;
CHB5:=MA(CLOSE,21)+2*STD(CLOSE,21);
CHB6:=REF(CLOSE,1);
CHB7:=SMA(MAX(CLOSE-CHB6,0),7,1)/SMA(ABS(CLOSE-CHB6),7,1)*100;
CHB8:=CROSS(79,CHB7);
CHC1:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
CHC2:=POW(MA(LOW,5),2)+MA(LOW,5);
CHC3:=POW(MA(HIGH,5),2)+MA(HIGH,5);
CHC4:=(CHC1-LLV(CHC2,9))/(HHV(CHC3,9)-LLV(CHC2,9))*150+65;
DK:=SMA(CHC4,3,1)*1.5;DD:=SMA(DK,3,1);DJ:=3*DK-2*DD;
CHC5:= EMA(CLOSE,12) - EMA(CLOSE,26);
CHC6:= EMA(CHC5,9);CHC7:= 2*(CHC5-CHC6);
CHC8:= REF(CHC7,1);CHC9:= CROSS(CHC8,CHC7) AND CHC8>0;
DRAWTEXT(CHC9 AND DJ>250,H,'←减仓'),COLORBCFF8B;
CAIH11:=EMA(CLOSE,8);CAIH2:=EMA(CAIH11,20);
CAIH3:=CROSS(CAIH11,CAIH2);
CAIH4:=CAIH11
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);
买入:=CAIH3 AND CAIH4;逃顶:=CAIHA;
STICKLINE(CHB2>CHB3,CHB2*0.98,CHB2,6,1),COLOR0000FF;
STICKLINE(CHB2
CAIH1:=INDEXC;CHA11:=EMA(CLOSE,10)/100;
CHA2:= MA((CHA11-REF(CHA11,10))/REF(CHA11,10),3)*100;
CHA3:= MA(CHA2,3);
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 CHB2>CHB3,L-0.1,'←●反弹'),COLORGREEN;
DRAWTEXT(IF(CROSS((CAIH11-LLV(CAIH1,4))/(HHV(CAIH11,4)-LLV(CAIH11,4))*4*25,87.5) AND CAIH1CHB3,L-0.2,'←●短买'),COLORFFBBD8;
DRAWTEXT(CROSS(CAIH1,10) AND CHB2>CHB3,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 CHB2>CHB3,L-0.4,'←●加仓'),COLORFF5ED8;
DRAWTEXT(买入>0,L,'★买入'),COLOR00FF00;
STICKLINE(买入>0,C*1.05,C,7,0),COLORRED;
DRAWTEXT(逃顶>0,H*1.04,'●←逃顶'),COLOR7FFFD6;
第二部分 选股公式 |