设为首页加入收藏

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

同花顺指标公式 同花顺用斜率描绘MACD金叉死叉指标公式

2014-12-17 10:45:12 股票入门 http://rumen.southmoney.com

  南方财富网带来同花顺指标公式 同花顺用斜率描绘MACD金叉死叉指标公式:

  TD_MACD.用斜率描绘MACD金叉死叉后的股价上行下行通道。

  DEVIL:EMA((SLOPE(CLOSE,21))*(20) + CLOSE,42);

  DEVILH:EMA((SLOPE(HIGH,21))*(20) + HIGH,42);

  DEVILL:EMA((SLOPE(LOW,21))*(20) + LOW,42);

  STICKLINE(CLOSE》=DEVIL,DEVIL,DEVIL,9,1),colorred;

  STICKLINE(CLOSE《DEVIL,DEVIL,DEVIL,9,1),colorgreen;

  STICKLINE(HIGH》=DEVILH,DEVILH,DEVILH,9,1),colorred;

  STICKLINE(HIGH《DEVILH,DEVILH,DEVILH,9,1),colorgreen;

  STICKLINE(LOW》=DEVILL,DEVILL,DEVILL,9,1),colorred;

  STICKLINE(LOW《DEVILL,DEVILL,DEVILL,9,1),colorgreen;

  MA60:MA(CLOSE,60);

  MID = MA(CLOSE,21);

  UP: MID + 2*STD(CLOSE,21);

  L: MID - 2*STD(CLOSE,21);

  MIDH = MA(HIGH,21);

  UPH: MIDH + 2*STD(HIGH,21);

  MIDL = MA(LOW,21);

  LL: MIDL - 2*STD(LOW,21);

  MA5:MA(CLOSE,5);

  MA10:MA(CLOSE,10);

  IF(CLOSE》OPEN)

  RETURN “阳”;

  ELSE IF(CLOSE《OPEN)

  RETURN “阴”;

  ELSE IF(CLOSE==OPEN AND OPEN》=CLOSE[1])

  RETURN “阳”;

  ELSE IF(CLOSE==OPEN AND OPEN《=CLOSE[1])

  RETURN “阴”;

  ELSE

  RETURN “平”;

  SHGZG;

  MONEY;

  HIGH;

  LOW;

  LOW;

  用法:

  为预测大盘趋势与个股趋势,在操作时根据强弱指标进行简单操作。

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