白银系列
白银系列、上面的信号为买、下面的信号为买、自用指标、适合部分股票
DRAWGBKLAST(CLOSE<OPEN,STRIP(RGB(55,50,0),RGB(0,25,1000),1));
DRAWGBKLAST(CLOSE=O,STRIP(RGB(0,150,0),RGB(150,0,0),1));
DRAWGBKLAST(CLOSE>OPEN,STRIP(RGB(100,0,0),RGB(30,30,0),1));
//N:=46;//33/34
//趋势2:=4*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1)-
//3*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1),3.2,1), Color00FFFF ,linethick2;
//趋势:=4*SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,5,1)-
//3*SMA(SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,5,1),3.2,1),Color0000FF,linethick2;
//底:IF(趋势<=0.5,5,0),ColorCD7F32 ,linethick3;
//买:IF(趋势<=15,15,10),ColorC0C0C0, linethick1 ;
//卖:IF(趋势<=90,95,90),ColorC0C0C0, linethick1 ;
//顶:IF(趋势<=108,105,100),Color00FF00,linethick2;
IF(DATE>20141129) xxx:=0 ;
ELSE xxx:=1;
n:=15;//2
C0:=(O+H+L+C)/3;
a1:=HHV(C0,n);
a2:=LLV(C0,n);
a3:=a1-a2;
a4:=(EMA((C0-a2)/a3,2)*100)*xxx;
b1:=HHV(C0,4*n);
b2:=LLV(C0,4*n);
b3:=b1-b2;
b4:=(EMA((C0-b2)/b3,2)*100)*xxx;
C1:=HHV(C0,16*n);C2:=LLV(C0,16*n);C3:=C1-C2;
C4:=EMA((C0-C2)/C3,2)*100;
顶:IF(a4>=85,a4,85),Color00FF00,linethick2;
底:IF(a4<=15,a4,15),ColorCD7F32 ,linethick2;
中线:=b4*xxx;
//长期:=C4,colorred,linethick3;
DRAWTEXT(CROSS(95,a4) AND REF(a4,1)>a4,95,'卖'), colorred;
DRAWTEXT(CROSS(a4,95),85,'★'),colorred;
DRAWICON(CROSS(b4,95),95,2);
STICKLINE(CROSS(顶,98.5) AND 中线>25,85,95,8,0),colorred;
STICKLINE(CROSS(4.5,底) AND 中线<50,0,10,8,0),colorgreen;
STICKLINE(CROSS(0.1,底) AND 中线<5,10,20,8,0),colorred;
IF(FILTER(中线<REF(中线,1)AND 中线>90,5),80,100),colorblue,Linethick2;
IF(FILTER(中线>REF(中线,1)AND 中线<5 AND C>REF(C,1),5),20,0),colorred,Linethick2;
DRAWTEXT(CROSS(底,REF(底,1)) AND (REF(底,1)<=13),25,'做多'),colorred;
DRAWTEXT(CROSS(REF(顶,1),顶) AND (REF(顶,1)>85),85,'做空'),colorgreen;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100)*xxx;
DRAWTEXT(CROSS(85,RSI),75,'顶'),colorgreen;
强弱分界:50, POINTDOT,colorwhite;
白银2:('★白银专用★准确率90%以上★100%盈利★ QQ:☆332879389☆'),coloryellow;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.02,0.4,0,'→★坚决按指标执行★←'),colorgreen;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.2,0.4,0,'→★不作任何分析★←'),colorred;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.4,0.4,0,'→★百分之百盈利★←'),coloryellow;
DRAWTEXT_FIX(C>O,0.01,0.6,0,' 指标活用☆QQ:→★1027860828★← '),colorgreen;