beyond202104 发表于 2023-8-28 16:37:27

周日MACD,和谐通达信公式源码分享 副图


VAR1:=(HIGH+LOW+CLOSE)/3;DIFF:EMA(VAR1,25)-EMA(VAR1,99),LINETHICK0;DEA:EMA(DIFF,17),LINETHICK0;MACD:2*(DIFF-DEA),LINETHICK0;VAR2:=DIFF;VAR3:=DEA;DRAWBAND(VAR2,RGB(220,100,0),VAR3,RGB(0,290,255));IF(VAR2>=REF(VAR2,1),VAR2,DRAWNULL),COLOR2B4AEC,LINETHICK0;IF(VAR2<REF(VAR2,1),VAR2,DRAWNULL),COLORGREEN,LINETHICK0;IF(VAR3>=REF(VAR3,1),VAR3,DRAWNULL),COLORRED,LINETHICK0;IF(VAR3<REF(VAR3,1),VAR3,DRAWNULL),COLORGREEN,LINETHICK0;STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,2,0),COLOR4D00D6;STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1.5,0),COLOR4A00A4;STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR0000EE;STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0.1,0),COLOR4A008E;STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR5200FF;STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,2,0),COLOR6A6F60;STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,1.5,0),COLOR936F60;STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,1,0),COLORBE6F60;STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLORBE9560;STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,0,0),COLORBE957F;STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),COLOR520E4F;STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1.5,0),COLOR520E59;STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR520E67;STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0.1,0),COLOR520E89;STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),COLOR155500;STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1.5,0),COLOR208000;STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1,0),COLOR2BAA00;STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLOR35D500;STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0,0),COLOR40FF00;VAR4:=EMA(AMOUNT/(100*VOL),5);VAR5:=EMA(AMOUNT/(100*VOL),13);VAR6:=EMA(AMOUNT/(100*VOL),34);VAR7:=DMA(CLOSE,VOL/CAPITAL);

橡皮的等待 发表于 2023-10-2 05:39:19

无量天尊!

CAB2017 发表于 2023-10-8 01:55:48

帮顶!

依旧唯美似水水c 发表于 2023-11-24 17:53:38

帮帮顶顶!!

123458690 发表于 2023-12-16 21:02:44

我是为了获得花花!

123460884 发表于 2024-1-28 16:05:03

如果想获取全部资源,怎么操作?
页: [1]
查看完整版本: 周日MACD,和谐通达信公式源码分享 副图