通达信整合主图源码

 

整合指标

 

叫什么名自己起个吧,本人才疏学浅..........

 

 


 


 

 

{主趋势线:EMA(EMA(C,10),10),COLORBLUE,LINETHICK2;

B:=主趋势线<REF(主趋势线,1);

IF(B-1,主趋势线,DRAWNULL)COLORRED,LINETHICK2;}

主趋势线:EMA(EMA(C,10),10),DOTLINE,COLORRED,LINETHICK1;

B:=主趋势线>REF(主趋势线,1);

IF(B-1,主趋势线,DRAWNULL),DOTLINE,COLORBLUE,LINETHICK1;

{操盘线:EMA(EMA(C,5),5),COLORRED,LINETHICK2;

Y:=操盘线>REF(操盘线,1);

IF(Y-1,操盘线,DRAWNULL)COLORGREEN,LINETHICK2;}

 FD:=(H-L)/3;{分段}{分析家公式网WWW.88GS.COM}

OPEN1:=O>FD*2+L;

OPEN3:=O<FD+L;

OPEN2:=NOT(OPEN1 OR OPEN3);

CLOSE1:=C>FD*2+L;

CLOSE3:=C<FD+L;

CLOSE2:=NOT(CLOSE1 OR CLOSE3);

DFZD:=CLOSE1 OR (OPEN3 AND CLOSE2);

WQS1:=OPEN2 AND CLOSE2;

KFZD:=NOT(DFZD OR WQS1);

ZD:=(H+L)/2;

QSXS:=ZD>REF(H,1);

QSXX:=ZD<REF(L,1);

WQS2:=NOT(QSXS OR QSXX);

S1:=DFZD AND QSXS ;

S2:=KFZD AND QSXX ;

S3:=DFZD AND QSXX;

S4:=KFZD AND QSXS;

S5:=DFZD AND WQS2;

S6:=KFZD AND WQS2;

S7:=WQS1 AND (QSXS OR QSXX OR WQS2);

STICKLINE(S2 ,C ,O,3,0 ),COLORFF2020;

STICKLINE(S1,C,O,3 ,0 ),COLOR2020FF;

STICKLINE(S3,C,O,3,0),COLORYELLOW;

STICKLINE(S4,C,O,3,0),COLORCYAN;

STICKLINE(S5,C,O,3,0),COLORMAGENTA;

STICKLINE(S6,C,O,3,0),COLORGREEN;

STICKLINE(S7,C,O,3,0),COLORGRAY;

STICKLINE(1,C,O,0,0),COLORWHITE;

M13:MA(CLOSE,13),LINETHICK2,COLOREBC79E;

MD:=EMA(C,1)-EMA(C,5);

STICKLINE(MD>0,DYNAINFO(3),DYNAINFO(3)+MD*0.5,0.2,1),COLORFF6EC7;

STICKLINE(MD<=0,DYNAINFO(3),DYNAINFO(3)+MD*0.5,0.2,1),COLOR426F42;

MM:=0.805;

 

MM1:=0.105;

买出价:=STRCAT(STRCAT('当前买出价: ',CON2STR(DYNAINFO(20),2)),'元'),COLOR0000FF;

买入价:=STRCAT(STRCAT('当前买入价: ',CON2STR(DYNAINFO(21),2)),'元'),COLORFFFF00;

DRAWTEXT_FIX(ISLASTBAR,0.5,0.75,0,买出价),COLORGREEN;

DRAWTEXT_FIX(ISLASTBAR,0.5,0.7,0,买入价),COLORRED;

DRAWNUMBER(ISLASTBAR=1,CLOSE,CLOSE),COLORFFFFFF;

DRAWNUMBER(ISLASTBAR=1,CLOSE*0.996,DYNAINFO(14)*100),COLOR00FFFF;

DRAWNUMBER(ISLASTBAR=1,CLOSE*0.998,DYNAINFO(12)),COLORFFFF00;
 




未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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