指标源码: RA:=LLV(LOW,35); RB:=HHV(HIGH,30); RC:=EMA((CLOSE-RA)/(RB-RA)*4,4)*25; QS:RC,COLORWHITE; STICKLINE(RC < 10 AND 100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)) > 97,0,25,2,1),COLORFF00FF; STICKLINE(RC > 90,100,85,2,1),COLOR009F00; RD:=87.5; RE:=(RC-LLV(RC,4))/(HHV(RC,4)-LLV(RC,4))*4*25; DRAWTEXT(IF(CROSS(QS,RD) AND RE=100,50,0),56,'目标'); DRAWTEXT(IF(CROSS(RD,QS),87,0),85,'跑');
DRAWTEXT(IF(CROSS(QS,RE) AND QS > 87,87,0),70,'卖'); R6:=(2*CLOSE+HIGH+LOW)/4; R8:=LLV(LOW,30); RAA:=HHV(HIGH,30); B:=EMA((R6-R8)/(RAA-R8)*100,8); B1:=EMA(B,5); STICKLINE(B > 0 AND B-B1 >= 0,79,80,1,0),COLORWHITE; STICKLINE(B > 0 AND B-B1 < 0,79,80,1,0),COLORCYAN; STICKLINE(B > 0 AND B-B1 >= 0,49,50,1,0),COLORRED; STICKLINE(B > 0 AND B-B1 < 0,49,50,1,0),COLORRED; STICKLINE(B > 0 AND B-B1 >= 0,19,20,1,0),COLORWHITE;
STICKLINE(B > 0 AND B-B1 < 0,19,20,1,0),COLORCYAN; STICKLINE(B-B1 > 0,B,B1,3,1),COLOR4D4DFF; STICKLINE(B-B1 < 0,B,B1,3,1),COLORWHITE; V1:=(2*CLOSE+HIGH+LOW)/4; V2:=LLV(LOW,21); VA:=HHV(HIGH,34); FB:=EMA((V1-V2)/(VA-V2)*100,13); FBB:=EMA((0.667*REF(FB,1)+0.333*FB),2); ZLX:EMA(0.382*REF(FB,2)+0.618*FB,12),COLORFF0000;
|