{N1(2,250,5)}{N2(2,150,10)}
SHI:=REF(CLOSE,1);
SHOU:SMA(MAX(CLOSE-SHI,0),N1,1)/SMA(ABS(CLOSE-SHI),N1,1)*100;
TOU:SMA(MAX(CLOSE-SHI,0),N2,1)/SMA(ABS(CLOSE-SHI),N2,1)*100;
FILLRGN(shou,tou,shou>=tou,rgb(255,255,0),shou<tou,rgb(0,255,0));
AA:95,COLORRED;
BB:90,COLORMAGENTA;
CC:45,COLORWHITE;
DD:80,COLORYELLOW;
EE:10,COLORGREEN;
DRAWTEXT(BARSTATUS=2,AA,'清仓');
DRAWTEXT(BARSTATUS=2,BB,'减仓');
DRAWTEXT(BARSTATUS=2,DD,'警觉');
FILLRGN(shou,dd,shou>=dd,rgb(255,0,0));
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
HY1:=REF(EMA(V1,3),1);
股神:=CROSS(CLOSE,HY1);
DRAWTEXT(股神,50,'出刀'),ALIGN1,VALIGN2,coloryellow;
STICKLINE(股神,40,0,2,0),COLORFF00FF;