简单明了,对波段明显的个股,效果更佳。
用法:红K线持股,蓝K线持币。粉K线为转跌警惕信号,黄K线为转涨警惕信号。
源码:
C/C++ Code复制内容到剪贴板
- 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;