SSP麟龙四色谱幅图
公式源码:
M3:MA(CLOSE,3),colorred,LINETHICK;
M13:MA(CLOSE,13),colorred,LINETHICK;
M34:MA(CLOSE,34),colorred,LINETHICK;
X:=BARSLAST(REF(CROSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120));
IF(M34 STICKLINE(M3 =M13 AND M34 =REF(M34,1) ,H ,L ,0.1 ,0 ),colorred;
STICKLINE(M3 =M13 AND M34 =REF(M34,1) AND C =O ,O ,C ,3 ,1 ),colorred;
STICKLINE(M3 =M13 AND M34 =REF(M34,1) AND C STICKLINE(M3=REF(M34,1) ,H ,L ,0.1 ,0),coloryellow;
STICKLINE(M3=REF(M34,1) AND C =O ,O ,C ,3 ,1 ),coloryellow;
STICKLINE(M3=REF(M34,1) AND C STICKLINE(M3 STICKLINE(M3=O ,O ,C ,3 ,1 ),colorgreen;
STICKLINE(M3 STICKLINE(M3 =M13 AND M34 STICKLINE(M3 =M13 AND M34=O ,O ,C ,3 ,1),colormagenta;
STICKLINE(M3 =M13 AND M34 {DRAWTEXT(X,MA(C,120)-0.13,'牛股'),colorred,LINETHICK3;};
DRAWTEXT_FIX(1,0.01,0.82,0,'仓位控制:绿色0%,紫色30%,红色70%,黄色30%'),colormagenta;