【通達信】滄海桑田指標(biāo)公式
攻城獅 2016.02.04 21:36
R1:=SMA(MAX(C-REF(C,1),0),12,1)/SMA(ABS(C-REF(C,1)),12,1)*100;
R2:=SMA(MAX(C-REF(C,1),0),18,1)/SMA(ABS(C-REF(C,1)),18,1)*100;
快線:MA(3*R1-2*SMA(MAX(C-REF(C,1),0),16,1)/SMA(ABS(C-REF(C,1)),16,1)*100,3),COLORWHITE;
慢線:EMA(快線,8),COLORYELLOW;
滄海桑田:MA(3*R2-2*SMA(MAX(C-REF(C,1),0),12,1)/SMA(ABS(C-REF(C,1)),12,1)*100,5),COLORMAGENTA;
ZFT:(快線-慢線)*2,COLORSTICK,NODRAW;
建增補倉:IF((快線<20),20,10),COLORLIMAGENTA,LINETHICK2;
{ Gupang.com 股-旁-網(wǎng)_通達信股票指標(biāo)公式}
警惕:IF((快線>80),80,90),LINETHICK2,COLORCYAN;
RS1:=”RSI.RSI1″>=”RSI.RSI2″ AND “RSI.RSI2″>=”RSI.RSI3”;
RS2:=”RSI.RSI1″<"RSI.RSI2" AND "RSI.RSI2"<"RSI.RSI3";
RS3:=NOT(“RSI.RSI1″>=”RSI.RSI2” AND “RSI.RSI2″>=”RSI.RSI3”)AND NOT(“RSI.RSI1”<"RSI.RSI2" AND "RSI.RSI2"<"RSI.RSI3");
NOTEXT1:IF(RS1,82,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK1;
NOTEXT2:IF(RS2,82,DRAWNULL),CIRCLEDOT,COLORGREEN,LINETHICK1;
NOTEXT3:IF(RS3,82,DRAWNULL),CROSSDOT,LINETHICK6,COLORMAGENTA;
NOTEXT4:IF(RS3,82,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;
DRAWTEXT(ISLASTBAR,84,’ 富貴花開’),COLOR007A7A;
STICKLINE(ZFT>=0 AND ZFT>=REF(ZFT,1),50,50+ZFT,2.3,0),COLORLIMAGENTA;
STICKLINE(ZFT>=0 AND ZFT<=REF(ZFT,1),50,50+ZFT,2.3,1),COLORLIMAGENTA;
STICKLINE(ZFT<=0 AND ZFT>=REF(ZFT,1),50,50+ZFT,2.3,0),COLORLIGREEN;
STICKLINE(ZFT<=0 AND ZFT<=REF(ZFT,1),50,50+ZFT,2.3,1),COLORLIGREEN;
DRAWBAND(快線,RGB(250,250,250),快線,RGB(250,250,250));
DRAWBAND(慢線,RGB(250,250,0),慢線,RGB(250,250,0));
DRAWBAND(滄海桑田,RGB(250,0,250),滄海桑田,RGB(250,0,250));
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負(fù)責(zé),投資決策請建立在獨立思考之上。