比未来更准
{FZ西南黑坤宫}
DRAWGBK((CLOSE > 0),COLORRGB(0,130,100),COLORRGB(0,0,30),1);
Z_X0:=SMA(AMOUNT,10,1)/10000000;
XL_1:=(Z_X0-LLV(Z_X0,4))/(HHV(Z_X0,4)-LLV(Z_X0,4))*100;
XL_2:=LLV(Z_X0,4)+SMA(XL_1,4,1)/100*(HHV(Z_X0,4)-LLV(Z_X0,4)); XL_3:=SMA(XL_2,3,1);
资金:=Z_X0,LINETHICK,ColorFFA9FF; 分界:=MA(Z_X0,8);
{分析家公式网 http://www.fxjgsw.com 整理大盘--转向三角}
Z_X1:=REF(EMA(Z_X0,5),1);
Z_X2:=(EMA(Z_X0,5)-Z_X1)/Z_X1*100;
Z_X3:=REF(EMA(Z_X0,5),BARSLAST(CROSS(Z_X2,0))+1);
Z_X4:=REF(EMA(Z_X0,5),BARSLAST(CROSS(0,Z_X2))+1);
资金离场:STICKLINE(Z_X0<REF(Z_X0,1)||(AMOUNT/REF(AMOUNT,1)<0.97),Z_X0,REF(Z_X0,1),7,0),LINETHICK2,COLORWHITE;//资金离场
资金进场:STICKLINE(Z_X0>=REF(Z_X0,1),Z_X0,REF(Z_X0,1),7,0),LINETHICK2,COLORRED;//资金进场
空仓:STICKLINE(Z_X0<分界,Z_X0,REF(Z_X0,1),7,0),LINETHICK2,ColorFFA900;//空仓
DRAWLINE(CROSS(Z_X2,0),Z_X1,CROSS(0,Z_X2),Z_X1,0),ColorFF6FFF; //粉红--斜线
PARTLINE(Z_X2>=0 and Z_X3=ref(Z_X3,1),Z_X3),ColorFF6FFF; //粉红--直线
DRAWLINE(CROSS(0,Z_X2),Z_X1,CROSS(Z_X2,0),Z_X1,0),COLORGREEN; //绿--斜线
PARTLINE(Z_X2<0 and Z_X4=ref(Z_X4,1),Z_X4),COLORGREEN; //绿--直线
DRAWLINE(CROSS(0,Z_X2) OR CROSS(Z_X2,0),Z_X1,ISLASTBAR,Z_X1,0),COLORYELLOW; //黄--最后斜线
LLL:=if(Z_X0<REF(Z_X0,1)or Z_X0=REF(Z_X0,1)*0.95,Z_X0,REF(Z_X0,1)*0.95);
HHH:=if(Z_X0>REF(Z_X0,1),Z_X0*1.05,REF(Z_X0,1)*1.05);
var1:=ma(100*(c-llv(c,34))/(hhv(h,34)-llv(l,34)),5)-20;
var2:=2*abs(var1);
var3:=100-100-3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,20,1)+2*sma(sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,20,1),15,1);
var4:=100-100-3*sma((o-llv(l,55))/(hhv(h,55)-llv(l,55))*100,20,1)+2*sma(sma((o-llv(l,55))/(hhv(h,55)-llv(l,55))*100,20,1),15,1);
var5:=(h+l+c)/3;
var6:=(var5-ma(var5,10))/0.015*avedev(var5,10);
var7:=(var5-ma(var5,30))/0.015*avedev(var5,30);
var8:=if(var6>=150 and var6<200 and var7>=150 and var7<200,10,0);
var9:=if(var6<=-150 and var6>-200 and var7<=-150 and var7>-200,-10,var8);
vara:=(c-ma(c,13))/ma(c,13)*100;
varb:=100-abs(vara);
顶线:=if(varb<90,varb,100);
多方:=if(var1>0,var1,0);
空方:=-(if(var1<0,var2,0));
预警系统:=if(var7>=200 and var6>=150 or cross(65,多方),15,if(var7<=-200 and var6<=-150,-15,var9))+65;
t3:=多方>60 and 预警系统>65 and 顶线=100;
t4:=多方>48 and 预警系统>65 and 顶线<100;
t5:=空方<-38 and 预警系统<65;
t7:=var3>ref(var4,1) and v>ref(v,1) and c>ref(c,1);
b3:=drawtext(t3 and count(t3,30)=1,HHH,'升过急');
b4:=drawtext(t4 and count(t4,30)=1,LLL,'主升');
b7:=drawtext(t7 and count(t7,30)=1,HHH,'★资金进出');
dif:=ema(c,12)-ema(c,26);
macd1:=ema(dif,9);
def:=2*(dif-macd1);
阻力:=if(cross(c,ma(c,20)) or cross(c,ma(c,60)),-0.04,0);
drawtext(filter(阻力,16) and def>=0,LLL,'★追高?'),colorffff;
drawtext(cross(macd1,dif) and dif>0 and macd1>0,HHH,'◇拐点?'),colorff00;
ZJ:=(C+c+l+h)/4;
ZJ5:=MA(ZJ,5);
B:=MA(C,10)>=ref(MA(C,10),1);
多方1:=eMA(WINNER(C)*70,2);
空方1:=eMA((WINNER(C*1.1)-WINNER(C*0.9))*70,2);
DRAWTEXT(多方1>空方1 AND ZJ5/MA(C,50)>1 AND B AND COUNT(多方1>空方1 AND ZJ5/MA(C,50)>1 AND B,5)=1,LLL,'←捕捉强势'),coloryellow;
KS13:=(C-SMA(C,13,1))/SMA(C,13,1)*(-100);
AAA:=REF(KS13,1)>13 AND REF(KS13,1)/KS13>1.23 AND C/REF(C,1)>1.03;
DRAWTEXT(AAA AND REF(C,1)<COST(5),LLL,'←抄底'),coloryellow;
有未来 |