编写要求:
大智慧1
V1:=H-L;
V2:=ABS(O-C);
V3:=H-IF(C>O,C,O);
V4:=IF(C>O,O,C)-L;
V5:=V2/V1*V;
V6:=V3/V1*V;
V7:=V4/V1*V;
RSV1:=(C-LLV(L,6))/(HHV(H,6)-LLV(L,6))*100;
K1:=SMA(RSV1,2,1);
D1:=SMA(K1,2,1);
J1:=3*K1-2*D1;
RSV:=(C-LLV(L,28))/(HHV(H,28)-LLV(L,28))*100;
K:=SMA(RSV,8, 1);
D:=SMA(K,2, 1);
J:=3*K-2*D;
LC:=REF(C,1);
XA:=IF(CROSS(J1,J) AND J<105,-1,0)+IF(CROSS(J,J1) AND J>97,1,0);
TYP:=(H+L+C)/16;
CCJ:=(TYP-MA(TYP,44))/(0.015*AVEDEV(TYP,44))/2;
RSI1:=SMA(MAX(C-LC, 0),26, 1)/SMA(ABS(C-LC), 26, 1)*100;
K2:=EMA((C-LLV(L,45))/(HHV(H,45)-LLV(L,45))*100,34);
XB:=IF(CCJ>100 AND K2>97 AND C>O, 0.8, 0)+IF(RSI1>97 AND K2>97
AND C>O, 0.5, 0);
RSV3:=(C-LLV(L,100))/(HHV(H,100)-LLV(L,100))*100;
K13:=SMA(RSV3, 42, 1);
D13:=SMA(K1, 3, 1);
J13:=3*K13-2*D13;
XC:=IF(J13>97 AND RSI1>97, 2.0, 0);
阳线逃:V*(XA+XB+XC>0),ColorFF0000,linethick3;
DRAWTEXT(阳线逃,阳线逃*1.8,'●'),ColorFFFF00;
DRAWTEXT(阳线逃,阳线逃*2.9,'清●仓'),ColorFFFF00;
{逃顶提示}
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.054 AND C
解答:
?V1:=H-L;
V2:=ABS(O-C);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!