未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
指标源码:
原理解析:
STICKLINE(( 到最后交易的周期=1 AND DYNAINFO(8)>1),IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL),0,-1,-1),COLOR808080
输出NOTEXTD:V,成交量STICK
输出成交量:V/10000,NODRAW, 画蓝色
DRAWTEXT(RANGE(IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/1日前的V,1.87,3.09),IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)*0.818,'②二') 画蓝色
DRAWTEXT(RANGE(IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/1日前的V,3.09,4.095),IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)*0.818,'③三') 画蓝色
DRAWTEXT(RANGE(IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/1日前的V,4.096,5.095),IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)*0.818,'④四') 画蓝色
DRAWTEXT(RANGE(IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/1日前的V,5.096,6.095),IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)*0.818,'⑤五') 画蓝色
DRAWTEXT(RANGE(IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/1日前的V,6.096,7.095),IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)*0.818,'⑥六') 画蓝色
DRAWTEXT(RANGE(IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/1日前的V,7.096,8.095),IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)*0.818,'⑦七') 画蓝色
DRAWTEXT(RANGE(IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/1日前的V,8.096,9.095),IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)*0.818,'⑧八') 画蓝色
DRAWTEXT(RANGE(IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/1日前的V,9.096,9.995),IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)*0.818,'⑨九') 画蓝色
DRAWTEXT(IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/1日前的V>10,IF(( 到最后交易的周期=1 AND DYNAINFO(8)>1),V*(IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))+3)/(IF(MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))))<0.5,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),MOD(FROM开盘价,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)*0.818,'十') 画蓝色
STICKLINE(BETWEEN(V/1日前的V,2.9,3.9) AND C>=O ,0,V,2,0),COLOR800080
STICKLINE(成交额/V/100<1日前的C AND C>O AND C<300 AND 1的成交额日累和/1的V日累和/100<1日前的C AND NOT(C/1日前的C>1.095 AND H=O AND L=H) AND C>O ,0,V,1,0),COLORFF80FF
STICKLINE((1的成交额日累和/1的V日累和/100>1日前的C AND C<=O) OR (1的成交额日累和/1的V日累和/100>1日前的C AND C>1日前的C AND C<=O AND C>300) AND NOT(C/1日前的C>1.095 AND H=O AND L=H) AND C<=O ,0,V,1,0),COLORFF80FF
STICKLINE(RANGE(最低价RANGE(V),28,90),0,V*0.15,2,0),COLORC08080
STICKLINE(最低价RANGE(V)>18 AND 最低价RANGE(V)<28,0,V*0.2,2,0),COLOR400080
STICKLINE(最低价RANGE(V)>=90 AND 最低价RANGE(V)<=999,0,V*0.3,2,0),COLOR400080
STICKLINE(最低价RANGE(V)>=1000,0,V,3,0),COLOR400080
STICKLINE(V>=1日前的V*1.87 AND C>=1日前的C AND C>=O AND C>=O ,0,V,2,0), 画蓝色
STICKLINE((C-1日前的C)/1日前的C*100
STICKLINE(V/1日前的V>=2.9 AND C>=O ,0,V,2,0),画洋红色
STICKLINE((C-1日前的C)/1日前的C*100>IF(CODELIKE('68'),19.71,9.71) AND (C-1日前的C)/1日前的C*100>IF(CODELIKE('30'),19.71,9.71) AND C=H,0,V,(3),0)画红色
STICKLINE(RANGE(TOPRANGE(V),87,50000) AND C>=O,V*0.8,V,2,0),COLOR4080FF
STICKLINE(H,REF(V,上次FILTER(TOPRANGE(V距今天数>=20=1,2))),REF(V,上次FILTER(TOPRANGE(V距今天数>=20=1,2))),2,0),COLORLIMAGENTA
DRAWTEXT(BETWEEN(V/1日前的V,2.9,3.91),V,'三')DRAWABOVE
DRAWTEXT(BETWEEN(V/1日前的V,3.90,4.96),V,'四')DRAWABOVE
DRAWTEXT(BETWEEN(V/1日前的V,4.95,5.96),V,'五')DRAWABOVE
DRAWTEXT(BETWEEN(V/1日前的V,5.95,6.96),V,'六')DRAWABOVE
DRAWTEXT(BETWEEN(V/1日前的V,6.95,7.96),V,'七')DRAWABOVE
DRAWTEXT(BETWEEN(V/1日前的V,7.95,8.96),V,'八')DRAWABOVE
DRAWTEXT(BETWEEN(V/1日前的V,8.95,9.96),V,'九')DRAWABOVE
DRAWTEXT(V/1日前的V>=9.96,V,'十')DRAWABOVE
DRAWTEXT(BETWEEN(V/1日前的V,0.95,1.07) AND C>=O,V,'平')DRAWABOVE
DRAWTEXT(最低价RANGE(V)>18 AND 最低价RANGE(V)<28,V,'廿')DRAWABOVE
DRAWTEXT(最低价RANGE(V)>=90 AND 最低价RANGE(V)<=999,V,'百')DRAWABOVE COLOR4080FF
DRAWTEXT(最低价RANGE(V)>=1000,V,'仟')DRAWABOVE COLOR4080FF
填充背景(DATE>1231231,RGB(0,255,0),RGB(255,0,0),0,0,0)
DRAWTEXT(BETWEEN(V/1日前的V,0.38,0.5),V,'21')DRAWABOVE 画蓝色
DRAWTEXT(BETWEEN(V/1日前的V,0.5,0.618),V,'31')DRAWABOVE 画红色
DRAWTEXT(V<1日前的V*0.38,V,'32')DRAWABOVE 画红色
当满足条件ISLASTBAR 时,在横轴0.98纵轴0位置书写文字
当满足条件ISLASTBAR 时,在横轴0.91纵轴0位置书写文字
当满足条件ISLASTBAR 时,在横轴0.84纵轴0位置书写文字
DRAWICON(RANGE(TOPRANGE(V),87,50000) AND C
输出历史低量:最低价RANGE(V),NODRAW,COLOR4080FF
输出历史高量:TOPRANGE(V),NODRAW,画洋红色