联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

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

2014-12-13 22:20:04点击:

 

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;



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