指标使用原理:
当白色趋势线突破白色买入线时,可少量建仓。
当白色趋势线强势突破压力止损线时,可适当加仓。
当白色趋势线突破D3线时,代表主力开始拉升,一旦跌破D3线,适当减仓保住成果。
效果图如下:
公式源码:
N:=26;
TYP1 := (HIGH LOW CLOSE)/3;
LC:=REF(CLOSE,1);
止损价位:(LC*1.0035*97 0.2)/99.65,COLOR03B4EC,NODRAW;
RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
A:=SMA(R,3,1);
B:=SMA(A,3,1);
CCC:=(B/2 40)*1.1;
D0:=SMA(CCC,3,1);
RR8:=MA(CLOSE,27);
RR9:=(CLOSE-RR8)/RR8*100;
RRA:=MA(RR9,2);
RRB:=BARSLAST(CROSS(-10,RRA)=1);
RRD:=RRA<-10 AND RRB>3;
TYP := (HIGH LOW CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
VAR02:=REF(LOW,1);
VAR03:=SMA(ABS(LOW-VAR02),3,1)/SMA(MAX(LOW-VAR02,0),3,1)*100;
VAR04:=EMA(IF(CLOSE*1.3,VAR03*10,VAR03/10),3);
VAR05:=LLV(LOW,13);
VAR06:=HHV(VAR04,13);
VAR07:=IF(MA(CLOSE,34),1,0);
VAR08:=EMA(IF(LOW<=VAR05,(VAR04 VAR06*2)/2,0),3)/618*VAR07;
VAR09:=IF(VAR08>100,100,VAR08*2);
STICKLINE(CROSS(D0,RSI5),50,0,2,0),COLORRED;
STICKLINE(CROSS(80,RSI5),-50,0,2,0),COLORGREEN;
买入:-100,COLORWHITE;
DRAWTEXT(CROSS(CCI,买入),-110,'买'),COLOR03B4EC,LINETHICK1;
D2:-100,COLORWHITE;
D11:-220,COLORYELLOW;
D3:100,COLORRED;
【回抽】:IF(CROSS(D0,RSI5),50,0),STICK,COLORRED;
【逃命】:IF(CROSS(80,RSI5),-50,0),STICK,COLORGREEN;
庄家吸筹:VAR09,NODRAW,COLORYELLOW;
STICKLINE(VAR09>-120,0,VAR09,3,0),COLOR338FDD;
STICKLINE(VAR09>-120,0,VAR09,2.7,0),COLOR00AAFF;
STICKLINE(VAR09>-120,0,VAR09,2.3,0),COLOR00BBFF;
STICKLINE(VAR09>-120,0,VAR09,2,0),COLOR00CCFF;
STICKLINE(VAR09>-120,0,VAR09,1.8,0),COLOR00DDFF;
STICKLINE(VAR09>-120,0,VAR09,1.5,0),COLOR00EEFF;
STICKLINE(VAR09>-120,0,VAR09,1,0),COLOR00FFFF;
(TYP1-MA(TYP1,N))/(0.015*AVEDEV(TYP1,N)),COLORWHITE;
DIF:=EMA(C,2);
DEA:=EMA(SLOPE(C,30)*5 C,20);
HHJSJDA:(3*CLOSE OPEN LOW HIGH)/6,LINETHICK0;
HHJSJDB:(19*HHJSJDA 19*REF(HHJSJDA,1) 18*REF(HHJSJDA,2) 17*REF(HHJSJDA,3)
16*REF(HHJSJDA,4) 15*REF(HHJSJDA,5) 14*REF(HHJSJDA,6) 13*REF(HHJSJDA,7)
12*REF(HHJSJDA,8) 11*REF(HHJSJDA,9) 10*REF(HHJSJDA,10) 9*REF(HHJSJDA,11)
8*REF(HHJSJDA,12) 7*REF(HHJSJDA,13) 6*REF(HHJSJDA,14) 5*REF(HHJSJDA,15)
4*REF(HHJSJDA,16) 3*REF(HHJSJDA,17) 2*REF(HHJSJDA,20) REF(HHJSJDA,19))/210,COLORYELLOW;{WWW.GOODGUPIAO.COM}
HHJSJDC:MA(HHJSJDB,5),COLORRED;
XG:CROSS(C,HHJSJDC) AND CROSS(C,HHJSJDB),COLORLIMAGENTA;
引导雷达: STICKLINE(XG,65,35,4,0),LINETHICK3,COLORLIBLUE ;
制导雷达: STICKLINE(XG,40,0,4,0),LINETHICK3,COLORRED;
发射: STICKLINE(XG,80,30,3,0),LINETHICK3, COLORGREEN;
导弹: STICKLINE(XG,80,60,3,0),LINETHICK3,COLORLIMAGENTA;
,