通达信最新指标公式 通达信多空磁力线主图指标公式(2)
2018-06-29 16:37 股票知识 zhishi.southmoney.com
地心引力区3:地心引力线*1.1;
地心引力区4:地心引力线*0.9;
大盘指数:C;}
磁力线:(MA(CLOSE,30)+MA(CLOSE,72))/2,COLORGREEN;
多空线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
DRAWTEXT(CROSS(多空线,磁力线),多空线,'进场'),COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(磁力线,多空线),磁力线,'走人'),COLORRED,LINETHICK2;
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(CROSS(DA-DB,0),L*0.95,'★B'),COLORRED;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(84,JH),H*1.02,'☆S'),COLORGREEN;
地心引力区1:磁力线*1.1,LINETHICK2,COLORRED;
地心引力区2:磁力线*0.9,LINETHICK2,COLORFF33FF;
高:PLOYLINE(1,CONST(HHV(H,50))),COLOR770077,LINETHICK1;
低:PLOYLINE(1,CONST(LLV(L,50))),COLOR777700,LINETHICK1;
中:PLOYLINE(1,(高-低)/2+低),COLOR005555,LINETHICK2;
MA6:=MA(C,6),COLORWHITE;
MA18:=MA(C,24),COLORYELLOW;(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。