指标先容:
2 B' s9 T6 l5 E6 {6 l/ P" X8 z$ ^7 A5 h) D
低位白线对黄线金叉时买入,高位白线对黄线死叉时卖出。 4 k3 a, U, z1 z5 ~7 |
1 V5 [" m8 S; P. M7 k
公式源码: 4 x4 u4 c$ O7 Y$ C
; j) y) _: ^( r+ J2 w
天马图H1:EMA(CLOSE,8);
/ k1 Z7 ^+ N) bH2:EMA(天马图H1,20);7 Q" _* d, X; v3 X7 W' p
LH:EMA(CLOSE,240),colorred;
% I Y8 T7 L, _" {. `Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
, q* ?/ ?* K, V6 K8 ZVar2:=SMA(Var1,5,1);
- {# e( F" u( j$ D+ MVar3:=SMA(Var2,8,1);: X0 U) o3 Z0 K
Var4:=CROSS(Var2,Var3) AND Var3LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND Var4;
- b) c2 ?: w- N/ m5 R- k5 LVar6:=IF(CLOSE>1000,Var4,Var5);
S% U# I* a" p/ F7 z( r4 _STICKLINE(天马图H1>H2,天马图H1,H2,1,1),coloryellow;
. b5 C. ~0 \1 X" iSTICKLINE(天马图H1>H2,天马图H1,H2,1,2),;
/ S/ Z L \ ?+ `, W% aSTICKLINE(天马图H1 DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.962,''),coloryellow;2 {; w3 s7 g% W5 g) _& F+ S
DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.98,'●'),colorwhite;
& ~- |- ^1 A% W( R0 W+ tDRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.952,''),colorred;
/ j% w0 K5 j G ~DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.982,'●'),colorred;
+ T( u* w- T1 r% q: O6 ^DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.98,'↑'),coloryellow; |