通达信双龙齐飞副图指标 源码 贴图
ABC0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
ABC3:=SMA(ABC0,3,1);
ABC1:=SMA(ABC3,4,1)-10;
ABC4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
ABC5:=SMA(ABC4,3,1);
ABC2:=SMA(ABC5,4,1)-90;
STICKLINE(REF(ABC1,1)<ABC1,ABC1,REF(ABC1,1),10,0),COLOR0000FF;
0, CIRCLEDOT;{公式网WWW.GPXIAZAI.COM}
STICKLINE(REF(ABC1,1)>ABC1,ABC1,REF(ABC1,1),5,0),COLOR00FF00;
STICKLINE(REF(ABC2,1)>ABC2,ABC2,REF(ABC2,1),10,0),COLOR0000FF;
双龙:=BARSLASTCOUNT((REF(ABC1,1)<ABC1) AND (REF(ABC2,1)>ABC2))=1;
STICKLINE(双龙,60,-60,1,1),COLORMAGENTA;
DRAWICON(双龙,0,9);
0,COLOR0000FF;
STICKLINE(REF(ABC2,1)<ABC2,ABC2,REF(ABC2,1),5,0),COLOR00FF00;
STICKLINE(CROSS(ABC1,ABC2),60,-60,2,0),COLORYELLOW;
DRAWICON(CROSS(ABC1,ABC2),0,23);
DRAWTEXT(双龙,18,' ★共振'),COLORMAGENTA;
DRAWTEXT(CROSS(ABC1,ABC2),18,' ★合一'),COLORWHITE;
|