UID396287
积分61
学分
推广 个
预报后涨停 支
阅读权限20
在线时间 小时
注册时间2017-5-7
最后登录1970-1-1
|
G1:=REF(CLOSE,4)>REF(OPEN,4);
G2:=REF(CLOSE,3)>REF(OPEN,4) AND REF(CLOSE,3)<REF(CLOSE,4);
G3:=REF(CLOSE,2)>REF(OPEN,4) AND REF(CLOSE,2)<REF(CLOSE,3);
G4:=REF(CLOSE,1)>=REF(OPEN,4) AND REF(CLOSE,1)<REF(CLOSE,2);
G5:=CLOSE>REF(HIGH,1);{价格的比较}
H1:=REF(VOL,2)<REF(VOL,3) AND REF(VOL,1)<REF(VOL,2) AND VOL>REF(VOL,1);{量的比较}
J1:=G1 AND G2 AND G3 AND G4 AND G5 AND H1;
DRAWTEXT(J1,HIGH,'上升三法');{输出一:上升三法}
AA1:=LLV(LOW,MM);
AA2:=AA1*NN;
AA3:=CLOSE<AA2;
TT1:=PEAK(1,5,1);{上一个波峰的峰值}
TT2:=PEAK(0,5,1);{上一个波峰到当前的周期数}
TT3:=TT2>MM1 AND CLOSE>TT1 AND REF(CLOSE,1)<=TT1 AND REF(CLOSE,2)<=TT1 AND REF(CLOSE,3)<=TT1;
TT5:=AA3 AND TT3;
DRAWTEXT(TT5,HIGH,'过');{输出二:过左峰}
A11:=CLOSE<OPEN;
A12:=OPEN-CLOSE;{第一个阴线的实柱长}
B11:=BARSLAST(CLOSE>=OPEN);
B12:=REF(CLOSE,B11)-REF(OPEN,B11);{第一个阳线的实柱长}
C10:=B11<3;
C11:=A12-B12>0;
C12:=VOL<REF(VOL,B11);
C13:=VOL<REF(VOL,B11) AND REF(VOL,1)<REF(VOL,2);
C14:=IF(B11=2,C13,C12);
CC:=C10 AND C11 AND C13;{必须条件}
G11:=VOL<SUM(VOL,5)/5;{好,不坏}
G17:=VOL<(REF(VOL,B11)*1/4+REF(VOL,12)*3/4);{有副作用,禁用}
G21:=VOL<(1/3*SUM(VOL,5)/5+1/3*REF(VOL,B11)+1/3*LLV(VOL,5));{好,不坏}
G22:=10.00>100*SUM(DYNAINFO(37),5)/5;{小测试无副作用}
G23:=10000000*(HIGH-LOW)/VOL;
G24:=10000000*(REF(HIGH,B11)-REF(LOW,B11))/REF(VOL,B11);
G241:=SUM(G24,12)/12;
G25:=G23>G241;
GG:=G11 AND G21 AND G22 AND G25;{重要的限制条件}
F11:=CC AND GG;
DRAWICON(F11,HIGH*1.01,27);{输出三:长阴短柱}; |
|