资源描述:
《[通达信]通达信BS点+撑力阻力+倍量画线+立桩量-指标公式(主图源码贴图)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、[通达信]通达信BS点+撑力阻力+倍量画线+立桩量-指标公式(主图源码贴图)DRAWKLINE(H,O,L,C);黄金柱:=V/REF(V,1)>=1.9;K1:=SUMBARS(黄金柱,1);K2:=SUMBARS(黄金柱,2);K3:=SUMBARS(黄金柱,3);K4:=SUMBARS(黄金柱,4);K5:=SUMBARS(黄金柱,5);K6:=SUMBARS(黄金柱,6);K7:=SUMBARS(黄金柱,7);K8:=SUMBARS(黄金柱,8);K9:=SUMBARS(黄金柱,9);K10:=S
2、UMBARS(黄金柱,10);AA:STICKLINE(K1,REF(L,K1-1)*1.002,REF(L,K1-1),5,0),COLORYELLOW;STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;A1:=REF(H,17)=HHV(H,2*17+1);B1:=FILTER(A1,17);C1:=BACKSET(B1,17+1);HD:=FILTER(C1,17);波峰:REF(H,BARSLAST(HD)),POINTDOT,COLOR990099;
3、{极点L}AL1:=REF(L,17)=LLV(L,2*17+1);BL1:=FILTER(AL1,17);CL1:=BACKSET(BL1,17+1);LD:=FILTER(CL1,17);波谷:REF(L,BARSLAST(LD)),POINTDOT,COLOR009900;T1:=BARSLAST(HD)BARSLAST(LD)ANDNOT(LD);STICKLINE(T1,波峰,波峰,5,0),COLOR990099
4、;STICKLINE(T2,波谷,波谷,5,0),COLOR009900;V2V:=V/REF(V,1)>=1.9ANDC>REF(C,1);STICKLINE(V2V,O,C,-1,0),COLORYELLOW高:=REF(HHV(H,80),3);低:=REF(LLV(L,80),3);H19:=高-(高-低);H38:=高-(高-低);H中:=高-(高-低);H61:=高-(高-低);H80:=高-(高-低);顶点:REFDATE(高,DATE),POINTDOT,LINETHICK2,COLORW
5、HITE;低点:REFDATE(低,DATE),POINTDOT,LINETHICK2,COLORWHITE;BUY:=ZIG(3,10);SELL:=MA(BUY,2);DRAWICON(CROSS(BUY,SELL),L-0.1,7);DRAWICON(CROSS(SELL,BUY),H+0.1,8);DRAWKLINE(H,O,L,C);STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;立桩量:=VOL=HHV(VOL,40)ANDVOL>1.9*REF
6、(VOL,1);立桩量三日突破:=IF(BARSLAST(立桩量)=1ANDCLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2ANDCLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3ANDCLOSE>REF(HIGH,3),1,0)));立桩量三日不破:=BARSLAST(立桩量)=3ANDREF(LOW,3)<=MIN(MIN(C,REF(C,1)),REF(C,2));BACKSET300:=BACKSET(立桩量三日不破,4);BACKSET301
7、:=BACKSET(立桩量三日突破,4);立桩量成立:=FILTER(BACKSET300,3)ANDBACKSET301AND立桩量;DRAWTEXT(立桩量成立,HIGH,'立柱'),COLORGREEN;