未来函数检测结果如下:
该公式包含未来函数:COST
指标源码:

原理解析:
CTA1赋值:1日前的C
CTA2赋值:IF(CODELIKE('68'),1,0)
CTA3赋值:IF(CODELIKE('83'),1,0)+IF(CODELIKE('87'),1,0)
CTA4赋值:IF(CODELIKE('30'),1,0)*IF(DATETODAY(DATE)-DATETODAY(1200824)>=0,1,0)
CTA5赋值:IF(上次(C=H AND C=ZTPRICE(CTA1,0.05距今天数) OR (C=L AND C=DTPRICE(CTA1,0.05)))ZTPRICE(CTA1,0.05) OR L CTA6赋值:IF(CTA3>0,ZTPRICE(CTA1,0.30),0)
CTA7赋值:IF(CTA2>0 OR CTA4>0,ZTPRICE(CTA1,0.20),0)
CTA8赋值:IF(CTA5>0 AND (CTA7=0 OR CTA7=DRAWNULL),ZTPRICE(CTA1,0.05),0)
CTA9赋值:IF((CTA6=0 OR CTA6=DRAWNULL) AND (CTA7=0 OR CTA7=DRAWNULL) AND (CTA8=0 OR CTA8=DRAWNULL),ZTPRICE(CTA1,0.10),0)
如果CTA8=DRAWNULL返回0否则返回CTA8
CTA11:=AMA((C*3+O+H+L)/6,0.5)
CTA12:=CTA11的5日指数移动平均
CTA13:=CTA12的15日指数移动平均,2)
CTA14:=EMA(MAX(EMA(CTA12,45),EMA(CTA12,50)),5)
CTA15:=EMA(MAX(MAX(EMA(CTA11,100),EMA(CTA11,150)),EMA(CTA11,200)),10)
CTA16:=获利盘为99.5%的成本分布
CTA17:=获利盘为00.5%的成本分布
CTA18:=1
CTA19:=CTA16-CTA17
如果C<=H AND H=CTA10返回1否则返回0
CTA21:=(获利盘为02%的成本分布-COST(01))/CTA19
CTA22:=(获利盘为04%的成本分布-COST(02))/CTA19
CTA23:=(获利盘为06%的成本分布-COST(04))/CTA19
CTA24:=(获利盘为08%的成本分布-COST(06))/CTA19
CTA25:=(获利盘为10%的成本分布-COST(08))/CTA19
CTA26:=(获利盘为12%的成本分布-COST(10))/CTA19
CTA27:=(获利盘为14%的成本分布-COST(12))/CTA19
CTA28:=(获利盘为16%的成本分布-COST(14))/CTA19
CTA29:=(获利盘为18%的成本分布-COST(16))/CTA19
CTA30:=(获利盘为20%的成本分布-COST(18))/CTA19
CTA31:=(获利盘为22%的成本分布-COST(20))/CTA19
CTA32:=(获利盘为24%的成本分布-COST(22))/CTA19
CTA33:=(获利盘为26%的成本分布-COST(24))/CTA19
CTA34:=(获利盘为28%的成本分布-COST(26))/CTA19
CTA35:=(获利盘为30%的成本分布-COST(28))/CTA19
CTA36:=(获利盘为32%的成本分布-COST(30))/CTA19
CTA37:=(获利盘为34%的成本分布-COST(32))/CTA19
CTA38:=(获利盘为36%的成本分布-COST(34))/CTA19
CTA39:=(获利盘为38%的成本分布-COST(36))/CTA19
CTA40:=(获利盘为40%的成本分布-COST(38))/CTA19
CTA41:=(获利盘为42%的成本分布-COST(40))/CTA19
CTA42:=(获利盘为44%的成本分布-COST(42))/CTA19
CTA43:=(获利盘为46%的成本分布-COST(44))/CTA19
CTA44:=(获利盘为48%的成本分布-COST(46))/CTA19
CTA45:=(获利盘为50%的成本分布-COST(48))/CTA19
CTA46:=(获利盘为52%的成本分布-COST(50))/CTA19
CTA47:=(获利盘为54%的成本分布-COST(52))/CTA19
CTA48:=(获利盘为56%的成本分布-COST(54))/CTA19
CTA49:=(获利盘为58%的成本分布-COST(56))/CTA19
CTA50:=(获利盘为60%的成本分布-COST(58))/CTA19
CTA51:=(获利盘为62%的成本分布-COST(60))/CTA19
CTA52:=(获利盘为64%的成本分布-COST(62))/CTA19
CTA53:=(获利盘为66%的成本分布-COST(64))/CTA19
CTA54:=(获利盘为68%的成本分布-COST(66))/CTA19
CTA55:=(获利盘为70%的成本分布-COST(68))/CTA19
CTA56:=(获利盘为72%的成本分布-COST(70))/CTA19
CTA57:=(获利盘为74%的成本分布-COST(72))/CTA19
CTA58:=(获利盘为76%的成本分布-COST(74))/CTA19
CTA59:=(获利盘为78%的成本分布-COST(76))/CTA19
CTA60:=(获利盘为80%的成本分布-COST(78))/CTA19
CTA61:=(获利盘为82%的成本分布-COST(80))/CTA19
CTA62:=(获利盘为84%的成本分布-COST(82))/CTA19
CTA63:=(获利盘为86%的成本分布-COST(84))/CTA19
CTA64:=(获利盘为88%的成本分布-COST(86))/CTA19
CTA65:=(获利盘为90%的成本分布-COST(88))/CTA19
CTA66:=(获利盘为92%的成本分布-COST(90))/CTA19
CTA67:=(获利盘为94%的成本分布-COST(92))/CTA19
CTA68:=(获利盘为96%的成本分布-COST(94))/CTA19
CTA69:=(获利盘为98%的成本分布-COST(96))/CTA19
CTA75:=(获利盘为99%的成本分布-COST(98))/CTA19
CTA76:=H/1日前的C>=1.06
填充背景(H>=L,RGB(0,0,15),RGB(0,0,15),0,0,0)
DRAWBAND(CTA16,RGB(0,0,20),CTA17,RGB(0,0,0))
DRAWBAND(获利盘为99%的成本分布,RGB(3,0,22),COST(01),RGB(0,0,0))
DRAWBAND(获利盘为98%的成本分布,RGB(6,0,24),COST(02),RGB(0,0,0))
DRAWBAND(获利盘为96%的成本分布,RGB(9,0,26),COST(04),RGB(0,0,0))
DRAWBAND(获利盘为94%的成本分布,RGB(12,0,28),COST(06),RGB(0,0,0))
DRAWBAND(获利盘为92%的成本分布,RGB(15,0,30),COST(08),RGB(0,0,0))
如果CTA18返回CTA11否则返回DRAWNULL
如果CTA18返回CTA11否则返回DRAWNULL
当满足条件H>=L时,在CTA16和CTA17之间画柱状线
输出NOTEXTC01:PARTLINE(获利盘为01%的成本分布,IF(BETWEEN(CTA21,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA21,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA21,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA21,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC02:PARTLINE(获利盘为02%的成本分布,IF(BETWEEN(CTA22,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA22,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA22,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA22,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC03:PARTLINE(获利盘为04%的成本分布,IF(BETWEEN(CTA23,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA23,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA23,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA23,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC04:PARTLINE(获利盘为06%的成本分布,IF(BETWEEN(CTA24,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA24,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA24,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA24,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC05:PARTLINE(获利盘为08%的成本分布,IF(BETWEEN(CTA25,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA25,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA25,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA25,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC06:PARTLINE(获利盘为10%的成本分布,IF(BETWEEN(CTA26,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA26,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA26,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA26,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC07:PARTLINE(获利盘为12%的成本分布,IF(BETWEEN(CTA27,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA27,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA27,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA27,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC08:PARTLINE(获利盘为14%的成本分布,IF(BETWEEN(CTA28,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA28,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA28,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA28,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC09:PARTLINE(获利盘为16%的成本分布,IF(BETWEEN(CTA29,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA29,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA29,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA29,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC10:PARTLINE(获利盘为18%的成本分布,IF(BETWEEN(CTA30,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA30,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA30,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA30,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC11:PARTLINE(获利盘为20%的成本分布,IF(BETWEEN(CTA31,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA31,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA31,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA31,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC12:PARTLINE(获利盘为22%的成本分布,IF(BETWEEN(CTA32,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA32,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA32,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA32,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC13:PARTLINE(获利盘为24%的成本分布,IF(BETWEEN(CTA33,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA33,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA33,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA33,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC14:PARTLINE(获利盘为26%的成本分布,IF(BETWEEN(CTA34,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA34,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA34,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA34,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC15:PARTLINE(获利盘为28%的成本分布,IF(BETWEEN(CTA35,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA35,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA35,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA35,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC16:PARTLINE(获利盘为30%的成本分布,IF(BETWEEN(CTA36,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA36,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA36,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA36,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC17:PARTLINE(获利盘为32%的成本分布,IF(BETWEEN(CTA37,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA37,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA37,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA37,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC18:PARTLINE(获利盘为34%的成本分布,IF(BETWEEN(CTA38,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA38,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA38,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA38,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC19:PARTLINE(获利盘为36%的成本分布,IF(BETWEEN(CTA39,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA39,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA39,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA39,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC20:PARTLINE(获利盘为38%的成本分布,IF(BETWEEN(CTA40,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA40,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA40,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA40,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC21:PARTLINE(获利盘为40%的成本分布,IF(BETWEEN(CTA41,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA41,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA41,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA41,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC22:PARTLINE(获利盘为42%的成本分布,IF(BETWEEN(CTA42,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA42,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA42,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA42,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC23:PARTLINE(获利盘为44%的成本分布,IF(BETWEEN(CTA43,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA43,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA43,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA43,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC24:PARTLINE(获利盘为46%的成本分布,IF(BETWEEN(CTA44,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA44,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA44,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA44,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC25:PARTLINE(获利盘为48%的成本分布,IF(BETWEEN(CTA45,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA45,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA45,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA45,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC26:PARTLINE(获利盘为50%的成本分布,IF(BETWEEN(CTA46,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA46,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA46,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA46,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC27:PARTLINE(获利盘为52%的成本分布,IF(BETWEEN(CTA47,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA47,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA47,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA47,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC28:PARTLINE(获利盘为54%的成本分布,IF(BETWEEN(CTA48,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA48,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA48,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA48,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC29:PARTLINE(获利盘为56%的成本分布,IF(BETWEEN(CTA49,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA49,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA49,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA49,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC30:PARTLINE(获利盘为58%的成本分布,IF(BETWEEN(CTA50,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA50,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA50,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA50,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC31:PARTLINE(获利盘为60%的成本分布,IF(BETWEEN(CTA51,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA51,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA51,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA51,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC32:PARTLINE(获利盘为62%的成本分布,IF(BETWEEN(CTA52,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA52,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA52,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA52,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC33:PARTLINE(获利盘为64%的成本分布,IF(BETWEEN(CTA53,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA53,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA53,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA53,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC34:PARTLINE(获利盘为66%的成本分布,IF(BETWEEN(CTA54,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA54,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA54,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA54,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC35:PARTLINE(获利盘为68%的成本分布,IF(BETWEEN(CTA55,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA55,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA55,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA55,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC36:PARTLINE(获利盘为70%的成本分布,IF(BETWEEN(CTA56,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA56,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA56,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA56,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC37:PARTLINE(获利盘为72%的成本分布,IF(BETWEEN(CTA57,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA57,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA57,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA57,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC38:PARTLINE(获利盘为74%的成本分布,IF(BETWEEN(CTA58,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA58,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA58,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA58,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC39:PARTLINE(获利盘为76%的成本分布,IF(BETWEEN(CTA59,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA59,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA59,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA59,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC40:PARTLINE(获利盘为78%的成本分布,IF(BETWEEN(CTA60,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA60,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA60,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA60,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC41:PARTLINE(获利盘为80%的成本分布,IF(BETWEEN(CTA61,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA61,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA61,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA61,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC42:PARTLINE(获利盘为82%的成本分布,IF(BETWEEN(CTA62,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA62,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA62,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA62,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC43:PARTLINE(获利盘为84%的成本分布,IF(BETWEEN(CTA63,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA63,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA63,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA63,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC44:PARTLINE(获利盘为86%的成本分布,IF(BETWEEN(CTA64,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA64,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA64,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA64,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC45:PARTLINE(获利盘为88%的成本分布,IF(BETWEEN(CTA65,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA65,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA65,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA65,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC46:PARTLINE(获利盘为90%的成本分布,IF(BETWEEN(CTA66,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA66,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA66,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA66,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC47:PARTLINE(获利盘为92%的成本分布,IF(BETWEEN(CTA67,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA67,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA67,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA67,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC48:PARTLINE(获利盘为94%的成本分布,IF(BETWEEN(CTA68,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA68,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA68,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA68,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC49:PARTLINE(获利盘为96%的成本分布,IF(BETWEEN(CTA69,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA69,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA69,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA69,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
输出NOTEXTC50:PARTLINE(获利盘为98%的成本分布,IF(BETWEEN(CTA75,1.0000,0.0250),RGB(20,0,40),IF(BETWEEN(CTA75,0.0250,0.0150),RGB(35,0,45),IF(BETWEEN(CTA75,0.0150,0.0100),RGB(50,0,50),IF(BETWEEN(CTA75,0.0100,0.0080),RGB(65,0,55),RGB(80,0,60))))),0),LINETHICK1
当满足条件CTA11>=CTA15 AND CTA18时,在CTA11和CTA15之间画柱状线
当满足条件CTA11<=CTA15 AND CTA18时,在CTA11和CTA15之间画柱状线
当满足条件CTA11>=CTA14 AND CTA18时,在CTA11和CTA14之间画柱状线
当满足条件CTA11<=CTA14 AND CTA18时,在CTA11和CTA14之间画柱状线
如果CTA18返回CTA11否则返回DRAWNULL
如果CTA18返回CTA15否则返回DRAWNULL
如果CTA15>CTA11 AND CTA18返回CTA15否则返回DRAWNULL
如果CTA18返回CTA14否则返回DRAWNULL
如果CTA14>CTA11 AND CTA18返回CTA14否则返回DRAWNULL
当满足条件CTA18 AND CTA11>CTA13时,在CTA11和CTA13之间画柱状线
当满足条件CTA18 AND CTA11如果CTA18返回CTA13否则返回DRAWNULL
如果CTA13>CTA11 AND CTA18返回CTA13否则返回DRAWNULL
当满足条件H>=L时,在H和L之间画柱状线
当满足条件C<=O时,在C和O之间画柱状线
当满足条件C>=O时,在C和O之间画柱状线
当满足条件CTA76 AND C当满足条件CTA76 AND C当满足条件CTA76 AND C=O时,在H和L之间画柱状线
当满足条件CTA76 AND C=O时,在C和O之间画柱状线
当满足条件CTA76 AND C>O时,在H和L之间画柱状线
当满足条件CTA76 AND C>O时,在C和O之间画柱状线
当满足条件CTA20=1时,在H和L之间画柱状线
当满足条件CTA20=1 AND C<=O时,在C和O之间画柱状线
当满足条件CTA20=1 AND C>=O时,在C和O之间画柱状线

声明:本站所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理。