波段操盘主-精品通达信指标公式源码分享
KB:=EMA(C,3)-EMA(C,18);
DB:=EMA(KB,3);
STICKLINE(KB>DB AND DB>REF(DB,1),HIGH,L,0.01,0),COLORRED;
STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,2.8,0),COLOR000055;
STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,2.2,0),COLOR000088;
STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,1.6,0),COLOR0000AA;
STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,1.0,0),COLOR0000CC;
STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,0.5,0),COLOR0000EE;
STICKLINE(KB<DB AND DB<REF(DB,1),HIGH,L,0.01,0),COLORCYAN;
STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,2.8,0),COLOR555500;
STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,2.2,0),COLOR888800;
STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,1.6,0),COLORAAAA00;
STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,1.0,0),COLORCCCC00;
STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,0.5,0),COLOREEEE00;
STICKLINE(KB>DB AND DB>REF(DB,1) AND KB<REF(KB,1),HIGH,L,0.01,0),COLORRED;
STICKLINE(KB>DB AND DB>REF(DB,1) AND KB<REF(KB,1),C,OPEN,2.8,1),COLORMAGENTA;
STICKLINE(KB>DB AND DB>REF(DB,1) AND KB<REF(KB,1),C,OPEN,2.3,1),COLORMAGENTA;
STICKLINE(KB>DB AND DB>REF(DB,1) AND KB<REF(KB,1),C,OPEN,1.8,1),COLORMAGENTA;
STICKLINE(KB>DB AND DB>REF(DB,1) AND KB<REF(KB,1),C,OPEN,1.3,1),COLORMAGENTA;
STICKLINE(KB>DB AND DB>REF(DB,1) AND KB<REF(KB,1),C,OPEN,0.8,1),COLORMAGENTA;
STICKLINE(KB<DB AND DB<REF(DB,1) AND KB>REF(KB,1),HIGH,L,0.01,0),COLORCYAN;
STICKLINE(KB<DB AND DB<REF(DB,1) AND KB>REF(KB,1),C,OPEN,2.8,1),COLORYELLOW;
STICKLINE(KB<DB AND DB<REF(DB,1) AND KB>REF(KB,1),C,OPEN,2.3,1),COLORYELLOW;
STICKLINE(KB<DB AND DB<REF(DB,1) AND KB>REF(KB,1),C,OPEN,1.8,1),COLORYELLOW;
STICKLINE(KB<DB AND DB<REF(DB,1) AND KB>REF(KB,1),C,OPEN,1.3,1),COLORYELLOW;
STICKLINE(KB<DB AND DB<REF(DB,1) AND KB>REF(KB,1),C,OPEN,0.8,1),COLORYELLOW;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!