下面这个公式是通达信里MACD绿柱变短,求高手加入MACD红柱变短信号。

DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);­
DEA : EMA(DIFF,9);­
MACD : 2*(DIFF-DEA), COLORSTICK;­
TJ:=MACD<0 AND REF(MACD,2)>REF(MACD,1) AND REF(MACD,1)<MACD;­
STICKLINE(TJ,0,MACD,4,0),COLOR00FF00;­
­通达信

DIFF : EMA(CLOSE,12) -EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA), COLORSTICK;
TJ:=MACD<0 AND REF(MACD,2)>REF(MACD,1) AND REF(MACD,1)<MACD;
RF:=MACD>0 AND REF(MACD,2)<REF(MACD,1) AND REF(MACD,1)>MACD;
STICKLINE(TJ,0,MACD,4,0),COLOR00FF00;
STICKLINE(RF,0,MACD,4,0),COLORRED;
{已测,通过。但这公式太呆板了,可用性很差}
温馨提示:内容为网友见解,仅供参考
无其他回答

下面这个公式是通达信里MACD绿柱变短,求高手加入MACD红柱变短信号。
DIFF : EMA(CLOSE,12) -EMA(CLOSE,26);DEA : EMA(DIFF,9);MACD : 2*(DIFF-DEA), COLORSTICK;TJ:=MACD<0 AND REF(MACD,2)>REF(MACD,1) AND REF(MACD,1)<MACD;RF:=MACD>0 AND REF(MACD,2)<REF(MACD,1) AND REF(MACD,1)>MACD;STICKLINE(TJ,0,MACD,4,0),COLOR00FF00;STIC...

请高手编写通达信macd绿柱变短或持续变短、红柱变长或持续变长的选股...
DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;EVERY(MACD>REF(MACD,1),持续周期);持续周期在参数栏设置,最小为1,最大为100,缺省为5,可以自己调整

请求高手编写通达信MACD绿柱变短或持续变短、红柱变长或持续变长的选 ...
{SHORT =12 LONG=26 MID=9} DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9);MACD:(DIF-DEA)*2,COLORSTICK;STICKLINE(MACD>=REF(MACD,1),0,MACD,0.0,0),COLORRED;STICKLINE(MACD<=REF(MACD,1),0,MACD,0.0,0),COLORGREEN;

求个macd只显示红绿柱的副图公式。通达信的!
MACD:(DIF-DEA)*2,COLORSTICK;参数结合系统指标添加即可.或直接使用下面的公式也可以。DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:(DIF-DEA)*2,COLORSTICK;

求通达信MACD红柱开始缩短的公式
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:EMA(DIF,MID); MACD:(DIF-DEA)*2,COLORSTICK; 缩短:REF(MACD,1)>0 AND MACD拓展资料:一.MACD红柱绿柱的正确用法MACD红柱绿柱战法在市场中,MACD的变化有这么一个规律:价格下跌,MACD绿柱逐步放大,当绿柱出现最高点时(最长绿柱),价格也...

求助:通达信MACD变色公式
_红柱:IF("MACD.MACD">REF("MACD.MACD",1),"MACD.MACD",DRAWNULL),STICK,COLORRED;绿柱:IF("MACD.MACD"<REF("MACD.MACD",1),"MACD.MACD",DRAWNULL),STICK,COLORYELLOW;_抄底:ABS((CROSS("MACD.DIF","MACD.DEA")&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.50,COLORLIMAGENTA;_DIF:"...

求通达信MACD红柱开始缩短的公式
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:EMA(DIF,MID);MACD:(DIF-DEA)*2,COLORSTICK;缩短:REF(MACD,1)>0 AND MACD<=0 AND MACD<REF(MACD,1);不能是将要变绿柱,而是一变绿条件成立,“缩短”值为1 如果是要将要变就显示的那只能引用未来函数,这样就没有实际参考价值了。

请高手老师编一个预警公式;要求如下:MACD出现底背离后(红柱出完后出...
REF("MACD.MACD"=HHV("MACD.MACD",30),1) AND "MACD.MACD"<REF("MACD.MACD",1);

通达信的MACD,后面的绿色柱子比前面的那个绿色柱子短,选股公式应该如何...
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;MACD>REF(MACD,1)AND MACD<0;

大智慧MACD绿柱缩短公式
MACD:="MACD.MACD";绿柱变短:BARSLAST(MACD<REF(MACD,1) ) =1 AND MACD<0;就这么简单,你可以按下图的样子试试看,--- MACD红柱比前一天长,前一天的比再前一天短的公式。MACD:="MACD.MACD";红柱长:(MACD>REF(MACD,1) AND MACD>0) AND REF((MACD<REF(MACD,1) AND MACD>0) ,...

相似回答