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

月:MA(CLOSE,26),colorgreen;
周:MA(CLOSE,6),COLORFF00FF;
月21:MA(CLOSE,21),coloryellow;
月34:MA(CLOSE,34),colorblue;

STICKLINE(C>=月 AND C>=O,C,O,7,0),colorred;
STICKLINE(C>=月 AND C>=O,H,L,0,0),colorred;
STICKLINE(C<月 AND C<=O,C,O,7,0),COLORffff00;
STICKLINE(C<月 AND C<=O,H,L,0,1),COLORffff00;
STICKLINE(C<月 AND C>O,C,H,0,1),COLORffff00;
STICKLINE(C<月 AND C>O,O,L,0,1),COLORffff00;
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),1);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),2);
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'买入'),color4440FF;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),'卖出'),colorFFFF34;


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


相关内容


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