顶底主图(操作、拉升、阻力)
2011-03-05 10:21:00来源:本站整理浏览:123
顶底主图(操作、拉升、阻力)-指标公式源码
K:=(C+H+L)/3;
D:=MA(K,4);
操作:=D,COLORWHITE,LINETHICK2;
拉升:=HHV(D,13),COLORRED,LINETHICK2;
阻力:=HHV(D,55),COLORRED;
买卖:=LLV(D,8),COLORYELLOW,LINETHICK2;
顶部:=HHV(H*0.98,55),COLORYELLOW;
DRAWTEXT(REF(C,1)>D AND C<D AND D>REF(D,1),H*1.02, '←卖'),COLORGREEN;
DRAWTEXT(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98, '←买'),COLORRED;
DRAWTEXT(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98, '←买'),COLORRED;
- 上一篇公式:主力资金TDX(拉升资金、涨家数、跌家数)
- 下一篇公式:短线量能(副图)