【通達信】波段買進指標公式
攻城獅 2016.04.01 07:17
均5:MA(CLOSE,5), COLORYELLOW;
均10:MA(CLOSE,10), COLORF00FF0;
均30: MA(CLOSE,30), COLOR00FF00;
均60: MA(CLOSE, 60), COLORRED, POINTDOT ,LINETHICK2;
均250: MA(CLOSE, 250), COLORBLUE ,LINETHICK2 ;
上軌: 均30 + 2*STD(CLOSE,30), COLORYELLOW, POINTDOT, LINETHICK2,COLORLIGREEN ;
下軌: 均30 – 2*STD(CLOSE,30), COLORYELLOW ,POINTDOT ,LINETHICK2,COLORLIRED;
N:=13;
L0:=0.02;
L5:=ABS(L-REF(L,N))<=L0
OR ABS(C-REF(L,N))<=L0
OR ABS(O-REF(L,N))<=L0
OR ABS(L-REF(O,N))<=L0
OR ABS(C-REF(O,N))<=L0
OR ABS(O-REF(O,N))<=L0
OR ABS(L-REF(C,N))<=L0
OR ABS(C-REF(C,N))<=L0
OR ABS(O-REF(C,N))<=L0
OR ABS(L-REF(H,N))<=L0
OR ABS(C-REF(H,N))<=L0
OR ABS(O-REF(H,N))<=L0;
精準線首次:= L5;
精準左:=FILTER(精準線首次,N) ;
天數:=BARSLAST(精準左);
LTS:=REF(L,天數);
精準右:=ABS(L-LTS)<=L0;
{m.chiang1015.com 概念股網_最新股票指標公式}
STICKLINE(精準左,L,L,190,-1),COLORMAGENTA;
DRAWLINE(精準左,L,精準右,LTS,0),COLORMAGENTA;
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,7);
B:=REF(A,1);
STICKLINE(A>B,A,B,2,0),COLORMAGENTA;
STICKLINE(A M1:=EMA(CLOSE,3);
M2:=EMA(CLOSE,8);
M3:=EMA(M2,13);
M4:=EMA(M2,55);
VAR1:=EMA(M3,55);
M5:=EMA(M4,81), COLORRED,LINETHICK2;
VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;
VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);
DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);
DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,”), COLORGREEN;
VAR4:=REF(CLOSE,1);
VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;
VAR6:=CROSS(79,VAR5);
VAR7:=FILTER(VAR6,4);
DRAWICON(VAR7,HIGH*1.035,2);
DRAWTEXT(VAR7,HIGH*1.02,”), COLORGREEN;
A7:=(2*C+H+L)/4;
VAR10:=LLV(LOW,34);
VAR11:=HHV(HIGH,34);
SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
DRAWTEXT(IF(COUNT(CLOSE6/10 AND VOL>=1.5*MA(VOL,5) AND
COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,’●買進’) ,COLORRED;
DRAWTEXT(IF(COUNT(CLOSE6/10 AND
COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND
REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND
OPEN>REF(CLOSE,1),1,0),LOW,’●買進’), COLORRED;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
AND CLOSE=REF(MA(C,120),1),LOW,’●抄底’),COLORRED;
申明:本文為作者投稿或轉載,在概念股網 http://m.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網立場,不代表本網贊同其觀點,亦不對其真實性負責,投資決策請建立在獨立思考之上。