以下是通达信淘金股极品公式副图源码(无源码的请下载附件导入)
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
{柱状线}
AAA1:=(DIF-DEA)*2*60;
必涨天上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),
STICK,COLORRED,LINETHICK1;
必涨天下:=IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORYELLOW,LINETHICK1;
黑马线:=16,POINTDOT,COLORFFFFFF;
主力:=AAA1-REF(AAA1,1),COLORRED;
启动:=CROSS(主力,黑马线);
STICKLINE(REF(启动,1),0,50,3,0),COLORRED;
1653211525.jpg
|