{彩龙现身}
GSPT:=(3*CLOSE+LOW+OPEN+HIGH)/6;
A:(20*GSPT+19*REF(GSPT,1)+18*REF(GSPT,2)+17*REF(GSPT,3)+16*REF(GSPT,4)
+15*REF(GSPT,5)+14*REF(GSPT,6)+13*REF(GSPT,7)+12*REF(GSPT,8)+11*REF(GSPT,9)
+10*REF(GSPT,10)+9*REF(GSPT,11)+8*REF(GSPT,12)+7*REF(GSPT,15)+6*REF(GSPT,14)
+5*REF(GSPT,13)+4*REF(GSPT,16)+3*REF(GSPT,17)
+2*REF(GSPT,18)+REF(GSPT,20))/210,COLORRED,LINETHICK2;
B:MA(A,6),COLORGREEN,LINETHICK2;
DRAWBAND(A,RGB(240,140,240),B,RGB(255,255,0));
趋势:EMA(C,50),LINETHICK2;
IF(趋势>=REF(趋势,1),趋势,DRAWNULL),COLORRED,POINTDOT,LINETHICK8;
IF(趋势<REF (趋势,1),趋势,DRAWNULL),COLORFFD700,POINTDOT,LINETHICK8;