同花顺指标——安全操作(主图)

2011-02-15 16:58:00来源:本站整理浏览:123

上线1:=SMA(C,3,1);
下线1:=SMA(C,8,1);
上线:=SMA(C,6.5,1);
下线:=SMA(C,13.5,1);

DRAWTEXT(CROSS(下线1,上线1),HIGH*1.2,'建仓'),coloryellow;
DRAWTEXT(CROSS(上线,下线),HIGH*1.1,'加仓' ),color00ff00;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA (CLOSE,24))/4;
UPR:=BBI+3*STD(BBI,13);
DWN:=BBI-3*STD(BBI,13);
安全:=MA(CLOSE,60);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE- LC),6,1)*100;
DRAWTEXT( CROSS(82,RSI) , LOW*0.8,'减仓') ,colorwhite;

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE- LC),6,1)*100;
DRAWTEXT(CROSS(30,RSI1),LOW*1.15,'建 仓'),colorblue;

A7:=(2*C+H+L)/4;
操作:MA(a7,5);
操作1:=MA(a7,5)*1.03;
操作2:=MA(a7,5)*0.97;
VAR1:LLV(a7,21);
VAR2:HHV(a7,21);
SK:=EMA((7-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
COUNT(sk>=sd,3) AND REF(LOW,1)=LLV(LOW,120),1,0),HIGH*1.05,' 买进') ,COLOR0099ff;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 AND
COUNT(sk>sd,6) AND REF(LOW,5)=LLV(LOW,120),1,0),HIGH*1.05,'买 进') ,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;
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式