更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
编写要求:
请老师帮写一个MACD指标 DIF大于DEA 在60均线上收阴 做个预警选股 谢谢老师1请老师帮写一个MACD指标 DIF大于DEA 在60均线上收阴 做个预警选股 谢谢老师2请老师帮写一个MACD指标 出低 在60均线上收阴 做个预警选股 谢谢老师老师两个选股 谢谢老师DIF:=EMA(CLOSE,10)-EMA(CLOSE,22);DE:=EMA(DIF,7.5);MACDA:=2*(DIF-DE),;HZL:=CROSS(MACDA,0);LZH:=CROSS(0,MACDA);BC:=BARSLAST(HZL OR LZH)+1;ZGHZ:=IF(MACDA>0,HHV(MACDA,BC),0);ZGLZ:=IF(MACDA<0,LLV(MACDA,BC),0);DRAWBAND(ZGHZ,RGB(105,77,77),0,RGB(77,77,77));DRAWBAND(ZGLZ,RGB(80,0,0),0,RGB(66,88,66));DIFF:EMA(CLOSE,10)-EMA(CLOSE,22),COLORFFFFFF;DEA:EMA(DIFF,7.5),COLOR00FFFF;MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK0;STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,1.5,1),COLORRED;STICKLINE(MACD>0 AND MACDREF(MACD,1),0,MACD,1.5,0),COLORFFAAFF;↑:TROUGHBARS(3,3,1),COLOR0000FF,NODRAW;↓:PEAKBARS(3,3,1),COLOR00FF00,NODRAW;低:IF(↑=0,DIFF,IF(↓<↑,TROUGH(3,3,1),REF(TROUGH(3,3,1),1))),COLOR00FFFF,NODRAW;高:IF(↓=0,DIFF,IF(↑<↓,PEAK(3,3,1),REF(PEAK(3,3,1),1))),COLOR00FF00,NODRAW;STICKLINE(↑=0 AND DIFF<0 AND DIFF
解答:
DIF:=EMA(CLOSE,10)-EMA(CLOSE,22);
选股票看什么指标最好 >股票指标网
精彩评论