《MACD主图》指标
——————————————————————————————————————————————
SSRP:="SSRP.SSRP",COLORRED,LINETHICK2;
筹码1:MA(SSRP,6),COLORGREEN,LINETHICK2;
EXP1:EMA(CLOSE,89),COLORFFCC00,DOTLINE;
EXP2:EMA(CLOSE,60),COLORBLUE,LINETHICK2;
IF(EXP2>=REF(EXP2,1),EXP2,DRAWNULL),COLORRED,LINETHICK2;
IF(EXP2<=REF(EXP2,1),EXP2,DRAWNULL),COLORBLUE,LINETHICK2;
B1:=EMA(C,3);
B2:=EMA(C,26);
B3:=B1-B2;
WDIF:EMA(EMA(EMA(C,3),3),3)+B3,LINETHICK2,COLORF00FF0;
WDEA:EMA(WDIF,9),COLORRED,LINETHICK1;
MA18:=MA(CLOSE,18);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));
DRAWTEXT(FILTER(买=1,5),LOW,'买'),COLORYELLOW;
DRAWICON(CROSS(WDIF,WDEA),WDEA,17);
IF(WDEA>=REF(WDEA,1),WDEA,DRAWNULL),COLORRED,LINETHICK2;
IF(WDEA<=REF(WDEA,1),WDEA,DRAWNULL),COLORGREEN,LINETHICK2;
WDIF辅线:EMA(WDIF,3),COLOR99EEEE,LINETHICK1;
{分析家公式网www.70822.Com}
日:=150;昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
H6:=高1-(高1-低1)*0.886;
H7:=高1-(高1-低1)*0.946;
{顶:REFDATE(高1,DATE),COLORFFCC00;}
四0.382:REFDATE(H4,DATE),COLOR666666,DOTLINE;
五0.191:REFDATE(H5,DATE),COLOR0099FF,DOTLINE;
六0.886:REFDATE(H6,DATE),COLORRED,DOTLINE;
七0.946:REFDATE(H7,DATE),COLORFFCC00,DOTLINE;
低:REFDATE(低1,DATE),COLORBLUE;
20223182474771012.png
20223182475323415.png
|