量过左峰通达信指标公式源码
W1:=REF(HHV(H,10),1);
W2:=MAX(REF(C,1),REF(C,3))
W3:=C>W1 AND W2;
过左1:=(3*C+H+L+O)/6;
过左2:=VOL/REF(VOL,1)>=2;
VAR11:=DYNAINFO(17)*REF(MA(VOL,5),1);
VAR21:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
预测:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR11,VAR21);
预:=预测/REF(VOL,1)>=2;
倍量:=预OR 过左2;
过左3:=(8*过左1+7*REF(过左1,1)+6*REF(过左1,2)+5*REF(过左1,3)+4*REF(过左1,4)+3*REF(过左1,5)+2*REF(过左1,6)+REF(过左1,8))/36;
过左4:=倍量AND CLOSE>过左3 AND C>REF(C,1);
黄金柱:=FILTER(过左4,3);
过左:=黄金柱AND 倍量;
倍量过左:过左AND W3;
我自己用来研究底用的,各种修改各种添加变动了
RR8:=MA(CLOSE,60);
RR9:=(CLOSE-RR8)/RR8*100;
RRA:=MA(RR9,2);
RRB:=BARSLAST(CROSS(-10,RRA)=1);
RRD:=RRA 3;
底部区域:IF(RRD,20,30),COLORRED,LINETHICK2;
STICKLINE(RRD,20,30,0.2,0),COLORRED;
VAR1:=MA(CLOSE,9);
VAR2:=(CLOSE-VAR1)/VAR1*100;
VAR3:=MA(VAR2,2);
VAR4:=BARSLAST(CROSS(-10,VAR3)=1);
VAR5:=VAR3 3;
VAR11:=MA(CLOSE,5);
VAR21:=(CLOSE-VAR1)/VAR1*100;
VAR31:=MA(VAR2,1);
VAR41:=BARSLAST(CROSS(VAR3,10)=1); VAR51:=VAR3>10 AND VAR4>3;
底部:IF(VAR5,40,30),COLORBLUE,LINETHICK2; STICKLINE(VAR5,40,30,0.2,0),COLORBLUE;