在线检测未来函数

通达信VOL精制版指标公式

来源:Internet,编辑:股旁网,2023-04-07

MAV5:MA(V,5),COLORYELLOW;
MAV10:MA(V,10),COLORCYAN;
HPLZ1:=V/REF(V,1)>=0.95 AND V/REF(V,1)<=1.05;
HLZ2:=REF(HHV(V,2),1);
HPLZ2:=V/HLZ2>=0.95 AND V/HLZ2<=1.05;
HLZ3:=REF(HHV(V,3),1);
HPLZ3:=V/HLZ3>=0.95 AND V/HLZ3<=1.05;
HLZ4:=REF(HHV(V,4),1);
HPLZ4:=V/HLZ4>=0.95 AND V/HLZ4<=1.05;
HLZ5:=REF(HHV(V,5),1);
HPLZ5:=V/HLZ5>=0.95 AND V/HLZ5<=1.05;
HLZ6:=REF(HHV(V,6),1);
HPLZ6:=V/HLZ6>=0.95 AND V/HLZ6<=1.05;
HLZ7:=REF(HHV(V,7),1);
HPLZ7:=V/HLZ7>=0.95 AND V/HLZ7<=1.05;
HLZ8:=REF(HHV(V,8),1);
HPLZ8:=V/HLZ8>=0.95 AND V/HLZ8<=1.05;
HLZ9:=REF(HHV(V,9),1);
HPLZ9:=V/HLZ9>=0.95 AND V/HLZ9<=1.05;
HLZ10:=REF(HHV(V,10),1);
HPLZ10:=V/HLZ10>=0.95 AND V/HLZ10<=1.05;
HLZ11:=REF(HHV(V,11),1);
HPLZ11:=V/HLZ11>=0.95 AND V/HLZ11<=1.05;
HLZ12:=REF(HHV(V,12),1);
HPLZ12:=V/HLZ12>=0.95 AND V/HLZ12<=1.05;
HLZ13:=REF(HHV(V,13),1);
HPLZ13:=V/HLZ13>=0.95 AND V/HLZ13<=1.05;
PLZ:=HPLZ13 OR HPLZ12 OR HPLZ11 OR HPLZ10 OR HPLZ9 OR HPLZ8 OR HPLZ7 OR HPLZ6 OR HPLZ5 OR HPLZ4 OR HPLZ3 OR HPLZ2 OR HPLZ1;
N:=100;
DDL:=100*(V-LLV(V,N))/(HHV(V,N)-LLV(V,N));
M:=13;
DL:=100*(V-LLV(V,M))/(HHV(V,M)-LLV(V,M));
倍量:V>=REF(V,1)*1.9,COLORMAGENTA;
低量:(V<=HHV(V,13)*0.33 OR DL<5 ) AND V<REF(V,1),COLORCYAN;
地量:V<=MA(LLV(V,100),100) OR (DDL<4 AND V<REF(V,1)),COLORBLUE;
平量:PLZ,COLORBROWN;
倍缩:V<=REF(V,1)*0.55,COLORRED;
STICKLINE(C>O,0,V,2,0),COLORRED;
STICKLINE(C<=O,0,V,2,0),COLORGREEN;
STICKLINE(平量,0,V,2,1),COLORBROWN;
STICKLINE(倍量,0,V,2,0),COLORMAGENTA;
STICKLINE(倍缩,0,V,2,0),COLORRED;
STICKLINE(低量,0,V,2,1),COLORCYAN;
STICKLINE(地量,0,V,2,0),COLORBLUE;
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);
V5:=MA(V,5);
V12:=MA(V,12);
V34:=MA(V,34);
C6:=MA(C,6);
DRAWTEXT (vol>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,V,'天'),COLORCYAN;
DRAWTEXT (VOL<MA(VOL,5)/2 AND V<V12/2,HHV(V,100)/2,'地'),COLORBLUE;
DRAWTEXT (crOSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,HHV(V,100),'★吸'),COLORYELLOW;
DRAWTEXT(BARSLAST(V>REF(V,1))>=3,HHV(V,100),'缩');

通达信VOL精制版指标公式

相关文章