弱势抄底 牛熊通道 弘历通道 薛斯通道 弘历进出 弘历彩虹 趋势王 波段王 操盘王 背离王 强弱王
弱势抄底:
n,m1,m2(9.3.3)
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
DIFF :=EMA(CLOSE,m3) - EMA(CLOSE,m4);
DEA :=EMA(DIFF,m5);
MACD :=2*(DIFF-DEA);
STICKLINE((K >D) and ( REF(K,1) < REF(D,1) ) and ((REF(D,1) < D) and d< 50 ),LOW,HIGH,0.8,0),COLORBLUE;
STICKLINE((K >D) and ( REF(K,1) < REF(D,1) ) and ((REF(D,1) < D) and d< 50 ),CLOSE,OPEN,8,0),COLORBLUE;
4.牛熊通道
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
短高:AA*102/100,dotline;
短低:AA*(200-102)/100,DOTLINE;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
DD:DMA(CLOSE,CC);
长高:(1+9/100)*DD,LINETHICK2;
长底:(1-9/100)*DD,LINETHICK2;
zz:=DD-ref(DD,1);
partline(DD,zz>0,rgb(255,0,0),zz<0,rgb(0,255,250),1,rgb(255,0,0)),linethick2;
5.弘历通道
中轨 : MA(CLOSE,10);
上轨: 中轨 + 2*STD(CLOSE,10);
下轨: 中轨 - 2*STD(CLOSE,10);
6.薛斯通道:
n1.n2.p1.p2(30.8.15.3)
UPPERL: MA(HIGH,n1)*(1+p1/100),colorwhite;
UPPERS: MA(HIGH,n2)*(1+p2/100),coloryellow;
LOWERS: MA(LOW,n2)*(1-p2/100),colorff00ff;
LOWERL: MA(LOW,n1)*(1-p1/100),color00ff00;
7.弘历进出
X1:EMA(C,8),COLORWHITE;
X2:EMA(C,20),COLORYELLOW;
X3:EMA(X2,20),COLORGREEN;
VAR4: EMA(CLOSE,8),COLORWHITE;
VAR5: EMA(CLOSE,20),COLORYELLOW;
STICKLINE(VAR4>VAR5,VAR5,VAR4,0.01,0),COLORRED;
STICKLINE(VAR4<VAR5,VAR4,VAR5,0.01,0),COLORYELLOW;
DRAWTEXT(CROSS(VAR5,VAR4),VAR4,'★止损'),COLORGREEN;
DRAWTEXT(CROSS(VAR4,VAR5),VAR4,'★加仓'),COLORRED;
8.弘历彩虹
收盘价:=c;
WMA(CLOSE,10),COLORRED;
WMA(CLOSE,20),COLORRED;
WMA(CLOSE,30),COLORRED;
WMA(CLOSE,40),COLORGREEN;
WMA(CLOSE,50),COLORYELLOW;
WMA(CLOSE,60),COLORYELLOW;
WMA(CLOSE,70),COLORYELLOW;
WMA(CLOSE,80),COLORYELLOW;
WMA(CLOSE,150),COLORBLUE;
WMA(CLOSE,160),COLORBLUE;
WMA(CLOSE,180),COLORBLUE;
WMA(CLOSE,200),COLORBLUE;
WMA(CLOSE,300),COLORWHITE;
WMA(CLOSE,320),COLORWHITE;
WMA(CLOSE,340),COLORWHITE;
WMA(CLOSE,389),COLORWHITE;
9.趋势王
A1:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,3)+EMA((OPEN+HIGH+LOW+CLOSE)/4,6)+EMA((OPEN+HIGH+LOW+CLOSE)/4,9))/3;
A2:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,5)+EMA((OPEN+HIGH+LOW+CLOSE)/4,10)+EMA((OPEN+HIGH+LOW+CLOSE)/4,20))/3;
A3:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,7)+EMA((OPEN+HIGH+LOW+CLOSE)/4,14)+EMA((OPEN+HIGH+LOW+CLOSE)/4,28))/3;
A4:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,9)+EMA((OPEN+HIGH+LOW+CLOSE)/4,18)+EMA((OPEN+HIGH+LOW+CLOSE)/4,36))/3;
A5:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,11)+EMA((OPEN+HIGH+LOW+CLOSE)/4,22)+EMA((OPEN+HIGH+LOW+CLOSE)/4,44))/3;
A6:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,13)+EMA((OPEN+HIGH+LOW+CLOSE)/4,26)+EMA((OPEN+HIGH+LOW+CLOSE)/4,52))/3;
A7:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,21)+EMA((OPEN+HIGH+LOW+CLOSE)/4,34)+EMA((OPEN+HIGH+LOW+CLOSE)/4,68))/3;
VAR1:=FORCAST(A1,6);
VAR2:=FORCAST(A2,6);
VAR3:=FORCAST(A3,6);
VAR4:=FORCAST(A4,6);
VAR5:=FORCAST(A5,6);
VAR6:=FORCAST(A6,6);
VAR7:=FORCAST(A7,6);
PARTLINE(VAR1,VAR1>REF(VAR1,1),RGB(255,0,255),VAR1<REF(VAR1,1),RGB(0,255,0)),DOTLINE;
PARTLINE(VAR2,VAR2>REF(VAR2,1),RGB(255,0,255),VAR2<REF(VAR2,1),RGB(0,255,0)),DOTLINE;
PARTLINE(VAR3,VAR3>REF(VAR3,1),RGB(255,0,255),VAR3<REF(VAR3,1),RGB(0,255,0)),DOTLINE;
PARTLINE(VAR4,VAR4>REF(VAR4,1),RGB(255,0,255),VAR4<REF(VAR4,1),RGB(0,255,0)),DOTLINE;
PARTLINE(VAR5,VAR5>REF(VAR5,1),RGB(255,0,255),VAR5<REF(VAR5,1),RGB(0,255,0)),DOTLINE;
PARTLINE(VAR6,VAR6>REF(VAR6,1),RGB(255,0,255),VAR6<REF(VAR6,1),RGB(0,255,0)),DOTLINE;
PARTLINE(VAR7,VAR7>REF(VAR7,1),RGB(255,0,255),VAR7<REF(VAR7,1),RGB(0,255,0)),LINETHICK2,DOTLINE;
TOWERC:=FORCAST(EMA((3*CLOSE+2*OPEN+HIGH+LOW)/7,3),6);
DIRECTIONMAX:=MAX(REF(TOWERC,1),REF(TOWERC,1));
DIRECTIONMIN:=MIN(REF(TOWERC,1),REF(TOWERC,1));
M14:STICKLINE(towerc>=REF(towerc,1),towerc,directionmax,8,0),COLORRED;
M15:STICKLINE(towerc<REF(towerc,1),towerc,directionmIN,8,0),COLORGREEN;
M1:STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,DIRECTIONMAX,6,0),COLORRED;
M2:STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,DIRECTIONMAX,5,0),COLORRED;
M3:STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,DIRECTIONMAX,4,0),COLORRED;
M4:STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,DIRECTIONMAX,3,0),COLORRED;
M5:STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,DIRECTIONMAX,2,0),COLORRED;
M6:STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,DIRECTIONMAX,1,0),COLORRED;
M8:STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,DIRECTIONMAX,5,0),COLORGREEN;
M9:STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,DIRECTIONMAX,4,0),COLORGREEN;
M10:STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,DIRECTIONMAX,3,0),COLORGREEN;
M11:STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,DIRECTIONMAX,2,0),COLORGREEN;
M13:STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,DIRECTIONMAX,6,0),COLORGREEN;
M12:STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,DIRECTIONMAX,1,0),COLORGREEN;
10.波段王
A1:=(3*CLOSE+OPEN+HIGH+LOW)/6;
A2:=FORCAST(EMA(A1,8),6);
A3:=FORCAST(EMA(A1,17),6);
V4:=FORCAST(EMA(A1,11),6);
V5:=FORCAST(EMA(A1,14),6);
PARTLINE(A2,A2>=A3,RGB(255,0,0),A2<A3,RGB(0,255,0));
PARTLINE(A3,A2>=A3,RGB(255,0,0),A2<A3,RGB(0,255,0));
PARTLINE(V4,A2>=A3,RGB(255,0,0),A2<A3,RGB(0,255,0)),DOTLINE;
PARTLINE(V5,A2>=A3,RGB(255,0,0),A2<A3,RGB(0,255,0)),DOTLINE;
RSV |