万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 通达信公式 > 通达信主副图指标 正文

通达信金牛交易系统主图指标公式源码

admin 2024-01-22 20:40:04 通达信主副图指标 801 ℃
QQ交流群586838595

通达信金牛交易系统主图指标公式源码

N:=2;M:=3;PP:=(2*CLOSE+HIGH+LOW)/4;QQ:=Abs(PP-MA(CLOSE,N*15));AA:=QQ/MA(CLOSE,N*15);N2:=(N-2)*15;N3:=(N+2)*15;N4:=(N+3)*15;趋势线:DMA(PP,AA),LINETHICK2,COLORRED;LQ:=主趋势线*0.99;主趋30:=DMA(PP,ABS(PP-MA(CLOSE,N2))/MA(CLOSE,N2)),LINETHICK1,COLORLIRED;主趋90:=DMA(PP,ABS(PP-MA(CLOSE,N3))/MA(CLOSE,N3)),LINETHICK1,COLORMAGENTA;主趋4:=DMA(PP,ABS(PP-MA(CLOSE,N4))/MA(CLOSE,N4)),LINETHICK1,COLORMAGENTA;CC:=(CLOSE/主趋势线);MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);MAAA:=((MA1-主趋势线)/主趋势线)/3;TMP:=MA1-MAAA*MA1;短期趋势线:TMP,LINETHICK2,COLORMAGENTA;QSX:IF(TMP<=主趋势线,主趋势线,DRAWNULL),LINETHICK2,COLORBLUE;DQ2:IF(TMP<=REF(TMP,1),TMP,DRAWNULL),LINETHICK2,COLORWHITE;DQSX:IF(TMP<=主趋势线,TMP,DRAWNULL),LINETHICK2,COLORGREEN;DQ3:IF(TMP>=REF(TMP,1) AND TMP<主趋势线,TMP,DRAWNULL),LINETHICK2,COLORLIRED;长期趋势线:=EXPMEMA(CLOSE,45);DRAWICON(crOSS(kdj.J,0),HIGH*0.99,99);DRAWICON(CROSS(100,kdJ.J),LOW*1.09,3);{DRAWTEXT(CROSS(TMP,主趋势线),LOW,开多),COLORYELLOW;DRAWTEXT(TMP<=REF(TMP,1) AND REF(TMP,2)>REF(TMP,1) AND TMP>主趋势线,LOW,平多),COLORYELLOW;DRAWTEXT(CROSS(主趋势线,TMP),LOW,开空),COLORGREEN;

};

选股票看什么指标最好 >

QQ交流群586838595