通达信楼梯主图指标公式

 

绘图范围:=IFF(BARSCOUNT(CLOSE)>120,1,0);
突破:=REF(EMA(CLOSE,14),1);
A1X:=(EMA(CLOSE,10)-突破)/突破*100;
多方:=IFF(A1X>=0,REF(EMA(C,10),BArslAST(crOSS(A1X,0))+1),DRAWNULL);
空方:=IFF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*1.00,4,0),COLOR000098;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.95,4,0),COLOR000090;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.90,4,0),COLOR000088;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.85,4,0),COLOR000080;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.80,4,0),COLOR000078;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.75,4,0),COLOR000070;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.70,4,0),COLOR000068;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.65,4,0),COLOR000060;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.60,4,0),COLOR000058;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.55,4,0),COLOR000050;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.50,4,0),COLOR000048;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.45,4,0),COLOR000040;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.40,4,0),COLOR000038;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.35,4,0),COLOR000030;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.30,4,0),COLOR000028;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.25,4,0),COLOR000020;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.20,4,0),COLOR000018;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.15,4,0),COLOR000010;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.10,4,0),COLOR000008;
STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.05,4,0),COLOR000000;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.05,4,0),COLOR989800;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.10,4,0),COLOR909000;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.15,4,0),COLOR888800;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.20,4,0),COLOR808000;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.25,4,0),COLOR787800;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.30,4,0),COLOR707000;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.35,4,0),COLOR686800;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.40,4,0),COLOR606000;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.45,4,0),COLOR585800;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.50,4,0),COLOR505000;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.55,4,0),COLOR484800;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.60,4,0),COLOR404000;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.65,4,0),COLOR383800;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.70,4,0),COLOR303000;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.75,4,0),COLOR282800;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.80,4,0),COLOR202000;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.85,4,0),COLOR181800;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.90,4,0),COLOR101000;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.95,4,0),COLOR080800;
STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*1.00,4,0),COLOR000000;
STICKLINE(绘图范围 AND CLOSE>OPEN,HIGH,LOW,0,0),COLORFF88FF;
STICKLINE(绘图范围 AND CLOSE>OPEN,CLOSE,OPEN,3,1),COLORFF88FF;
STICKLINE(绘图范围 AND CLOSE=OPEN,HIGH,LOW,0,0),COLORWHITE;
STICKLINE(绘图范围 AND CLOSE=OPEN,CLOSE,OPEN,3,0),COLORWHITE;
STICKLINE(绘图范围 AND CLOSE<OPEN,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(绘图范围 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORGREEN;
转多头:=A1X>=0 AND REF(A1X,1)<0;
转多头距离:=BARSLAST(转多头)+1;
多头中继:=LOW<突破 AND OPEN<突破 AND BETWEEN(转多头距离,10,30);
转空头:=A1X<0 AND REF(A1X,1)>=0;
转空头距离:=BARSLAST(转空头)+1;
空头中继:=HIGH>突破 AND OPEN>突破 AND BETWEEN(转空头距离,10,30);
买方空中加油:IFF(绘图范围 AND COUNT(多头中继,转多头距离)<=2 AND 多头中继 AND A1X>=0,突破,DRAWNULL),NODRAW,COLORYELLOW;
卖方空中加油:IFF(绘图范围 AND COUNT(空头中继,转空头距离)<=2 AND 空头中继 AND A1X<0,突破,DRAWNULL),NODRAW,COLORCYAN;
黄色点:=IFF(绘图范围 AND COUNT(多头中继,转多头距离)<=2 AND 多头中继 AND A1X>=0,1,0);
蓝色点:=IFF(绘图范围 AND COUNT(空头中继,转空头距离)<=2 AND 空头中继 AND A1X<0,1,0);
DRAWICON(黄色点,LOW*0.997,92);
DRAWICON(蓝色点,HIGH*1.007,93);
AA17:=EMA(C,14)COLORWHITE,LINETHICK1;
A17X:=(AA17-REF(AA17,1))/REF(AA17,1)*100,NODRAW;
参考线试买:IF(A17X>=0,REF(EMA(C,14),BARSLAST(CROSS(A17X,0))+1),DRAWNULL)COLORRED,LINETHICK2;
DRAWTEXT(ISLASTBAR,参考线试买,'----参考线试买------'),COLORYELLOW,LINETHICK4;
VAR326:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0);
(VAR327>90,L*0.99,L*0.95,4,0), ;
DRAWTEXT(VAR327>90,LOW*0.95,'起爆'), ;




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


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

相关指标公式

绘图范围赋值:如果收盘价的有效数据周期数>120,返回1,否则返回0
突破赋值:1日前的收盘价的14日指数移动平均
A1X赋值:(收盘价的10日指数移动平均-突破)/突破*100
多方赋值:如果A1X>=0,返回上次A1X上穿0距今天数+1日前的收盘价的10日指数移动平均,否则返回无效数
空方赋值:如果A1X<0,返回上次0上穿A1X距今天数+1日前的收盘价的10日指数移动平均,否则返回无效数
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*1.00位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000098
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.95位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000090
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.90位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000088
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.85位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000080
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.80位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000078
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.75位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000070
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.70位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000068
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.65位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000060
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.60位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000058
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.55位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000050
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.50位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000048
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.45位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000040
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.40位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000038
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.35位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000030
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.30位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000028
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.25位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000020
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.20位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000018
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.15位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000010
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.10位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000008
当满足条件绘图范围ANDA1X>=0时,在多方和多方+(突破-多方)*0.05位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000000
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.05位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR989800
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.10位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR909000
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.15位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR888800
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.20位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR808000
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.25位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR787800
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.30位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR707000
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.35位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR686800
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.40位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR606000
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.45位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR585800
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.50位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR505000
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.55位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR484800
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.60位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR404000
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.65位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR383800
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.70位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR303000
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.75位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR282800
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.80位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR202000
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.85位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR181800
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.90位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR101000
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*0.95位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR080800
当满足条件绘图范围ANDA1X<0时,在空方和突破-(突破-空方)*1.00位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000000
当满足条件绘图范围ANDCLOSE>开盘价时,在最高价和最低价位置之间画柱状线,宽度为0,0不为0则画空心柱.,COLORFF88FF
当满足条件绘图范围ANDCLOSE>开盘价时,在收盘价和开盘价位置之间画柱状线,宽度为3,1不为0则画空心柱.,COLORFF88FF
当满足条件绘图范围ANDCLOSE=开盘价时,在最高价和最低价位置之间画柱状线,宽度为0,0不为0则画空心柱.,画白色
当满足条件绘图范围ANDCLOSE=开盘价时,在收盘价和开盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,画白色
当满足条件绘图范围ANDCLOSE<开盘价时,在最高价和最低价位置之间画柱状线,宽度为0,0不为0则画空心柱.,画绿色
当满足条件绘图范围ANDCLOSE<开盘价时,在收盘价和开盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,画绿色
转多头赋值:A1X>=0 AND 1日前的A1X<0
转多头距离赋值:上次转多头距今天数+1
多头中继赋值:最低价<突破 AND 开盘价<突破 AND 转多头距离位于10和30之间
转空头赋值:A1X<0 AND 1日前的A1X>=0
转空头距离赋值:上次转空头距今天数+1
空头中继赋值:最高价>突破 AND 开盘价>突破 AND 转空头距离位于10和30之间
输出买方空中加油:如果绘图范围ANDCOUNT(多头中继,转多头距离)<=2AND多头中继ANDA1X>=0,返回突破,否则返回无效数,NODRAW,画黄色
输出卖方空中加油:如果绘图范围ANDCOUNT(空头中继,转空头距离)<=2AND空头中继ANDA1X<0,返回突破,否则返回无效数,NODRAW,画青色
黄色点赋值:如果绘图范围ANDCOUNT(多头中继,转多头距离)<=2AND多头中继ANDA1X>=0,返回1,否则返回0
蓝色点赋值:如果绘图范围ANDCOUNT(空头中继,转空头距离)<=2AND空头中继ANDA1X<0,返回1,否则返回0
当满足条件黄色点时,在最低价*0.997位置画92号图标
当满足条件蓝色点时,在最高价*1.007位置画93号图标
AA17赋值:收盘价的14日指数移动平均画白色,线宽为1
A17X赋值:(AA17-1日前的AA17)/1日前的AA17*100,NODRAW
输出参考线试买:如果A17X>=0,返回上次A17X上穿0距今天数+1日前的收盘价的14日指数移动平均,否则返回无效数画红色,线宽为2
当满足条件是否最后一个周期时,在参考线试买位置书写文字,画黄色,线宽为4
VAR326赋值:如果收盘价>1日前的收盘价,返回88,否则返回0
VAR327赋值:如果收盘价/1日前的收盘价>1.050ANDHIGH/收盘价<1.010ANDVAR326>0,返回91,否则返回0
(VAR327>90,最低价*0.99,最低价*0.95,4,0),
当满足条件VAR327>90时,在最低价*0.95位置书写文字,

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

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