马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
白线金叉红线做多,反之死叉做空, 红线金叉绿线确认做多信号,反之死叉确认做空信号,
须和均线、成交量及其他指标配合使用,提高判断正确概率
VAR1:=100*(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10));
VAR2:=100*(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20));
VAR3:=100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30));
VAR4:=(VAR1+VAR2+VAR3)/3;
VAR5:=SMA(VAR4,5,1);
K:=SMA(VAR5,4,1);
D:=SMA(K,3,1);
F:=SMA(VAR4,3,1);
J:=3*F-2*SMA(F,3,1);
X:=K-D;
IF(J<0) J=0;
IF(J>100) J=100;
DRAWTEXT(CROSS(K,D) AND EMA(CLOSE,5)<CLOSE,D-5,'买入!'),colorred;
DRAWTEXT(CROSS(D,K) AND EMA(CLOSE,5)>CLOSE,D+5,'止盈!'),colorgreen;
STICKLINE((K >= D),K,D,5,0),colorred;
STICKLINE((K <= D),K,D,5,0),colorgreen;
趋势:K,colorwhite;
人气:J,colorDB70DB;
多空:X;
|