有没有高手帮忙把通达信的这个指标改成盘立方里运行,谢谢了
重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;BBIZG:=((MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4),COLORYELLOW,LINETHICK2;
黄金线:IF(重心>=BBIZG,BBIZG,DRAWNULL),COLORRED,LINETHICK1.5;
空仓线:IF(重心<BBIZG,BBIZG,DRAWNULL),COLORGREEN,LINETHICK1.5;
N:=20;
MD:SMA(CLOSE,N,1),COLORMAGENTA,LINETHICK2;
TNT:=SQRT(MA(POW((CLOSE-MD),2),N));
UP:MD+1.4*TNT,COLORBROWN;
LO:MD-1.4*TNT,COLORLIRED;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9) ;
MACD:=(DIF-DEA)*2;
画红:=C>MDAND MACD>0;
画绿:=C<MDAND MACD<0;
画B:=C>UPAND MACD>0;
画S:=C<LOAND MACD<0;
IF(画红,MD,DRAWNULL),COLORRED ,LINETHICK3;
IF(画绿,MD,DRAWNULL),COLORGREEN ,LINETHICK3;
DRAWICON(TIME=1500,LOW,14);
效果图:
怎么没有高手呀
页:
[1]