【通达信免费源码】红山绿水指标 主图 操盘控盘
LL:LLV(MA(L,10),LLV(MA(L,30),MA(L,120))),COLORYELLOW;
HH:HHV(MA(H,10),HHV(MA(H,30),MA(H,120))),COLORGREEN;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,8,0),COLORMAGENTA;
SS:=LLV(LLV(L,60),LLV(LLV(L,120),LLV(L,250))),COLORWHITE;
DF:=EMA(CLOSE,12) - EMA(CLOSE,26),COLORWHITE;
DA:=EMA(DF,9),COLORLIBLUE;
MACD:=2*(DF-DA),NODRAW;
STICKLINE(DA>0 AND MACD>0 AND MACD>REF(MACD,1),SS,SS+MACD,8,0) ,COLORRED;
STICKLINE(DA>0 AND MACD>0 AND MACD<REF(MACD,1),SS,SS+MACD,8,0) ,COLORLIBLUE;
STICKLINE(DA>0 AND MACD<0 AND MACD>REF(MACD,1) ,SS,SS-MACD,8,0),COLORGREEN;
STICKLINE(DA>0 AND MACD<0 AND MACD<REF(MACD,1) ,SS,SS-MACD,8,0),COLORGREEN;
STICKLINE(DA<0 AND MACD>0 AND MACD>REF(MACD,1),SS,SS-MACD,8,0) ,COLORRED;
STICKLINE(DA<0 AND MACD>0 AND MACD<REF(MACD,1),SS,SS-MACD,8,0) ,COLORLIBLUE;
STICKLINE(DA<0 AND MACD<0 AND MACD>REF(MACD,1) ,SS,SS+MACD,8,0),COLORGREEN;
STICKLINE(DA<0 AND MACD<0 AND MACD<REF(MACD,1) ,SS,SS+MACD,8,0),COLORGREEN;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!