由周线抄底,趋势交易指标公式,大智慧买卖明确指标公式合成本指标。
使用方法:以周线变红和k线变红为介入点。以k线变绿为减仓条件,以周线变绿且k线变绿为清仓条件。
使用本指标请结合大盘,均线和其它指标综合研判。
MA势:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1)*100,COLORFFB5FF,LINETHICK2;
势:=EMA(MA势,5),colorred;
PARTLINE(势,势 =25,colorwhite,势 =45,colorgreen,势 45,colorred),LINETHICK2;
顶:70,COLORFFFF00;
中枢:45,COLOR4080FF;
底线:25,COLOR004080,LINETHICK2;
磁力线:(MA(CLOSE,30)+MA(CLOSE,72))/2,colorgreen;
多空线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
DRAWTEXT(CROSS(多空线,磁力线),多空线,''),colorgreen,LINETHICK2;
DRAWTEXT(CROSS(磁力线,多空线),磁力线,''),colorred,LINETHICK2;
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(CROSS(DA-DB,0),L*0.95,'★'),colorred;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(84,JH),H*1.02,'☆S'),colorgreen;
STICKLINE(CLOSE =CLOSE[1],CLOSE,CLOSE[1],9,1),colorred;
STICKLINE(CLOSE CLOSE[1],CLOSE,CLOSE[1],9,0),colorgreen;
STICKLINE(CLOSE[1] =CLOSE[2] AND CLOSE CLOSE[1],CLOSE[1],MAX(CLOSE[2],CLOSE),9,1),colorred;
STICKLINE(CLOSE[1] CLOSE[2] AND CLOSE =CLOSE[1],CLOSE[1],MIN(CLOSE[2],CLOSE),9,0),colorgreen;
A个股收盘:=EMA(CLOSE,30);
A大盘收盘:=EMA(INDEXC,49);
A个股上限:=EMA(A个股收盘,7);
A大盘上限:=EMA(A大盘收盘,7);
A个股趋势:=((CLOSE / A个股上限)*100);
A大盘趋势:=((INDEXC / A大盘上限)*100);
sj:IF(DATE =21170930,1,0);;
趋势交易指标:sj*(((A个股趋势 - A大盘趋势) / A大盘趋势) * 100);
监控资金:sj*IF((趋势交易指标 0),1,0),NODRAW,colorblack;
STICKLINE((监控资金= 1),0,1,8,0),colorred;
VAR1:=HHV(HIGH,13)-LLV(LOW,13);
VAR2:=HHV(HIGH,13)-CLOSE;
VAR3:=CLOSE-LLV(LOW,13);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF(VAR9 100,VAR9-100,0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);
STICKLINE(VAR12-VAR13 0,VAR12,VAR13,8,0),colorred;
STICKLINE(VAR12-VAR13 0,VAR12,VAR13,8,0),COLOR00FF0F;
生命线:EMA(VAR13,5), coloryellow;
出击:IF(CROSS(VAR12,VAR13) AND VAR12 VAR13 AND VAR12 18,20,0), STICK,colorwhite;
DRAWICON(出击 0,生命线,1 );
卖出:IF(CROSS(VAR13,VAR12) AND VAR12 VAR13 AND VAR12 60,VAR13,88),POINTDOT,colorblue;
STICKLINE((CROSS(VAR13,VAR12) AND VAR12 VAR13 AND VAR12 60),VAR13,88,2,1),colorblue;
DRAWICON(CROSS(趋势交易指标,sj),sj,'buy');
N:=3;
L0:=0.02;
L1:=ABS(L-REF(L,1))
L2:=ABS(L-REF(L,2))
L3:=ABS(L-REF(L,3))
L4:=ABS(L-REF(L,4))
L5:=ABS(L-REF(L,5))
精准线首次:=L1 OR L2 OR L3 OR L4 OR L5;
精准左:=FILTER(精准线首次,N) ;
天数:=BARSLAST(精准左);
LTS:=REF(L,天数);
精准右:=ABS(L-LTS)
STICKLINE(精准左,L,L,50,-1),colormagenta;
DRAWLINE(精准左,L,精准右,LTS,1),colormagenta;
G1:=ABS(H-REF(H,1))
G2:=ABS(H-REF(H,2))
G3:=ABS(H-REF(H,3))
G4:=ABS(H-REF(H,4))
G5:=ABS(H-REF(H,5))
精准线首次1:=G1 OR G2 OR G3 OR G4 OR G5;
精准左1:=FILTER(精准线首次1,N) ;
天数1:=BARSLAST(精准左1);
GTS:=REF(L,天数1);
精准右1:=ABS(H-GTS)
STICKLINE(精准左1,H,H,50,-1),colorgreen;