主题633
精华0
阅读权限30
注册时间2015-4-3
在线时间0 小时
最后登录2017-1-4
美元0
爱心果7400
贡献0
- 积分
- 9550
刺使
- 听众
- 7
|
30爱心果
求助老师把下面的指标出现【红柱】改成选股公式,谢谢!!!!!!!!!
中轨:MA((C+O+L+H)/4,N);
上轨:中轨+2.58*STD((C+O+L+H)/4,N)LINETHICK1;
头部:中轨+1.58*STD((C+O+L+H)/4,N),LINETHICK3;
下轨:中轨-2.58*STD((C+O+L+H)/4,N),LINETHICK1;
底部:中轨-1.58*STD((C+O+L+H)/4,N)LINETHICK3;
HV:=HHV(V,N1)=V OR V/REF(V,1)>=2;
FT:=BARSLAST(HV);
量能平台:IF(HV,C,REF(C,FT)),COLORYELLOW,POINTDOT,LINETHICK2;
短买:=L>REF(L,1) AND REF(L,1)<REF(底部,2) AND 底部>REF(底部,1);
DRAWTEXT(短买,L*0.98,'买'),COLORRED;
MA5:=MA(C,5),COLORBLUE,LINETHICK2;
卖:= HHV( HIGH,20)=H;
DRAWTEXT(卖 AND C<REF(C,1) AND L<=MA5,H*1,'卖'),COLORFFFFFF;
VARA:=((AMOUNT)/(VOL))/(100);
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*(100);
VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ:=MA(VARE,20)+STD(VARE,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
AA:=SMA(VARF,3,1);
SS:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>79);
DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>SS),H*1.02,'卖'),LINETHICK7,COLORGREEN;
VAR1:=ZIG(3,10)<REF(ZIG(3,10),1)
AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
VAR2:=ZIG(3,10)>REF(ZIG(3,10),1)
AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
STICKLINE(VAR2,C,O,3,0),COLORFF00FF,LINETHICK2;
STICKLINE(VAR2,C,O,3,0),COLORFF00FF,LINETHICK2;
STICKLINE(VAR2,H,L,1,0),COLORFF00FF,LINETHICK2;
DRAWTEXT(H<REF(H,1) AND REF(H,1)>上轨,H,'↓'),LINETHICK7,COLORGREEN;
VAR3:=ZIG(3,35)>REF(ZIG(3,35),1)
AND REF(ZIG(3,35),1)<REF(ZIG(3,35),2);
DRAWTEXT(VAR3,L*0.98,'▲'),LINETHICK7,COLORRED;
VAR4:=ZIG(3,35)<REF(ZIG(3,35),1)
AND REF(ZIG(3,35),1)>REF(ZIG(3,35),2);
DRAWTEXT(VAR4,H*0.999,'▼'),LINETHICK7,COLORGREEN; |
最佳答案
查看完整内容
你试试
中轨:=MA((C+O+L+H)/4,1);
底部:=中轨-1.58*STD((C+O+L+H)/4,1);
短买: L>REF(L,1) AND REF(L,1)REF(底部,1);
|