立柱量主圖(水平面、短趨、中趨、立樁量)指標(biāo)公式源碼
水平面:EMA(CLOSE,99),COLOR3399FF;牛熊線:EMA(CLOSE,453),COLORRED;
AAA:=(3*C+H+L+O)/6; 短趨:(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36; 中趨:(LLV(短趨,2)+LLV(短趨,4)+LLV(短趨,6))/3; STICKLINE(C>中趨,短趨,中趨,0,0),COLORYELLOW; TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>短趨; 立樁量:=FILTER(TJ1,5);股票 TJ2:=IF(BARSLAST(立樁量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立樁量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立樁量)=3 AND CLOSE>REF(HIGH,3),1,0))); 突破:=TJ2=1; TJ3:=IF(BARSLAST(立樁量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立樁量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立樁量)=3 AND CLOSE>REF(LOW,3),1,0))); 三天法則:=TJ3=1; 成立:=三天法則 AND 突破; 條件成立:=FILTER(成立,3); DRAWICON(條件成立,L*0.91,1); |
|