设为首页加入收藏

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

同花顺公式源码 同花顺阶梯等多综合公式源码

2015-2-4 10:52:24 股票入门 http://rumen.southmoney.com

  南方财富网带来同花顺公式源码 同花顺阶梯等多综合公式源码:

  看了就明白,以阶梯我基础,叠加一些时点提醒。既有趋势,又有时点,挺好的。

  以MACD均线和趋势阶梯为基础,添加主图杀庄、吃喝不愁,综合判断,效果很好。

  DIF:IF(EMA(C,10)》EMA(C,30),EMA(C,10),EMA(C,30));

  DEA:IF(EMA(EMA(C,10),5)》EMA(EMA(C,30),5),EMA(EMA(C,10),5),EMA(EMA(C,30),5)),LINETHICK2,colorred;

  LC:=REF(CLOSE,1);

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

  VAR27:=REF(CLOSE,1);

  VAR28:=SMA(MAX(CLOSE-VAR27,0),5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;

  VARA:=((AMOUNT)/(VOL))/(100);

  VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);

  VARC:=((SUM(AMOUNT,7))/(VARA))/(100);

  VARD:=DMA(VARB,(VOL)/(VARC));

  VARE:=((CLOSE-VARD)/(VARD))*(100);

  VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);

  VARJ:=MA(VARE,20)+STD(VARE,20);

  VARH:=(C+L+H)/3;

  VARL:=EMA(VARH,6);

  VARG:=EMA(VARL,5);

  BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);

  AA:=SMA(VARF,3,1);

  VAR1:=ZIG(3,10)《REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)》REF(ZIG(3,10),2);

  VAR2:=ZIG(3,10)》REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)《REF(ZIG(3,10),2);

  STICKLINE(VAR1,H,L,8,0),COLORFF00FF,LINETHICK2;

  STICKLINE(VAR1,H,L,3,0),COLORFF00FF,LINETHICK2;

  STICKLINE(VAR1,H,L,1,0),COLORFF00FF,LINETHICK2;

  STICKLINE(VAR2,H,L,8,0),colorwhite,LINETHICK2;

  STICKLINE(VAR2,H,L,3,0),colorwhite,LINETHICK2;

  STICKLINE(CROSS(VARL,VARG),H,L,2,1),coloryellow;

  DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.97,‘←机构进场’) ,

  LINETHICK2,COLOR00FFFF;

  DRAWICON((ZIG(3,5)》REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)《=REF(ZIG(3,5),2)) AND

  (REF(ZIG(3,5),2)《=REF(ZIG(3,5),3)),LOW*0.99,1);

  DRAWICON((ZIG(3,5)《REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)》=REF(ZIG(3,5),2)) AND

  (REF(ZIG(3,5),2)》=REF(ZIG(3,5),3)),H,2);

  AZ6:=(3 * (SMA((((CLOSE - (LLV(LOW,27))) /

  ((HHV(HIGH,27)) - (LLV(LOW,27)))) * 100),5,1))) - (2 * (SMA((SMA((((CLOSE -

  (LLV(LOW,27))) / ((HHV(HIGH,27)) - (LLV(LOW,27)))) * 100),5,1)),3,1)));

  B7:=(10);

  VARC:=(ZIG(3,5)》REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)《=REF(ZIG(3,5),2)) AND

  (REF(ZIG(3,5),2)《=REF(ZIG(3,5),3));

  VARD:=(ZIG(3,5)《REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)》=REF(ZIG(3,5),2)) AND

  (REF(ZIG(3,5),2)》=REF(ZIG(3,5),3));

  DRAWTEXT((VARC=1),L,‘←进’),COLOR0000FF;

  DRAWTEXT((VARD=1),H,‘←出’),COLOR00FF00;

  FF:=EMA(CLOSE,3);

  MA15:=EMA(CLOSE,21);

  波动回调提示图:MA(CLOSE,10000);

  STICKLINE((MA15 》 REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,color0000FF;

  STICKLINE((MA15 《 REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorFF0000;

  DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),‘上拐点’),Color00FFFF;

  DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),‘下拐点’),Color00FF00;

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