发一个自己用过的指标给大家.源码供大家优化参考学习.
我发现坛子里有好多朋友.不知道怎么回事. 发源码 给差评.
已经声明过发的是加密指标 还说明 不喜欢不要下载.可是你拿走了 给差评理由是不能优化. 既然你会优化.论坛的好指标太多 去优化自用?或者自已写 自己优化.岂不是更好!
不多说了 这个指标 是源码 主图 副图和选股 给喜欢的朋友下载参考.
{追买主图叠加}
M5:MA(CLOSE,5)COLORWHITE;
M10:MA(CLOSE,10)COLORYELLOW;
A1:=C-REF(C,1);
A2:=100*EMA(EMA(A1,6),6)/EMA(EMA(ABS(A1),6),6);
AA:=LLV(A2,2)=LLV(A2,7) AND COUNT(A2<0,2) AND CROSS(A2,MA(A2,2));
VAR1:=(CLOSE*2+HIGH+LOW)/4*10;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=2*(VAR2-VAR3)*5.5;
ZLC:=IF(VAR4<=0,VAR4,0);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG:DRAWTEXT(FILTER(AA=1,5) AND BARSLASTCOUNT(DEA<REF(DEA,1))<4 AND
CROSS(A2,MA(A2,2)) AND AA AND ZLC>REF(ZLC,1),LOW-0.3,'★果断买入'),COLORYELLOW;
{追买副图}
M5:=MA(CLOSE,5)COLORWHITE;
M10:=MA(CLOSE,10)COLORYELLOW;
A1:=C-REF(C,1);
A2:=100*EMA(EMA(A1,6),6)/EMA(EMA(ABS(A1),6),6);
AA:=LLV(A2,2)=LLV(A2,7) AND COUNT(A2<0,2) AND CROSS(A2,MA(A2,2));
VAR1:=(CLOSE*2+HIGH+LOW)/4*10;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=2*(VAR2-VAR3)*5.5;
ZLC:=IF(VAR4<=0,VAR4,0);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG:=DRAWTEXT(FILTER(AA=1,5) AND BARSLASTCOUNT(DEA<REF(DEA,1))<4 AND
CROSS(A2,MA(A2,2)) AND AA AND ZLC>REF(ZLC,1),LOW-0.3,'★果断买入'),COLORYELLOW;
STICKLINE(XG,0,19,1.5,0),COLORRED;
{追买选股}
A1:=C-REF(C,1);
A2:=100*EMA(EMA(A1,6),6)/EMA(EMA(ABS(A1),6),6);
AA:=LLV(A2,2)=LLV(A2,7) AND COUNT(A2<0,2) AND CROSS(A2,MA(A2,2));
VAR1:=(CLOSE*2+HIGH+LOW)/4*10;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=2*(VAR2-VAR3)*5.5;
ZLC:=IF(VAR4<=0,VAR4,0);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
DRAWTEXT(FILTER(AA=1,5) AND BARSLASTCOUNT(DEA<REF(DEA,1))<4 AND
CROSS(A2,MA(A2,2)) AND AA AND ZLC>REF(ZLC,1),LOW-0.3,'★果断买入');