九毛八公式指标
通达信彩色KD指标-KD共振指标,改成大智慧,也把彩色去掉看了简单点,辛苦老师了 VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; K13:SMA(VAR13,3,1); D13:SMA(K13,3,1); DRAWBAND(K13,RGB(255,255,0),D13,RGB(0,255,0)); {STICKLINE(K13>D13,K13,D13,8,0),COLOR0055AA; STICKLINE(K13>D13,K13,D13,5,0),COLOR0077CC; STICKLINE(K13>D13,K13,D13,3,0),COLOR0099DD; STICKLINE(K13>D13,K13,D13,1,0),COLOR01BEE7; STICKLINE(K13<=D13,K13,D13,8,0),COLOR006600; STICKLINE(K13<=D13,K13,D13,5,0),COLOR009900; STICKLINE(K13<=D13,K13,D13,3,0),COLOR00BB00; STICKLINE(K13<=D13,K13,D13,1,0),COLOR00CC00;} VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; K55:SMA(VAR55,3,1); D55:SMA(K55,3,1); DRAWBAND(K55,RGB(255,0,0),D55,RGB(0,0,255)); {STICKLINE(K55>D55,K55,D55,7,0),COLOR000045; STICKLINE(K55>D55,K55,D55,5,0),COLOR000085; STICKLINE(K55>D55,K55,D55,3,0),COLOR0000C5; STICKLINE(K55>D55,K55,D55,1,0),COLOR0000E5; STICKLINE(K55<=D55,K55,D55,7,0),COLOR353500; STICKLINE(K55<=D55,K55,D55,5,0),COLOR555500; STICKLINE(K55<=D55,K55,D55,3,0),COLOR757500; STICKLINE(K55<=D55,K55,D55,1,0),COLOR858500;} 20,COLORWHITE; 80,COLORWHITE; DIBU:= K13<20 and d13<20 k55<20 d55<20; stickline(dibu =1,80,60,5.8,1),COLORRED; tobu: =K13>80 AND D13>80 AND K55>80 AND D55>80; STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;
公式模块:
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:SMA(VAR13,3,1); D13:SMA(K13,3,1); VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; K55:SMA(VAR55,3,1); D55:SMA(K55,3,1); 20,COLORWHITE; 80,COLORWHITE; DIBU:= K13<20 AND D13<20 AND K55<20 AND D55<20; STICKLINE(DIBU=1,80,60,5.8,1),COLORRED; TOBU:= K13>80 AND D13>80 AND K55>80 AND D55>80; STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;
20>