变盘三角,很不错的指标,希望大家喜欢!
指标使用方法想信大家一目了然。
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
周K:=MA("KDJ.K#WEEK"(9,3,3),5);
周D:=MA("KDJ.D#WEEK"(9,3,3),5);
周J:=MA("KDJ.J#WEEK"(9,3,3),5);
关注区:STICKLINE(周J>=REF(周J,1) AND 周J<0,-50,50,5,0),COLORAA66CC;
{STICKLINE(周J>=REF(周J,1) AND 周J>=0,50,150,5,0),COLORCC99CC;}
AA:-BARSLAST(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1))*8+50,COLOR0000FF,LINETHICK5;
BB:BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1))*8+50,COLORFF0000,LINETHICK5;
{DRAWBAND(REF(AA,1),RGB(200,105,255),AA,RGB(200,65,180));}
DRAWBAND(50,RGB(0,255,0),AA,RGB(0,0,0));
{DRAWBAND(BB,RGB(50,0,0),REF(BB,1),RGB(0,0,255));}
DRAWBAND(BB,RGB(255,0,0),50,RGB(0,0,0));
STICKLINE(周K>=周D,50,2*(周K-周D)+50,0.01,0),COLORCC0099;
STICKLINE(周K<周D,50,2*(周K-周D)+50,0.01,0)*2,COLORCC0000;
STICKLINE(K>=D,50,2*(K-D)+50,0.01,0)*2,COLORFF00FF;
STICKLINE(K<D,50,2*(K-D)+50,0.01,0)*2,COLOR00FF00;
周J1:MA("KDJ.J#WEEK"(9,3,3) ,5),COLORFF0000,LINETHICK2;
周J超买超卖:IF(周J1>=REF(周J1,1),周J1,DRAWNULL),COLOR00FFFF,LINETHICK2;