同花顺庄送酒副图指标
源码
DRAWGBK(V>1,STRIP(RGB(60,100,255),RGB(180,180,255),1));
VAR2:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,6);
VAR5:=3*VAR3-2*VAR4;
AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,9);
VAR8:=HHV(HIGH,9);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,9);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
庄送酒:VAR9,colorred,POINTDOT;
STICKLINE(庄送酒>庄送酒 OR 庄送酒>REF(庄送酒,1),100,0,10,0),ColorFF0080;
STICKLINE(庄送酒<庄送酒 OR 庄送酒<REF(庄送酒,1),0,50,10),Color418200;
STICKLINE(VAR9>VARA,VAR9,VARA,8,0),COLOR6600FF;
STICKLINE(VAR9<=VARA,VAR9,VARA,8,0),ColorFBFB00;
STICKLINE(AA,0,30,40,1),coloryellow;
STICKLINE(AA,16,29,38,0),colorgreen;
STICKLINE(AA,1,14,38,0),colorgreen;
STICKLINE(AA,15,15,40,1),coloryellow;
STICKLINE(AA,30,50,10,0),coloryellow;
STICKLINE(AA,53,55,10,1),colorred;
STICKLINE(AA,57,59,10,1),colorred;
STICKLINE(AA,61,63,10,1),colorred;
STICKLINE(AA,65,67,10,1),colorred;
STICKLINE(AA,69,75,12,0),COLORFFCCCC;
DRAWTEXT(AA,85,'干杯'),coloryellow;
DRAWTEXT(AA,26,'五粮液'),coloryellow;
{DRAWTEXT(AA,12,'XO'),coloryellow;};