手机端
当前位置:爱约股 > 公式技巧 > 把DTX选股公式改成大智慧的

把DTX选股公式改成大智慧的

 网友求助:

请老师把DTX选股公式改成大智慧的,多谢!!!!感谢原作者!!!

XV:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL);
HS:=XV/CAPITAL*100;
TJ1:=REF(O,1)<=REF(L,2);
TJ2:=ABS(REF(C,1)-REF(O,1))/(REF(H,1)-REF(L,1))<3/10;
TJ3:=XV/REF(VOL,1)>1.5;
TJ4:=HS>3;
TJ5:=C>REF(H,1);
XG:TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ5;

 

 

解答如下:

PP:=IF(CURRENTTIME>93000 AND CURRENTTIME<150000,
IF(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,
IF(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);
XV:=IF(BARSTATUS=2,VOL/PP*240,VOL);
HS:=XV/CAPITAL*100;
TJ1:=REF(O,1)<=REF(L,2);
TJ2:=ABS(REF(C,1)-REF(O,1))/(REF(H,1)-REF(L,1))<3/10;
TJ3:=XV/REF(VOL,1)>1.5;
TJ4:=HS>3;
TJ5:=C>REF(H,1);
XG:TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ5;
 

分享至:

相关推荐