以下是大智慧千里马中长线源码附图

Var1:=IF(YEAR>2011 AND MONTH>7, 0, 1);
Var2:=VOL/CAPITAL*100;
Var3:=MA(Var2, 4);
Var4:=(CLOSE-OPEN)/OPEN*100;
Var5:=BARSLAST(Var2>0.900 AND REF(Var2, 1)>0.900 AND REF(Var2, 2)<0.900 AND
REF(Var2, 3)<0.900 AND MA(REF(Var2, 2), 60)<0.900);
Var6:=(CLOSE-REF(OPEN, Var5))/REF(OPEN, Var5)*100;
Var7:=IF(Var5=0, HHVBARS(CLOSE, 0), Var5);
Var8:=HHVBARS(CLOSE, Var7);
ENTERLONG:Var1=1 AND Var2>0.900 AND REF(Var2, 1)>0.900 AND REF(Var2, 2)<0.900 AND
REF(Var2, 3)<0.900 AND MA(REF(Var2, 2), 60)<0.900 AND Var8>80;
EXITLONG:Var1=1 AND Var3>5 AND MA(Var4, 4)<2 AND Var6>100 AND
CROSS(MA(CLOSE, 6), MA(CLOSE, 3));

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。