低位出现红色柱状图、黄线金叉粉线、绿线时买入。
DRAWGBK(V 1,STRIP(RGB(160,160,250),RGB(120,140,80),1));
N:=25,2,100;M:=14,1,100;N1:=6,2,100;
减仓:180,ColorFF3737,POINTDOT,LINETHICK2;
注意:100,Color53FF1A,POINTDOT,LINETHICK2;
买进:-100,Color1717FF,POINTDOT,LINETHICK2;
底部:-180,Color0075EA,POINTDOT,LINETHICK2;
TYP := (HIGH + LOW + CLOSE)/3;
CC1:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),Color15FFFF,LINETHICK2;
C1:=SMA(CC1,3,1);
C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;
CB1:=EMA(C3,5);
CB2:=REF(CB1,1);
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI:=(RSI1-50)*5,ColorFF17FF;
PARTLINE(RSI,RSI REF(RSI,1),RGB(250,20,250),RSI =REF(RSI,1),RGB(0,120,250)),LINETHICK2;
R1:=SMA(RSI,3,1);
D1:=SMA(R1,3,1);
J1:=3*R1-2*D1;
RR1:=EMA(J1,5);
RR2:=REF(RR1,1);
RR:=RR1
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
K1:=(K-50)*5,ColorFFFF15;
PARTLINE(K1,K1 REF(K1,1),RGB(250,20,20),K1 =REF(K1,1),RGB(0,250,250)),LINETHICK2;
K2:=SMA(K1,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
判断:=(SMA(((C+L)/2-LLV(L,26))/(HHV((H+C)/2,26)-LLV(L,26))*100,2,1)-8);
STICKLINE(FILTER(判断 REF(判断,1)AND 判断 65,5),230,180,10,0),ColorA25100;
STICKLINE(FILTER(判断 REF(判断,1)AND 判断 65,5),230,180,8,0),ColorC46200;
STICKLINE(FILTER(判断 REF(判断,1)AND 判断 65,5),230,180,3.2,0),ColorE37200;
STICKLINE(FILTER(判断 REF(判断,1)AND 判断 65,5),230,180,1.2,0),ColorFF8409;//蓝顶
趋势:=SMA(EMA(((C+L)/2-LLV(L,17))/(HHV((H+C)/2,17)-LLV(L,17))*100,3),7,1)-(13);
STICKLINE(FILTER(CROSS(判断,趋势)=1 OR 判断 REF(判断,1),10) AND 判断 25 ,-150,-180,10,1),ColorA80054;
STICKLINE(FILTER(CROSS(判断,趋势)=1 OR 判断 REF(判断,1),10) AND 判断 25 ,-150,-180,8,1),ColorC60063;
STICKLINE(FILTER(CROSS(判断,趋势)=1 OR 判断 REF(判断,1),10) AND 判断 25 ,-150,-180,6,1),ColorE10071;
STICKLINE(FILTER(CROSS(判断,趋势)=1 OR 判断 REF(判断,1),10) AND 判断 25 ,-150,-180,4,1),ColorFF0B85;//紫底
关注:=IF(REF(CCI,1) -99 AND CCI -98,1,0),colorred;
STICKLINE(关注,-100,-180,10,1),Color0034A2;
STICKLINE(关注,-100,-180,8,1),Color003FBF;
STICKLINE(关注,-100,-180,6,1),Color0048DD;
STICKLINE(关注,-100,-180,4,1),Color0053FF;//橘黄底