师MAKD主图改为大智慧
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

解答:

 网友求助:

DRAWGBKLAST(C>0,STRIP(RGB(145,145,185),RGB(140,140,180),1));
A:=(HIGH+LOW+5*CLOSE+OPEN)/8;
DIF:(EMA(A,14)-REF(EMA(A,38),1))/(1+EMA(ABS(A),99.5))*1000,Color00FFFF;
DEA:SMA(DIF,5,3),Color00FF00,LINETHICK1;
MACD:=(DIF-DEA)*3,COLORSTICK;
KDF:SMA(DIF,2,1),ColorFF00FF;
DDF:SMA(KDF,2,1),ColorFFFFFF;
JDF:3*KDF-2*DDF,Color0000FF;
PARTLINE(JDF,JDF>=REF(JDF,1),RGB(250,0,0),JDF<REF(JDF,1),RGB(0,0,250)),linethick1;
D2:=MACD;
STICKLINE(D2<REF(D2,1)AND D2>0,0,D2,8,0),Color974B00;
STICKLINE(D2<REF(D2,1)AND D2>0,0,D2,4,0),ColorB55A00;
STICKLINE(D2<REF(D2,1)AND D2>0,0,D2,3,0),ColorD26900;//蓝
STICKLINE(D2<REF(D2,1)AND D2<0,0,D2,8,0),Color979700;
STICKLINE(D2<REF(D2,1)AND D2<0,0,D2,4,0),ColorB5B500;
STICKLINE(D2<REF(D2,1)AND D2<0,0,D2,3,0),ColorD2D200;//兰
STICKLINE(D2>REF(D2,1)AND D2,0,D2,8,0),Color97004B;
STICKLINE(D2>REF(D2,1)AND D2,0,D2,4,0),ColorB5005A;
STICKLINE(D2>REF(D2,1)AND D2,0,D2,3,0),ColorD20069;//紫
STICKLINE(D2>REF(D2,1)AND D2>0,0,D2,8,0),Color970097;
STICKLINE(D2>REF(D2,1)AND D2>0,0,D2,4,0),ColorB500B5;
STICKLINE(D2>REF(D2,1)AND D2>0,0,D2,3,0),ColorD200D2;//粉
 
 
解答如下:
DRAWGBKLAST(C>0,STRIP(RGB(145,145,185),RGB(140,140,180),1));
A:=(HIGH+LOW+5*CLOSE+OPEN)/8;
DIF:(EMA(A,14)-REF(EMA(A,38),1))/(1+EMA(ABS(A),99.5))*1000,Color00FFFF;
DEA:SMA(DIF,5,3),Color00FF00,LINETHICK1;
MACD:=(DIF-DEA)*3;
KDF:SMA(DIF,2,1),ColorFF00FF;
DDF:SMA(KDF,2,1),ColorFFFFFF;
JDF:3*KDF-2*DDF,Color0000FF;
PARTLINE(JDF,JDF>=REF(JDF,1),RGB(250,0,0),JDF<REF(JDF,1),RGB(0,0,250)),linethick1;
D2:=MACD;
STICKLINE(D2<REF(D2,1)AND D2>0,0,D2,8,0),Color974B00;
STICKLINE(D2<REF(D2,1)AND D2>0,0,D2,4,0),ColorB55A00;
STICKLINE(D2<REF(D2,1)AND D2>0,0,D2,3,0),ColorD26900;
STICKLINE(D2<REF(D2,1)AND D2<0,0,D2,8,0),Color979700;
STICKLINE(D2<REF(D2,1)AND D2<0,0,D2,4,0),ColorB5B500;
STICKLINE(D2<REF(D2,1)AND D2<0,0,D2,3,0),ColorD2D200;
STICKLINE(D2>REF(D2,1)AND D2,0,D2,8,0),Color97004B;
STICKLINE(D2>REF(D2,1)AND D2,0,D2,4,0),ColorB5005A;
STICKLINE(D2>REF(D2,1)AND D2,0,D2,3,0),ColorD20069;
STICKLINE(D2>REF(D2,1)AND D2>0,0,D2,8,0),Color970097;
STICKLINE(D2>REF(D2,1)AND D2>0,0,D2,4,0),ColorB500B5;
STICKLINE(D2>REF(D2,1)AND D2>0,0,D2,3,0),ColorD200D2;
 

 


选股票看什么指标最好 >股票指标网