量子哥量价体系基础 构建适合自己的交易体系 捕捉主力异动迹象 主副图 源码 附图
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,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,VOLSTICK;
成交量:V/10000,NODRAW,COLORBLUE;
DRAWTEXT(RANGE(IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/REF(V,1),1.87,3.09),IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,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,'②二')COLORBLUE;
DRAWTEXT(RANGE(IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/REF(V,1),3.09,4.095),IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,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,'③三')COLORBLUE;
DRAWTEXT(RANGE(IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/REF(V,1),4.096,5.095),IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,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,'④四')COLORBLUE;
DRAWTEXT(RANGE(IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/REF(V,1),5.096,6.095),IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,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,'⑤五')COLORBLUE;
DRAWTEXT(RANGE(IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/REF(V,1),6.096,7.095),IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,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,'⑥六')COLORBLUE;
DRAWTEXT(RANGE(IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/REF(V,1),7.096,8.095),IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,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,'⑦七')COLORBLUE;
DRAWTEXT(RANGE(IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/REF(V,1),8.096,9.095),IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,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,'⑧八')COLORBLUE;
DRAWTEXT(RANGE(IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/REF(V,1),9.096,9.995),IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,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,'⑨九')COLORBLUE;
DRAWTEXT(IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))))+3),DRAWNULL)/REF(V,1)>10,IF((CURRBARSCOUNT=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(FROMOPEN,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(FROMOPEN,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,'十')COLORBLUE;
STICKLINE(BETWEEN(V/REF(V,1),2.9,3.9) AND C>=O ,0,V,2,0),COLOR800080;
STICKLINE(AMOUNT/V/100<REF(C,1) AND C>O AND C<300 AND SUM(AMOUNT,1)/SUM(V,1)/100<REF(C,1) AND NOT(C/REF(C,1)>1.095 AND H=O AND L=H) AND C>O ,0,V,1,0),COLORFF80FF;
STICKLINE((SUM(AMOUNT,1)/SUM(V,1)/100>REF(C,1) AND C<=O) OR (SUM(AMOUNT,1)/SUM(V,1)/100>REF(C,1) AND C>REF(C,1) AND C<=O AND C>300) AND NOT(C/REF(C,1)>1.095 AND H=O AND L=H) AND C<=O ,0,V,1,0),COLORFF80FF;
STICKLINE(RANGE(LOWRANGE(V),28,90),0,V*0.15,2,0),COLORC08080;
STICKLINE(LOWRANGE(V)>18 AND LOWRANGE(V)<28,0,V*0.2,2,0),COLOR400080;
STICKLINE(LOWRANGE(V)>=90 AND LOWRANGE(V)<=999,0,V*0.3,2,0),COLOR400080;
STICKLINE(LOWRANGE(V)>=1000,0,V,3,0),COLOR400080;
STICKLINE(V>=REF(V,1)*1.87 AND C>=REF(C,1) AND C>=O AND C>=O ,0,V,2,0),COLORBLUE;
STICKLINE((C-REF(C,1))/REF(C,1)*100<IF(CODELIKE('68'),-9.0,-6.9) AND (C-REF(C,1))/REF(C,1)*100<IF(CODELIKE('30'),-9.0,-6.9),0,V,3,0),COLORGREEN;
STICKLINE((C-REF(C,1))/REF(C,1)*100<IF(CODELIKE('68'),-19.71,-6.9) AND (C-REF(C,1))/REF(C,1)*100<IF(CODELIKE('30'),-17.71,-6.9) AND H<REF(L,1),0,V,3,0),COLORBLACK;
STICKLINE(V>=REF(V,1)*1.87 AND C<O AND NOT(C/REF(C,1)>1.095 AND H=O AND L=H) AND SUM(AMOUNT,1)/SUM(V,1)/100<REF(C,1),0,V,1,0),COLORLIGREEN;
STICKLINE(V/REF(V,1)>=2.9 AND C>=O ,0,V,2,0),COLORMAGENTA;
STICKLINE((C-REF(C,1))/REF(C,1)*100>IF(CODELIKE('68'),19.71,9.71) AND (C-REF(C,1))/REF(C,1)*100>IF(CODELIKE('30'),19.71,9.71) AND C=H,0,V,(3),0)COLORRED;
STICKLINE(RANGE(TOPRANGE(V),87,50000) AND C>=O,V*0.8,V,2,0),COLOR4080FF;
STICKLINE(H,REF(V,BARSLAST(FILTER(TOPRANGE(V)>=20=1,2))),REF(V,BARSLAST(FILTER(TOPRANGE(V)>=20=1,2))),2,0),COLORLIMAGENTA;
DRAWTEXT(BETWEEN(V/REF(V,1),2.9,3.91),V,'三')DRAWABOVE;
DRAWTEXT(BETWEEN(V/REF(V,1),3.90,4.96),V,'四')DRAWABOVE;
DRAWTEXT(BETWEEN(V/REF(V,1),4.95,5.96),V,'五')DRAWABOVE;
DRAWTEXT(BETWEEN(V/REF(V,1),5.95,6.96),V,'六')DRAWABOVE;
DRAWTEXT(BETWEEN(V/REF(V,1),6.95,7.96),V,'七')DRAWABOVE;
DRAWTEXT(BETWEEN(V/REF(V,1),7.95,8.96),V,'八')DRAWABOVE;
DRAWTEXT(BETWEEN(V/REF(V,1),8.95,9.96),V,'九')DRAWABOVE;
DRAWTEXT(V/REF(V,1)>=9.96,V,'十')DRAWABOVE;
DRAWTEXT(BETWEEN(V/REF(V,1),0.95,1.07) AND C>=O,V,'平')DRAWABOVE;DRAWTEXT(LOWRANGE(V)>18 AND LOWRANGE(V)<28,V,'廿')DRAWABOVE;DRAWTEXT(LOWRANGE(V)>=90 AND LOWRANGE(V)<=999,V,'百')DRAWABOVE COLOR4080FF;DRAWTEXT(LOWRANGE(V)>=1000,V,'仟')DRAWABOVE COLOR4080FF;DRAWGBK(DATE>1231231,RGB(0,255,0),RGB(255,0,0),0,0,0);DRAWTEXT(BETWEEN(V/REF(V,1),0.38,0.5),V,'21')DRAWABOVE COLORBLUE;DRAWTEXT(BETWEEN(V/REF(V,1),0.5,0.618),V,'31')DRAWABOVE COLORRED;DRAWTEXT(V<REF(V,1)*0.38,V,'32')DRAWABOVE COLORRED;
所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.98,0,1,DYBLOCK),COLORRED;所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.91,0,1,HYBLOCK),COLORBLUE;所属概念:DRAWTEXT_FIX(ISLASTBAR ,0.84,0,1,GNBLOCK),COLORRED;
DRAWICON(RANGE(TOPRANGE(V),87,50000) AND C<O,V,35)DRAWABOVE COLORRED;DRAWNUMBER(TOPRANGE(V)>=1000,V*0.9,TOPRANGE(V))COLORBLUE DRAWABOVE;
历史低量:LOWRANGE(V),NODRAW,COLOR4080FF;历史高量:TOPRANGE(V),NODRAW,COLORMAGENTA;
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
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((C-1日前的C)/1日前的C*100
STICKLINE(V>=1日前的V*1.87 AND C1.095 AND H=O AND L=H) AND 1的成交额日累和/1的V日累和/100<1日前的C,0,V,1,0),COLORLIGREEN
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 CDRAWNUMBER(TOPRANGE(V)>=1000,V*0.9,TOPRANGE(V)) 画蓝色 DRAWABOVE
输出历史低量:最低价RANGE(V),NODRAW,COLOR4080FF
输出历史高量:TOPRANGE(V),NODRAW,画洋红色