《【股票指标公式下载】-【大智慧】七夕主图(布林线、趋势线).doc》由会员分享,可在线阅读,更多相关《【股票指标公式下载】-【大智慧】七夕主图(布林线、趋势线).doc(6页珍藏版)》请在金锄头文库上搜索。
1、【大智慧】七夕主图(布林线、趋势线)-指标公式源码m:=5;var9Q:=c= hhv(c,4)and (ref(c,1)=ref(c,2) or ref(c,1)=ref(c,3) or ref(c,1)=hhv(c,4) and close=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c=ref(c,1) or ref(c,3)=hhv(c,4) and c=ref(c,1) and c=ref(c,2);持:var9Q,color0000ff,LINETHICK0;varaQ:=c=hhv(c,4) and ref(c,
2、1)=llv(c,4);变:varaQ,colorff99ff,LINETHICK0;varbQ:=c=llv(c,4) and (ref(c,1)ref(c,2) or ref(c,1)ref(c,3) or ref(c,1)=llv(c,4) and cref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)hhv(c,4) and cref(c,1) or ref(c,3)=llv(c,4) and cref(c,1) and c=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)=ref(c,3) and ref(c,2)=
3、ref(c,1);买:varcQ,color00ffff,LINETHICK0;vardQ:=ref(c,1)=hhv(c,4) and cref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)ref(c,2) and ref(c,2)=ref(c,4) and cmid);单边下降:=(cma(c,5) and ma(c,5)ma(c,10);股价在高位:=(c-llv(c,30)/(hhv(c,30)-llv(c,30)0.6);股价在低位:=(c-llv(c,30)/(hhv(c,30)-llv(c,30)0.4);布林线缩口:=(upper-mid)/mi
4、d=E2) OR barstatus=2 OR barscount(c)=1;L1:=(D2 AND not(D1 AND E1=E2);X1:=ref(barslast(H1),1)+1; F1:=backset(H1 AND count(L1,X1)0,llvbars(if(L1,l,10000),X1);G1:=F1ref(F1,1); I1:=backset(G1,2); LD:=I1ref(I1,1);过滤后低点L2:=LD OR barstatus=2 OR barscount(c)=1;X2:=ref(barslast(L2),1)+1; F2:=backset(L2 AND count(H2,X2)0,hhvbars(if(H2,h,0),X2);G2:=F2ref(F2,1); I2:=backset(G2,2); HD:=I2ref(I2,1);过滤后高点R1:=backset(barstatus=2,barslast(HD)+1); S1:=R1ref(R1,1); 前一高T1:=backset(barstatus=2,barslast(LD)+1); U1:=T1ref(T1,1); 前一低R2:=backset(S1,ref(barslast