同花顺先知黄金主图指标 源码介绍
同花顺先知黄金主图指标 源码
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, '←卖');}
DRAWTEXT(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98, '←买'),colorwhite;
gd46459