通达信金K线主图指标公式

 

综价:=(3*C+O)/4;
综价均3:=WMA(综价,3);
短升:=综价均3>REF(综价均3,1);
金操盘线:IF(短升,综价均3*0.95,综价均3*1.05),COLOR006600;
IF(短升,金操盘线,DRAWNULL),COLOR008888,LINETHICK3;
IF(短升,金操盘线,DRAWNULL),COLORYELLOW;
STICKLINE(短升,H,L,0,0),COLORYELLOW;
STICKLINE(短升,O,C,3,0),COLOR3666EE;
STICKLINE(短升,O,C,3,0),COLOR2299EE;
STICKLINE(短升,O,C,3,0),COLOR11AAEF;
STICKLINE(短升,O,C,3,0),COLOR00BBFE;
STICKLINE(短升,O,C,3,0),COLOR00CCFE;
STICKLINE(短升,O,C,3,0),COLOR00ddfF;
STICKLINE(短升,O,C,2,0),COLOR00EEFF;
STICKLINE(短升,O,C,1,0),COLOR00FFFF;
STICKLINE(NOT(短升),H,L,0,0),COLOR006600;
STICKLINE(NOT(短升),O,C,3,0),COLOR006600;
买入:短升 AND COUNT(短升,2)=1,COLOR0000FF,LINETHICK0;
DRAWICON(买入,L,1);
HGY:=17;
转强信号:=FILTER(COUNT((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-
REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),
HGY),1))<REF((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,
HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1)),1),5)>=4
AND ((WINNER(C*0.95)>0.5 AND COST(85)<C AND (100*(EMA(EMA(EMA(C,HGY),
HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),
HGY),HGY),1))>0) OR ((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA
(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))>
REF((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),
HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1)),1) AND (100*(EMA(EMA(
EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/
REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))>0) OR ((100*(EMA(EMA(EMA(C,HGY),
HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),
HGY),HGY),1))<=0 AND (100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(
EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))>REF((
100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),
1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1)),1))),5),COLOR00FFFF;
STICKLINE(转强信号,L*0.99,L*0.97,3,0),LINETHICK1,COLORRED;
STICKLINE(转强信号,L*0.99,L*0.97,1,0),LINETHICK1,COLORYELLOW;
DRAWTEXT(转强信号,L*0.95,'转强信号')COLORYELLOW;
止损:=REF(HHV(H,13),1)*0.95,COLORGRAY,DOTLINE;
STICKLINE(CURRBARSCOUNT=1,止损,止损,80,-1),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,止损*0.995,'盘中破坚决止损★'),COLORGREEN;
买卖:(EMA(C,3.14)+EMA(C,6.28))/2,COLORRED,NODRAW;
吸:买卖*0.935,COLORWHITE,NODRAW;
抛:买卖*1.075,COLORYELLOW,NODRAW;
DRAWTEXT(L<买卖*0.935,L*0.98,'吸1/5')COLORWHITE;
DRAWTEXT(L<买卖*0.935,L*0.95,'反弹出')COLORYELLOW;
DRAWTEXT(H>买卖*1.075 AND C/REF(C,1)<1.091,H*1.04,'抛一半')COLORWHITE;
DRAWTEXT(H>买卖*1.075 AND C/REF(C,1)<1.091,H*1.01,'再低吸')COLORYELLOW;




来函数检测结果如下
该公式包含未来函数:WINNER
该公式包含未来函数:COST

解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

综价赋值:(3*收盘价+开盘价)/4
综价均3赋值:综价的3日加权移动平均
短升赋值:综价均3>1日前的综价均3
输出金操盘线:如果短升,返回综价均3*0.95,否则返回综价均3*1.05,COLOR006600
如果短升,返回金操盘线,否则返回无效数,COLOR008888,线宽为3
如果短升,返回金操盘线,否则返回无效数,画黄色
当满足条件短升时,在最高价和最低价位置之间画柱状线,宽度为0,0不为0则画空心柱.,画黄色
当满足条件短升时,在开盘价和收盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR3666EE
当满足条件短升时,在开盘价和收盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR2299EE
当满足条件短升时,在开盘价和收盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR11AAEF
当满足条件短升时,在开盘价和收盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR00BBFE
当满足条件短升时,在开盘价和收盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR00CCFE
当满足条件短升时,在开盘价和收盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR00DDFF
当满足条件短升时,在开盘价和收盘价位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLOR00EEFF
当满足条件短升时,在开盘价和收盘价位置之间画柱状线,宽度为1,0不为0则画空心柱.,COLOR00FFFF
当满足条件取反时,在最高价和最低价位置之间画柱状线,宽度为0,0不为0则画空心柱.,COLOR006600
当满足条件取反时,在开盘价和收盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR006600
输出买入:短升 AND 统计2日中满足短升的天数=1,COLOR0000FF,线宽为0
当满足条件买入时,在最低价位置画1号图标
HGY赋值:17
转强信号赋值:统计?日中满足(100*(收盘价的HGY日指数移动平均的HGY日指数移动平均的HGY日指数移动平均-1日前的收盘价的HGY日指数移动平均的HGY日指数移动平均的HGY日指数移动平均)/1日前的收盘价的HGY日指数移动平均的HGY日指数移动平均的HGY日指数移动平均)=4AND((以收盘价*0.95计算的获利盘比例>0.5ANDCOST(85)当满足条件转强信号时,在最低价*0.99和最低价*0.97位置之间画柱状线,宽度为3,0不为0则画空心柱.,线宽为1,画红色
当满足条件转强信号时,在最低价*0.99和最低价*0.97位置之间画柱状线,宽度为1,0不为0则画空心柱.,线宽为1,画黄色
当满足条件转强信号时,在最低价*0.95位置书写文字画黄色
止损赋值:1日前的13日内最高价的最高值*0.95,画深灰色,DOTLINE
当满足条件到最后交易的周期=1时,在止损和止损位置之间画柱状线,宽度为80,-1不为0则画空心柱.,画绿色
当满足条件到最后交易的周期=1时,在止损*0.995位置书写文字,画绿色
输出买卖:(收盘价的3.14日指数移动平均+收盘价的6.28日指数移动平均)/2,画红色,NODRAW
输出吸:买卖*0.935,画白色,NODRAW
输出抛:买卖*1.075,画黄色,NODRAW
当满足条件最低价<买卖*0.935时,在最低价*0.98位置书写文字画白色
当满足条件最低价<买卖*0.935时,在最低价*0.95位置书写文字画黄色
当满足条件最高价>买卖*1.075ANDC/1日前的收盘价<1.091时,在最高价*1.04位置书写文字画白色
当满足条件最高价>买卖*1.075ANDC/1日前的收盘价<1.091时,在最高价*1.01位置书写文字画黄色

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

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