私募nacd指标源码(游资私募一网打尽指标源码)
本文目录一览:
macd指标里面macd是哪条线?
MACD是DIF和DEA两者差值的两倍,在图上的表示是那个彩色柱子。
没见那个只要金叉以后都是红色的,死叉以后都是绿色的嘛。
哪位高手能写出macd上面那指标的源代码?图为002132 在8月底到11月9号的指标形态。
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
50;
求MACD空中加油指标源码(通达信)
MA4:MA(C,4);
MA10:MA(C,10);
MA20:MA(C,20);
MA62:MA(C,62);
A10:=ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*3.1416*MA(C,10);
小金角:=REF(CROSS(MA(C,10),MA(C,20)),1) AND A1010.0;
DRAWTEXT(小金角,L-0.20,'小金角');
B20:=ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*3.1416*MA(C,20);
大金角:=REF(CROSS(MA(C,20),MA(C,62)),1) AND B2010;
DRAWTEXT(大金角,L-0.20,'大金角');
XJB1:=BARSLAST(小金角);
XJB2:=XJB1 AND CROSS(MA(C,10),C) AND CMA(C,10);
XJB3:=RANGE(C,MA(C,20),MA(C,10));
小金边:=XJB2 AND XJB3;
DRAWTEXT(小金边,L-0.20,'小金边');
DJB1:=BARSLAST(大金角);
DJB2:=DJB1 AND CROSS(MA(C,20),C) AND CMA(C,20);
DJB3:=RANGE(C,MA(C,62),MA(C,20));
大金边:=DJB2 AND DJB3;
DRAWTEXT(大金边,L-0.20,'大金边');
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
V1:=DIFF0 AND VMA(V,5);
V2:=DEA0 AND DEA-0.07;
MACD骑墙:=V1 AND V2;
DRAWTEXT(MACD骑墙,L-0.20,'MACD骑墙');
KZJY:=DIFF0 AND DEA0;
空中加油:=KZJY AND ABS(DIFF-DEA)/C0.0045 AND CROSS(DIFF,DEA);
DRAWTEXT(空中加油,L-0.20,'空中加油'),COLORRED,LINETHICK2;
HZZZ:=ABS(MA(C,4)-MA(C,20))+ABS(MA(C,20)-MA(C,62))/C;
海豚张嘴:=HZZZ0.23 AND CROSS(MA(C,20),MA(C,62)) AND MA(C,20)REF(MA(C,20),1) AND VMA(V,5);
DRAWTEXT(海豚张嘴,L-0.20,'海豚张嘴'),COLORRED,LINETHICK2;