{红点妖王}
MB1:=EMA(WINNER(C)*100,5),COLORYELLOW;
MB2:EMA(MB1,2),COLORBLUE;
MB3:EMA(MB2,2),COLORBLUE;
MB4:EMA(MB3,2),COLORBLUE;
MB5:EMA(MB4,2),COLORBLUE;
MB6:EMA(MB5,2),COLORBLUE;
MB7:EMA(MB6,2),COLORBLUE;
MB8:EMA(MB7,2),COLORBLUE;
MB9:EMA(MB8,2),COLORBLUE;
MB10:EMA(MB9,2),COLORBLUE;
MB11:EMA(MB10,2),COLORBLUE;
MB12:EMA(MB11,2),COLORBLUE;
MB13:EMA(MB12,2),COLORBLUE;
MB14:EMA(MB13,2),COLORBLUE;
N:=5;
VAR2:MB1;
VAR3:DRAWLINE(VAR2 =HHV(VAR2,N)=1,VAR2,VAR2 =LLV(VAR2,N)=1,VAR2,1);
XG:=REF(VAR2,1)=REF(VAR3,1) AND VAR2 REF(VAR2,1);
STICKLINE(VAR2=VAR3 AND VAR2 MB4,VAR2,VAR2+10,1,0)COLORYELLOW;
STICKLINE(XG,VAR2,VAR2+10,1,0),COLORRED;
{智能水手}
P1:=5;
P2:=4;
VAR11:=LLV(LOW,P1);
VAR21:=HHV(HIGH,P1);
XY_SZQQS1:=EMA((CLOSE-VAR11)/(VAR21-VAR11)*100,P2);
XY_SZQQS2:=EMA(0.667*REF(XY_SZQQS1,1)+0.333*XY_SZQQS1,2);
XY_SDFX:=XY_SZQQS1;
XY_SKFX:=XY_SZQQS2;
STICKLINE((XY_SDFX XY_SKFX AND REF(XY_SDFX,1) REF(XY_SKFX,1)),0,6,2,0),COLOR0000FF;
STICKLINE((XY_SDFX XY_SKFX AND REF(XY_SDFX,1) REF(XY_SKFX,1)),0,3,2,0),COLORYELLOW;
STICKLINE((XY_SDFX XY_SKFX AND REF(XY_SDFX,1) REF(XY_SKFX,1)),0,4,2,0),COLORGREEN;