同花顺L2决策密码副图指标 源码介绍
同花顺L2决策密码副图指标 源码
从网上找的参考指标,不能作为买卖依据,参考为主。
Var1:=AMOUNT/VOL;
A:=SMA(Var1,5,1)-SMA(Var1,55,1);
B:=SMA((A-SMA(A,5,1)),5,1);
STICKLINE(C,H,L,0,1),colorgreen;
STICKLINE(C>=O,O,C,8,1),colorgreen;
STICKLINE(C<O,O,C,8,0),colorgreen;
STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),H,L,0,1),colorred;
STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1) AND C>=O,O,C,8,1),colorred;
STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1) AND C<O,O,C,8,0),colorred;
STICKLINE(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),H,L,0,1),colorwhite;//白色1
STICKLINE(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1) AND C>=O,O,C,8,1),colorwhite;
STICKLINE(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1) AND C<O,O,C,8,0),colorwhite;
STICKLINE(A<REF(A,3) AND B<REF(B,3),H,L,0,1),colorgreen;
STICKLINE(A<REF(A,3) AND B<REF(B,3) AND C>=O,O,C,8,1),colorgreen;
STICKLINE(A<REF(A,3) AND B<REF(B,3) AND C<O,O,C,8,0),colorgreen;
STICKLINE(A>REF(A,1) AND B<REF(B,1),H,L,0,1),colorwhite;//白色2 也可以自己改为白色,我只是为了区别一下三种不同的白色,用了一个不同的颜色
STICKLINE(A>REF(A,1) AND B<REF(B,1) AND C>=O,O,C,8,1),colorwhite;
STICKLINE(A>REF(A,1) AND B<REF(B,1) AND C<O,O,C,8,0),colorwhite;
STICKLINE((A<REF(A,1) AND B>REF(B,1)),H,L,0,1),colorwhite;//白色3www.guziyuan.cn
STICKLINE((A<REF(A,1) AND B>REF(B,1)) AND C>=O,O,C,8,1),colorwhite;
STICKLINE((A<REF(A,1) AND B>REF(B,1)) AND C<O,O,C,8,0),colorwhite;
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,27),linethick1,Color00FFFF;
DRAWTEXT(CROSS(指导线,界),界,'↑★'),ALIGN1,VALIGN0,colorred;
DRAWTEXT(CROSS(界,指导线),界,'↓★'),ALIGN1,colorcyn;
gd45999