同花顺最佳买卖指标
-
相关简介:同花顺最佳买卖指标 源码 参数:N(1,50,6),M(1,50,13),X(1,50,8),Q(1,50,6) 上线:=SMA(C,6.5,1); 下线:=SMA(C,13.5,1); STICKLINE(上线下线 , 上线,下线 ,2.5, 0),colorred,linethick2; STICKLINE(下线上线,上线,下线,2.5,0),coloryellow,linethick2; DRAWTEXT( CROSS(上线,下线),LOW *0.98,'☆买入' ),color00ff0
-
文章来源:股海网作者:股海网发布时间:2016-06-08浏览次数:
同花顺最佳买卖指标
源码
参数:N(1,50,6),M(1,50,13),X(1,50,8),Q(1,50,6)
上线:=SMA(C,6.5,1);
下线:=SMA(C,13.5,1);
STICKLINE(上线>下线 , 上线,下线 ,2.5, 0),colorred,linethick2;
STICKLINE(下线>上线,上线,下线,2.5,0),coloryellow,linethick2;
DRAWTEXT( CROSS(上线,下线),LOW *0.98,'☆买入' ),color00ff00;
DRAWTEXT(CROSS(下线,上线),H*1.02,'☆卖出'),colormagenta;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:BBI+3*STD(BBI,13),linethick2;
DWN:BBI-3*STD(BBI,13);
安全:MA(CLOSE,60),linethick2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,'卖出') ,COLORff9966,linethick2;
A7:=(2*C+H+L)/4;
Var1:=LLV(LOW,34);
Var2:=HHV(HIGH,34);
SK:=EMA((A7-Var1)/(Var2-Var1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) AND
COUNT(sk>=sd,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'买进') ,COLOR0099ff;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 AND
COUNT(sk>sd,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND
REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND
OPEN>REF(CLOSE,1),1,0),LOW*0.98,'买进') ,coloryellow;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,'抄底'),coloryellow;