强势反弹副图公式 源码同花顺公式
公式源码
QWX1:=HHV(CLOSE,30);
QWX2:=LLV(CLOSE,30);
QWX3:=CONST((QWX1+QWX2)/2);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI20:((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)))*60+QWX3, COLORYELLOW;
K:=SMA(CCI20,3,1);
D:=SMA(K,3,1);
LJ2:=((C-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100)*60+QWX3;
LJF2:=(EMA(LJ2,3));
顶部:150*60+QWX3,COLOR999599,LINETHICK5;
超跌:-175*60+QWX3,COLOR999500,LINETHICK5;
DRAWBAND(K,RGB(255,50,100),D,RGB(0,200,0));
IF(CCI20<REF(CCI20,1),CCI20,DRAWNULL),COLORFFFF00,LINETHICK1;
IF(CCI20>REF(CCI20,1),CCI20,DRAWNULL),COLOR0000EA,LINETHICK2;
STICKLINE(CCI20<=-185*60+QWX3,-185*60+QWX3,-200*60+QWX3,2,0),COLOREE77EE;
STICKLINE(CCI20>=150*60+QWX3,158*60+QWX3,172*60+QWX3,2,0),COLOR00FFFF;
强势买入:STICKLINE(C,100*60+QWX3,100*60+QWX3,-1,0),COLORLIMAGENTA;
反弹买入:STICKLINE(C,-100*60+QWX3,-100*60+QWX3,-1,0),COLOR0099FF;
DRAWICON(CROSS(CCI20,-170*60+QWX3) AND LJF2<18*60+QWX3,-175*60+QWX3,1);
DRAWICON(CROSS(CCI20,-100*60+QWX3) AND CROSS(K,D),-121*60+QWX3,34);
DRAWICON(CROSS(CCI20,-100*60+QWX3) AND K>-100*60+QWX3,-111*60+QWX3,38);
DRAWICON(CROSS(CCI20,-100*60+QWX3) AND K>-100*60+QWX3 AND CROSS(LJF2,18*60+QWX3),-175*60+QWX3,9);