收集:中国股票市场经济分析网

十技术指标主图

MA5:MA(C,5);
MA10:MA(C,10),COLOR00FFFF;
MA20:MA(C,20),COLORFF00FF;
MA60:MA(C,60),COLOR00FF00;
M120:MA(C,120),COLORGRAY;
M250:MA(C,250),COLORFF6600;
TP:=(HHV(H,55));
BS:=(LLV(L,55));
F:=TP-BS;
PS:=((C-BS)/(TP-BS)*100);
P05:=BS+0.05*F;
P15:=BS+0.15*F;
P25:=BS+0.25*F;
P35:=BS+0.35*F;
P45:=BS+0.45*F;
P55:=BS+0.55*F;
P65:=BS+0.65*F;
P75:=BS+0.75*F;
P85:=BS+0.85*F;
P95:=BS+0.95*F;
DRAWTEXT((CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100+6<0,P05,'BIAS买入'),COLORRED;
DRAWTEXT(100*(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)>12,P95,'BIAS卖出'),COLORGREEN;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
DRAWTEXT((CROSS(K,D)&&K<20),P15, 'KD买入'),COLOR8888ff;
DRAWTEXT((CROSS(D,K)&&K>80),P85, 'KD卖出'),COLOR88ff88;
DRAWTEXT((CROSS(J,0)),P25, 'KDJ买入'),COLOR00AAFF;
DRAWTEXT((CROSS(100,J)),P75,'KDJ卖出'),COLORFFAA00;
WR1:=100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
DRAWTEXT((CROSS(80,WR1)),P35, 'WR买入'),COLOR00FFFF;
DRAWTEXT((CROSS(WR1,30)),P65, 'WR卖出'),COLORFFFF00;
DRAWTEXT((CROSS(CLOSE-REF(CLOSE,12),0)),P45,'MTM买入'),COLORFF00FF;
DRAWTEXT((CROSS(0,MA(CLOSE-REF(CLOSE,6),6))),P55, 'MTM卖出'),COLORFFFF00;
MID :=  MA(CLOSE,20);
UPPER:= MID+2*STD(CLOSE,20);
LOWER:= MID-2*STD(CLOSE,20);
DRAWTEXT((CROSS(CLOSE,LOWER)),P55, 'BOLL买入'),COLORRED;
DRAWTEXT((CROSS(UPPER,CLOSE)),P45, 'BOLL卖出'),COLORGREEN;
DRAWTEXT((CROSS(MA(CLOSE,5),MA(CLOSE,20))),P65,'MA买入'),COLOR8888ff;
DRAWTEXT((CROSS(MA(CLOSE,20),MA(CLOSE,5))),P35, 'MA卖出'),COLOR88ff88;
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA  := EMA(DIFF,9);
DRAWTEXT((CROSS(DIFF,DEA)),P75, 'MACD买入'),COLORFF00FF;
DRAWTEXT((CROSS(DEA,DIFF)),P25,'MACD卖出' ),COLORFFFF00;
LC:= REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT((CROSS(RSI1,20)),P85, 'RSI买入'),COLOR00AAFF;
DRAWTEXT((CROSS(80,RSI1)),P15, 'RSI卖出'),COLORFFAA00;
DRAWTEXT((SARTURN(10,2,20)=1),P95, 'SAR买入'),COLOR00FFFF;
DRAWTEXT((SARTURN(10,2,20)=-1),P05, 'SAR卖出'),COLORFF0000;

上证1分、5分、15分、30分、60分、1日多周期同列


 



发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口


相关内容


  • 上一篇教程:
  • 下一篇教程: