我发一个精品
aaa:=(ma(close,13)+ma(close,17))/2;
ccc:=(std(close,13)+std(close,17))/2;
bbb:=aaa+2.1*ccc;
ddd:=aaa+0.72*ccc;
zzz:=if(ccc>1.88,ma(ddd,3),ddd);
平衡:zzz,color9933cc,linethick3;
止赢:zzz*1.1,coloryellow;
了结:zzz*1.05,colorcc33ff;
回档:zzz*0.95,colorgreen;
反弹:zzz*0.9,colorblue;
f0:ema(c,20),COLOR99ff66,linethick4;
f1:=sma(f0,3,1);
f2:=sma(f0,5,1);
drawicon(f0>f2,f2,10);
Var4a:=(LOW+HIGH+CLOSE)/3;
操作:MA(Var4a,5),colorwhite,linethick3;
拉升:=HHV(操作,13);
拉升买:HHV(操作,13)*1,COLORff99cc,linethick4;
生命线:MA(C,25),LINETHICK3,COLORred;
不惑线:MA(C,43),COLOR6699FF,LINETHICK4;
多:EMA(C,3),color9900ff,LINETHICK3;
中:HHV(MA(H,13),13),Color0066ff,LINETHICK4;
强弱分界:eMA(CLOSE,60),COLORCC33FF,LINETHICK5;
反压线:HHV(FORCAST(C,10),18),COLOR66ff66,LINETHICK3;
强压力:hhv(h,20),color669933,linethick4;
drawtext(C>=1.09*ref(C,1),C,'涨停'),coloryellow;
STICKLINE(CLOSE>0,(O+C)/2,(O+C)/2,8,0),COLORYELLOW;
ma1:=(ma(c,3)+ma(c,5))/2;
ma2:=(ma(c,8)+ma(c,13))/2;
SFF:=H/REF(H,1)<1 AND REF(h,1)/REF(h,2)<1 AND L/REF(L,1)>1 and REF(L,1)/REF(L,2)>1 ;
drawtext(SFF,l*0.95,'大鲨鱼:关注'),coloryellow;
stickline(平衡<ref(平衡,1) and ref(平衡,1)<ref(平衡,2),平衡*1.002,平衡*0.998,3,0),colorblue;
卖:drawtext(filter( h<=ref(h,1) and c<ref(c,1) and ma1<ref(ma1,1) and H>平衡 and 平衡<ref(平衡,1),4) or (h>了结 and c<了结 and c<o or (h>平衡 and c<平衡) and c<o and 平衡<ref(平衡,1)),h*1.01,'卖'),colorgreen;
买:drawtext(filter( C>ref(C,1) and L>=ref(l,1) and ma1>ref(ma1,1) and L<平衡 and 平衡>ref(平衡,1) or (L<回档 and c>回档 and c>o and 平衡>ref(平衡,1) or (l<平衡 and c>平衡) and c>o and 平衡>ref(平衡,1)),5),l*0.99,'买'),colorred;
清仓:drawtext(H>止赢 and C<止赢 and C<O or ref(C,1)>止赢 and c<ref(c,1),止赢*0.99,'清仓'),coloryellow;
满仓:drawtext((ref(C,1)<反弹 or L<反弹) and C>反弹 and C>O or filter(ref(C,1)<反弹 and c>ref(c,3),5),L*0.99,'满仓'),colormagenta;
选股:=(ref(C,1)<反弹 or L<反弹) and C>反弹 and C>O;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
drawicon(bu,LOW*0.98,1),colorred,linethick3;
drawicon(sel,HIGH*1.02,2),colorgreen,linethick3;
持股线:EMA(CLOSE,26),Colorffcc00,LINETHICK3;
六十日均价:ma(c,60),color33ffcc,linethick3;
ZJ:=(CLOSE+HIGH+LOW)/3;
Var1:=MA(ZJ,30);
Var2:= MA(ZJ,13) - MA(ZJ,34);
Var3:= MA(Var2,5);
Var4:=(Var2-Var3)*5;
Var5:=MA(IF(Var4>=1000 ,1000 ,IF(Var4<=ZJ,ZJ,Var4) ),1);
Var6:=MA(IF(Var4>=1000 ,1000 ,IF(Var4<=ZJ,ZJ,Var4) ),3);
神秘线:Var1+2.2*STD(ZJ,30),colorff33cc,LINETHICK3;
风:FORCAST(FORCAST(Var5,30),4)*1.002,colorblue, LINETHICK4;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
波动回调提示图:MA(CLOSE,10000);
STICKLINE((MA15 > REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,color0000FF;
STICKLINE((MA15 < REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorFF0000;
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'上拐点'),Color00FFFF;
DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'下拐点'),Color00FF00;
DRAWTEXT(CROSS(85,RSI),(HIGH * 1.02),'回调!'),colorFFFFFF;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
stickline(买线>=卖线,low,high,1,0),colorred;
stickline(买线>=卖线,close,open,4.5,0),color0000aa;
stickline(买线>=卖线,close,open,4,0),color0000cc;
stickline(买线>=卖线,close,open,3,0),color0000cc;
stickline(买线>=卖线,close,open,2,0),color0000ee;
stickline(买线<卖线,close,open,4.5,0),coloraaaa00;
stickline(买线<卖线,close,open,4,0),colorbbbb00;
stickline(买线<卖线,close,open,3,0),colorcccc00;
stickline(买线<卖线,close,open,2,0),coloreeee00;
stickline(买线<卖线,low,high,1,0),colorffff00;
stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;
波段王二
input:N(5,1,111),N1(10,1,111),P(3,0.1,30),M(21,0,100);
DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
a1:=(IF((DATE <= 1091025),1,0)) * (IF((CURRENTDATE <= 1091025),1,0));
DRAWGBK((CLOSE > 0),'5');
a2:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));
a3:=((HHV(HIGH,15)) + (LLV(LOW,30))) / 2;
a4:=EMA((MA(a2,5)),10);
a5:=EMA((MA(a2,15)),10);
a6:=EMA((MA(a2,13)),21);
a7:=((a4 + a5) + a6) / 3;
a8:=(((REF(a7,1)) + a7) + (REF(a7,2))) / 3;
决策线:EMA((MA(CLOSE,5)),3),colorGreen;
PARTLINE(决策线,决策线 > (REF(决策线,3)),RGB(255,0,0)),linethick1,colorRed;
UPR:决策线 + (3 * (STD(决策线,10))),Color808000;
DWN:决策线 - (3 * (STD(决策线,10))),Colorblue;
多空价:a8 * a1,linethick2,Color008E00;
半年线:MA(CLOSE,120),POINTDOT,linethick4,colorGray;
年线:MA(CLOSE,250),CROSSDOT,Color717143;
STICKLINE((CLOSE > OPEN),HIGH,LOW,0.0001,1),colorRed;
STICKLINE((CLOSE > OPEN),OPEN,CLOSE,8,1),Color5050FF;
STICKLINE((CLOSE < OPEN),OPEN,CLOSE,8,0),ColorFFFF85;
STICKLINE((CLOSE < OPEN),HIGH,LOW,0.0001,0),colorCyan;
a9:=((EMA((MA(a2,3)),3)) + (WMA(a2,5))) / 2;
a10:=REF(a9,1);
a11:=BARSCOUNT(CLOSE);
a12:=IF((a11 = 1),0,(((a9 - a10) / a10) * 100));
a13:=REF(CLOSE,1);
a14:=IF((a11 = 1),0,(((CLOSE - a13) / a13) * 100));
a15:=IF((a11 = 1),((CLOSE + OPEN) / 2),a10);
a16:=REF(a9,2);
a17:=((a9 + a10) + a16) / 3;
a18:=((ABS((a9 - a17)) + ABS((a10 - a17))) + ABS((a16 - a17))) / 3;
a19:=IF((a11 < 3),0,((a18 / a9) * 100));
a20:=IF((((a12 > 0.5) AND ((a19 > 0.215) OR (LOW > a15))) AND (CLOSE >= OPEN)),1,0);
a21:=IF((((a12 < (0 - 0.3)) AND ((a19 > 0.2) OR (HIGH < a15))) AND ((OPEN >= CLOSE) OR (a14 < -1))),1,0);
B:((COUNT(a20,BARSLAST(a21))) = 1) AND a20,linethick0;
D:((COUNT(a21,BARSLAST(a20))) = 1) AND a21,linethick0;
a22:=BARSLAST(B);
a23:=((SUM(D,a22)) = 0) * a22;
a24:=a23 > 0;
a25:=a23 = 0;
STICKLINE(a24,CLOSE,OPEN,8,0),colorMagenta;
STICKLINE(a24,CLOSE,OPEN,7,0),ColorFF28FF;
STICKLINE(a24,CLOSE,OPEN,6,0),ColorFF3DFF;
STICKLINE(a24,CLOSE,OPEN,5,0),ColorFF51FF;
STICKLINE(a24,CLOSE,OPEN,4,0),ColorFF65FF;
STICKLINE(a24,CLOSE,OPEN,3,0),ColorFF7AFF;
STICKLINE(a24,CLOSE,OPEN,2,0),ColorFF8EFF;
STICKLINE(a24,CLOSE,OPEN,1,0),ColorFFA2FF;
STICKLINE(a25,CLOSE,OPEN,8,0),ColorFFFD02;
STICKLINE(a25,CLOSE,OPEN,7,0),ColorF8FF24;
STICKLINE(a25,CLOSE,OPEN,6,0),ColorFDFF4A;
STICKLINE(a25,CLOSE,OPEN,5,0),ColorFCFF69;
STICKLINE(a25,CLOSE,OPEN,4,0),ColorFDFD97;
STICKLINE(a25,CLOSE,OPEN,3,0),ColorFFFFA2;
STICKLINE(a25,CLOSE,OPEN,2,0),ColorFFFFB6;
STICKLINE(a25,CLOSE,OPEN,1,0),ColorFFFFCC;
STICKLINE(B,CLOSE,OPEN,8,0),colorYellow;
STICKLINE(D,CLOSE,OPEN,8,0),Color00BE00;
DRAWTEXT(B,(LOW * 0.98),'㊣'),linethick2,ALIGN1,colorWhite;
DRAWTEXT(D,(HIGH * 1.035),'S'),linethick2,ALIGN1,colorGreen;
PARTLINE(决策线,决策线 > (REF(决策线,3)),RGB(255,0,0)),linethick1,colorRed;
a26:=(((CLOSE / a13) - 1) * 100) >= (7 * a1);
a27: |