通信达公式破解 通达信彩带趋势主图指标公式(2)
2018-06-27 17:14 股票知识 zhishi.southmoney.com
REF(MA6,17), COLOR757575;
REF(MA6,18), COLOR747474;
REF(MA6,19), COLOR737373;
REF(MA6,20), COLOR727272;
REF(MA6,21), COLOR717171;
REF(MA6,22), COLOR707070;
REF(MA6,23), COLOR6A6A6A;
REF(MA6,24), COLOR696969;
STICKLINE(L<MA14 AND C>O AND H>MA14 ,H,L,0.1,0),COLORDD66CC;
STICKLINE(L<MA14 AND C<O AND H>MA14,H,L,0.1,0),COLORFFCC66;
STICKLINE(L<MA14 AND C>O AND H>MA14 ,O,C,8,0),COLORDD66CC;
STICKLINE(L<MA14 AND C<O AND H>MA14,O,C,8,0),COLORFFCC66;
STICKLINE(L>MA14 AND C>O AND H>MA14,H,L,0.1,0),COLOR0066FF;
STICKLINE(L>MA14 AND C<O AND H>MA14,H,L,0.1,0),COLOR66FF66;
STICKLINE(L>MA14 AND C>O AND H>MA14,O,C,8,0),COLOR0066FF;
STICKLINE(L>MA14 AND C<O AND H>MA14,O,C,8,0),COLOR66FF66;
A0:=FROMOPEN;
P:=PERIOD ;
A:=IF(P=1,A0,IF(P=2,A0/5,IF(P=3,A0/15,IF(P=4,A0/30,
IF(P=5,A0/60,IF(P=0,0,1))))));
均价线:=IF(CAPITAL>0,SUM(AMOUNT,A)/100/SUM(VOL,A),
SUM(CLOSE*VOL,A)/SUM(VOL,A));
额势:=IF(CAPITAL>0,均价线,1);
取势:=IF(SMA(额势,3,2)>SMA(额势,5,3),(O+2*HHV(H,2))/3,(O+2*LLV(L,2))/3);
短1:=(EMA(取势,1)+MA(取势,3)+MA(取势,5))/3;
短2:=(EMA(取势,3)+MA(取势,6)+MA(取势,9))/3;
短01:=EMA((短1+短2+MA(短2,5))/3,2.637),COLORFFC0F0,LINETHICK2;
趋势线1:=SMA(FORCAST(CLOSE,13),5,1),COLORFFFF00,LINETHICK1;
趋势线2:(EMA(SMA(FORCAST(取势,12),4,1),4)+趋势线1)/2,COLORFFFF00,
LINETHICK1;
趋势线3:(EMA(SMA(FORCAST(取势,12),20,1),4)+趋势线1)/2,COLORFFFF00,
LINETHICK1;
IF(趋势线1>REF(趋势线1,1),趋势线2,DRAWNULL),COLORFFAA00,LINETHICK2;
IF(趋势线1<REF(趋势线1,1),趋势线2,DRAWNULL),COLOR0088FF,LINETHICK2;
A00:="RSI.RSI1"(6,12,24);
ZF:=(C-REF(C,1))/REF(C,1)*100;
DRAWICON(CROSS(A00,50) AND ZF>3,L*0.98,1);
MA20:=MA(C,20),COLORWHITE,LINETHICK2;
乖离线:=((C-REF(MA20,1))/20+MA20)*1.20;
卖点:=CROSS(C,乖离线);(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。