我自己编写的富途牛牛公式:
注:雷公,公式中的SMA就是MA,如果抵扣位置想跟雷公显示的一致,请将CURRBARSCOUNT函数的值分别改为21,61,121
EMA+SMA+抵扣主图公式:
EM20:EMA(CLOSE,20),COLORWHITE;
M20:MA(CLOSE,20),COLORGRAY;
EM60:EMA(CLOSE,60),COLORRED;
M60:MA(CLOSE,60),COLORLIRED;
EM120:EMA(CLOSE,120),COLORBLUE;
M120:MA(CLOSE,120),COLORLIBLUE;
DRAWICON(CURRBARSCOUNT=20,C,34);
DRAWICON(CURRBARSCOUNT=60,C,34);
DRAWICON(CURRBARSCOUNT=120,C,34);
Price divergence附图公式:
N1:=20;
N2:=60;
N3:=120;
CS:=EMA(CLOSE,N1);
SM:=EMA(CLOSE,N2);
ML:=EMA(CLOSE,N3);
PD1:(CLOSE-CS)/CS*100,LINETHICK1,COLORRED;
PD2:(CS-SM)/SM*100,LINETHICK1,COLORLIBLUE;
PD3:(SM-ML)/ML*100,STICK,COLORGRAY;
2020-07-12 23:473回复