九毛八公式指标
公式模块:
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;