设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

通达信主图公式源码 通达信大势趋势线主图公式源码

2015-3-5 10:56:55 股票入门 http://rumen.southmoney.com

  南方财富网带来通达信主图公式源码 通达信大势趋势线主图公式源码:

  工作线:=MA(CLOSE,1);

  趋势线:MA(CLOSE,18)COLORGREEN,LINETHICK2;

  强势线:MA(CLOSE,3)COLORRED,LINETHICK2;

  TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);

  TT1:=REF(EMA(TT2,3),1);

  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;

  LC:=REF(CLOSE,1);

  RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);

  FF:=EMA(CLOSE,3);

  稻壳1:EMA(CLOSE,144),POINTDOT,COLORWHITE;

  稻壳2:EMA(C,318);

  AA1:=AMOUNT/VOL;

  BB1:=L《AA1*0.9;

  CC1:=(C-REF(C,1))/REF(C,1)*100》1.2;

  DD1:=L《MA(C,5)*0.921;

  EE1:=VOL《MA(V,5)*1.5;

  FF1:=BB1 AND CC1 AND DD1 AND EE1;

  F:=100*(C-REF(C,1))/REF(C,1);

  P1:=IF(C《REF(O,1) AND F《0,1,0);

  P2:=IF(C《REF(O,2) AND F《0,1,0);

  TT3:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 ;

  TT4:=P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0 ;

  Z1:=MA(C,13);

  ZX:=REF(Z1,13/2+1);

  DRAWICON(CROSS(ZX,C),H*1.01,2);

  DRAWTEXT(CROSS(工作线,趋势线)AND J《55,LOW,‘入’)COLORWHITE;

  DRAWTEXT(CROSS(CLOSE,TT1)AND J《55,LOW,‘买’),COLORRED;

  DRAWTEXT(CROSS(88,RSI),HIGH * 1.02,‘顶’),COLOR00FFFF;

  DRAWTEXT(FF1,L*0.99,‘超短’),COLOR00FF00;

  STICKLINE(TT3,OPEN,CLOSE,3,0),COLORFF00FF;

  STICKLINE(TT4,OPEN,CLOSE,3,0),COLORGREEN;

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。