通达信升势冲天指标公式源码副图

DIF1:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
macd1:=2*(DIF1-DEA1),STICK;
MACD2:=EMA(MACD1,3);
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,3.2,0),COLOR000055;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2.7,0),COLOR000077;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2.1,0),COLOR000099;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1.5,0),COLOR0000BB;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.9,0),COLOR0000DD;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.3,0),COLOR0000FF;
STICKLINE(MACD1>MACD2 AND MACD1< 0,0,MACD1,3.2,0),COLOR555555;
STICKLINE(MACD1>MACD2 AND MACD1< 0,0,MACD1,2.7,0),COLOR777777;
STICKLINE(MACD1>MACD2 AND MACD1< 0,0,MACD1,2.1,0),COLOR999999;
STICKLINE(MACD1>MACD2 AND MACD1< 0,0,MACD1,1.5,0),COLORBBBBBB;
STICKLINE(MACD1>MACD2 AND MACD1< 0,0,MACD1,0.9,0),COLORDDDDDD;
STICKLINE(MACD1>MACD2 AND MACD1< 0,0,MACD1,0.3,0),COLORFFFFFF;
STICKLINE(MACD1< MACD2,0,MACD1,3.2,0),COLORB20000;
STICKLINE(MACD1< MACD2,0,MACD1,2.7,0),COLOREC0000;
STICKLINE(MACD1< MACD2,0,MACD1,2.1,0),COLORFF4600;
STICKLINE(MACD1< MACD2,0,MACD1,1.5,0),COLORFF6300;
STICKLINE(MACD1< MACD2,0,MACD1,0.9,0),COLORFF8B00;
STICKLINE(MACD1< MACD2,0,MACD1,0.3,0),COLORFFAB00;
STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;
DIF:=DIF1,COLOR33FF33,LINETHICK1;
DEA:=DEA1,COLORYELLOW,LINETHICK1;
MACD:=MACD1,NODRAW,COLORMAGENTA;
游资动能1:=HHV(DEA,53);
游资动能2:=LLV(DEA,55);
游资动能3:=DEA-(DIF-DEA);
UP:=IF(DIF>游资动能1 AND DEA=游资动能1,MAX(LLV(游资动能1,10),游资动能3),游资动能1),COLORBB0000,LINETHICK2;
DN:=IF(DIF< 游资动能2 AND DEA=游资动能2,MIN(HHV(游资动能2,10),游资动能3),游资动能2),COLORAA00AA,LINETHICK2;
DIF,COLORGREEN;
DEA,COLORGREEN;
零上金叉买:0,COLORBLUE,crOSSDOT,LINETHICK1;
IF(DIF>DEA,DIF,DRAWNULL),COLORRED,LINETHICK1;
IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORMAGENTA;
DRAWICON(CROSS(DIF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIF),DEA,2);
LOWV:=LLV(LOW,3);
HIGHV:=HHV(HIGH,3);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE(MACD< REF(MACD,1)AND CROSS(K,J),0,MACD,2,0),COLORGREEN;
STICKLINE(MACD>REF(MACD,1)AND CROSS(J,K),0,MACD,2,0),COLORRED;
M1:=EMA( CLOSE, 9 );
M2:=EMA( CLOSE, 18 );
大运:M1-M2, COLORWHITE, LINETHICK2;
MM:= EMA( 大运, 3 );
吸:IF( 大运 >= MM AND 大运 < 0, 大运, DRAWNULL ), COLORLIRED, LINETHICK2;
拉:IF( 大运 >= MM AND 大运 >= 0, 大运, DRAWNULL ), COLORRED, LINETHICK2;
派:IF( 大运 < MM AND 大运 >= 0, 大运, DRAWNULL ), COLORGREEN, LINETHICK2;
落:IF( 大运 < MM AND 大运 < 0, 大运, DRAWNULL ), COLORWHITE, LINETHICK2;




来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图