智能买卖交易主图通达信指标 源码




VAR1S:=(C+H+O+L)/4;

TR1:=MAX(MAX((HIGH-LOW),Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));

ATR:=MA(TR1,13);

VAR71:=REF(CLOSE,1)-REF(ATR,1);

LSX:=HHV(VAR1S,13),LINETHICK1,COLORLIBLUE;

智能交易:HHV(VAR1S,13)*0.95,DOTLINE,LINETHICK2,COLORFFFF00;

HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;HHJSJDB:(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+REF(HHJSJDA,20))/210,COLORYELLOW;HHJSJDC:MA(HHJSJDB,6),COLORRED;日线:=MA(CLOSE,60),COLORBLUE;

STICKLINE((C-REF(C,1))/REF(C,1)>0.095 AND C=H,C,O,3,0),COLORMAGENTA;

STICKLINE((C-REF(C,1))/REF(C,1)>0.07 AND (C-REF(C,1))/REF(C,1)<0.095,C,O,3,0),COLORYELLOW;

STICKLINE((REF(C,1)-C)/ REF(C,1) >0.097 AND C=L,C,O,3,0),COLORGREEN;

STT:=COUNT(ABS((C-REF(C,1)))/REF(C,1)>0.054,120)=0;

STICKLINE(RANGE((C-REF(C,1))/REF(C,1),0.046,0.053) AND STT AND C=H,C,O,3,0), COLORMAGENTA;

STICKLINE(RANGE((REF(C,1)-C)/ REF(C,1),0.047,0.052) AND STT AND C=L,C,O,3,0),COLORGREEN;

水平面:MA(CLOSE,60),POINTDOT,COLORYELLOW;

MS:IF(HHJSJDB>=REF(HHJSJDB,1),HHJSJDB,DRAWNULL),COLORYELLOW,LINETHICK2;

MM:IF(HHJSJDC>=REF(HHJSJDC,1),HHJSJDC,DRAWNULL),COLORRED,LINETHICK2;

买:=crOSS(HHJSJDB,HHJSJDC);

卖:=CROSS(HHJSJDC,HHJSJDB);

DRAWICON(买,L*0.97,1);

DRAWTEXT(买,L*0.95,'B'),COLORYELLOW;

DRAWICON(卖,H*1.03,2);

DRAWTEXT(卖,H*1.05,'S'),COLORWHITE;



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

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

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

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