大智慧顺势598主图指标公式,大智慧多空整合指标公式
admin888
|大智慧顺势598主图指标公式,大智慧多空整合指标公式
大智慧顺势598主图指标公式
DRAWGBKLAST(C>0,STRIP(RGB(0,0,0),RGB(0,0,180),1));
{K线}STICKLINE(CLOSE>OPEN,HIGH,LOW,0.5,0),COLOR0000FF;
STICKLINE(OPEN>=CLOSE,HIGH,LOW,0.5,0),COLOR00FF00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8,0),COLOR006600;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7,0),COLOR009900;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5,0),COLOR00BB00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLOR00DD00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1,0),COLOR00FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),COLOR000466;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0),COLOR000499;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0),COLOR0003bb;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR0002dd;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR0001ff;
{卖黄金,RSI=80}LC:=REF(C,1);
卖黄金:((SMA(MAX((C-LC),0),3,1)/SMA(ABS((C-LC)),3,1))*100),LINETHICK0;
STICKLINE(CROSS(80,卖黄金)ANDC
STICKLINE(CROSS(80,卖黄金)ANDC
STICKLINE(CROSS(80,卖黄金)ANDC
STICKLINE(CROSS(80,卖黄金)ANDC
STICKLINE(CROSS(80,卖黄金)ANDC
STICKLINE(CROSS(80,卖黄金)ANDC
ma5:EMA(C,5),LINETHICK0;
PARTLINE(ma5,(ma5>REF(ma5,1))-1,rgb(0,255,0),1,rgb(255,0,0)),LINETHICK2,LAYER6;
VAR1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
A1:(EMA(VAR1,2)+EMA(VAR1,3)+EMA(VAR1,5)+EMA(VAR1,8)+EMA(VAR1,13))/5,COLORff9900;
A2:EMA(A1,2),COLORff9900;
A3:EMA(A2,2),COLORff9900;
A4:EMA(A3,2),COLORff9900;
A5:EMA(A4,2),COLORff9900;
A6:EMA(A5,2),COLORff9900;
A7:EMA(A6,2),COLORff9900;
A8:EMA(A7,2),COLORff9900;
A9:EMA(A8,2),COLORff9900;
A10:EMA(A9,2),COLORff9900,LINETHICK2;;
PARTLINE(A1,A1>REF(A1,1)),COLOR00ffff;
PARTLINE(A2,A2>REF(A2,1)),COLOR00ffff;
PARTLINE(A3,A3>REF(A3,1)),COLOR00ffff;
PARTLINE(A4,A4>REF(A4,1)),COLOR00ffff;
PARTLINE(A5,A5>REF(A5,1)),COLOR00ffff;;
PARTLINE(A6,A6>REF(A6,1)),COLOR0ffff0;
PARTLINE(A7,A7>REF(A7,1)),COLOR0ffff0;
PARTLINE(A8,A8>REF(A8,1)),COLOR0ffff0;
PARTLINE(A9,A9>REF(A9,1)),COLOR0ffff0;
PARTLINE(A10,A10>REF(A10,1)),COLOR0ffff0;;
五日乖离率:=(c-MA(C,5))/MA(C,5)*100;
拾八日乖离率:=(c-MA(C,18))/MA(C,18)*100;
JC:=cross(0,五日乖离率)and拾八日乖离率ref(EMA(C,10),1);
减仓:=filter(JC,10);
drawtext(减仓,high*1.03,'←减仓'),color00ffff,linethick2;
A74:=MA(CLOSE,20);
A75:=(CLOSE>MA(CLOSE,5));
A76:=(MA(CLOSE,5)>MA(CLOSE,10));
A77:=(CLOSE>MA(CLOSE,10));
A78:=(MA(CLOSE,5)>MA(CLOSE,20));
A79:=(CLOSE>MA(CLOSE,20));
A710:=REF(A74,1);
A711:=(A74>A710);
AVX:=(((((IF(A75,10,(0-10))+IF(A76,10,(0-10)))+IF(A77,10,(0-10)))+IF(A78,10,(0-10)))+IF(A79,10,(0-10)))+IF(A711,10,(0-10)));
DSLX:=(CLOSE/INDEXC);
DSLX1:=MA(DSLX,5);
DSLX2:=MA(DSLX,10);
V1:=MA(VOL,5);
V2:=MA(VOL,10);
IFBARSTATUS=2andc<200and((CROSS(AVX,1)AND(V1>=V2))AND(DSLX>=DSLX1))THENDRAWTEXTABS(12,10,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。'),color0000FF,LINETHICK3;
IFBARSTATUS=2andc<200and((CROSS(AVX,1)AND(V1
FBARSTATUS=2andc<200and((CROSS(AVX,1)AND(V1>V2))AND(DSLX
IFBARSTATUS=2andc<200and((CROSS(AVX,1)AND(V1<=V2))AND(DSLX
IFBARSTATUS=2andc<200and((CROSS(1,AVX)AND(V1>=V2))AND(DSLX>=DSLX1))THENDRAWTEXTABS(12,10,'该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望。'),color00FF00,LINETHICK3;
IFBARSTATUS=2andc<200and((CROSS(1,AVX)AND(V1
IFBARSTATUS=2andc<200and((CROSS(1,AVX)AND(V1>=V2))AND(DSLX
IFBARSTATUS=2andc<200and((CROSS(1,AVX)AND(V1
IFBARSTATUS=2andc<200and((((AVX>=1)AND(REF(AVX,1)>0))AND(V1>=V2))AND(DSLX>=DSLX1))THENDRAWTEXTABS(12,10,'该股形态良好,强势明显,量能充足,可以继续持有。'),color00FFFF,LINETHICK3;
IFBARSTATUS=2andc<200and((((AVX>=1)AND(REF(AVX,1)>0))AND(V1
IFBARSTATUS=2andc<200and((((AVX>=1)AND(REF(AVX,1)>0))AND(V1>=V2))AND(DSLX
IFBARSTATUS=2andc<200and((((AVX>=1)AND(REF(AVX,1)>0))AND(V1
IFBARSTATUS=2andc<200and((((AVX<1)AND(REF(AVX,1)<0))AND(V1>=V2))AND(DSLX>=DSLX1))THENDRAWTEXTABS(12,10,'该股形态不佳,注意成交量的变化,但目前不适合参与。'),COLOR00FF00,LINETHICK3;
IFBARSTATUS=2andc<200and((((AVX<1)AND(REF(AVX,1)<0))AND(V1
IFBARSTATUS=2andc<200and((((AVX<1)AND(REF(AVX,1)<0))AND(V1>=V2))AND(DSLX
IFBARSTATUS=2andc<200and((((AVX<1)AND(REF(AVX,1)<0))AND(V1
IFBARSTATUS=2andc>200and(CROSS(AVX,1)AND(V1>=V2))THENDRAWTEXTABS(12,10,'大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右,'),color0000FF,LINETHICK3;
IFBARSTATUS=2andc>200and(CROSS(AVX,1)AND(V1>=V2))THENDRAWTEXTABS(12,10,'如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎。'),color0000FF,LINETHICK3;
IFBARSTATUS=2andc>200and(CROSS(AVX,1)AND(V1
IFBARSTATUS=2andc>200and(CROSS(AVX,1)AND(V1
IFBARSTATUS=2andc>200and(CROSS(1,AVX)AND(V1>=V2))THENDRAWTEXTABS(12,10,'大盘形态走坏,重仓者可以减去大部分仓位。'),color00FF00,LINETHICK3;
IFBARSTATUS=2andc>200and(CROSS(1,AVX)AND(V1
IFBARSTATUS=2andc>200and(((AVX>=1)AND(REF(AVX,1)>0))AND(V1>=V2))THENDRAWTEXTABS(12,10,'大盘走势良好,量能理想,可以继续持有强势股。'),color00FFFF,LINETHICK3;
IFBARSTATUS=2andc>200and(((AVX>=1)AND(REF(AVX,1)>0))AND(V1
IFBARSTATUS=2andc>200and(((AVX<1)AND(REF(AVX,1)<0))AND(V1>=V2))THENDRAWTEXTABS(12,10,'大盘趋势不明,注意成交量变化,目前不适宜进场。'),COLOR00FF00,LINETHICK3;
IFBARSTATUS=2andc>200and(((AVX<1)AND(REF(AVX,1)<0))AND(V1
p:=BARSLAST(DISPSTATUS=1)+1;
{2.黄金比}ah:=hhvall(hhv(h,P));
al:=llvall(llv(l,P));
nnl:=DISPSTATUS=2;
ahl:=ah-al;
q191:=al+ahl*0.191;
q382:=al+ahl*0.382;
q500:=al+ahl*0.500;
q618:=al+ahl*0.618;
q809:=al+ahl*0.809;
DRAWTEXT(nnl,ah,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLOR0000ff;
DRAWTEXT(nnl,q809,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLORddaa00;
DRAWTEXT(nnl,q618,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLORddaa00;
DRAWTEXT(nnl,q500,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLOR00ffff;
DRAWTEXT(nnl,q382,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLORddaa00;
DRAWTEXT(nnl,q191,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLORddaa00;
DRAWTEXT(nnl,al,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLOR00ff00;
DRAWTEXT(nnl,ah*0.998,'最高.'+ah+''),ALIGN0,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,q809,'80.9%.'+q809+''),ALIGN0,Color00FFff,LINETHICK1;
DRAWTEXT(nnl,q618,'61.8%.'+q618+''),ALIGN0,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,q500,'50%.'+q500+''),ALIGN0,Color00FFff,LINETHICK1;
DRAWTEXT(nnl,q382,'38.2%.'+q382+''),ALIGN0,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,q191,'19.1%.'+q191+''),ALIGN0,Color00FFff,LINETHICK1;
DRAWTEXT(nnl,al*1.01,'最低.'+al+''),ALIGN0,VALIGN2,Color0047FF,LINETHICK1;
大智慧多空整合指标公式
Var1:=(CLOSE*2+HIGH+LOW)/4;
Var2:=EMA(Var1,13)-EMA(Var1,34);
Var3:=EMA(Var2,5);
强弱分界:0,coloryellow,linethick2;
主力:2*(Var2-Var3)*30,colorred,LINESTICK;
STICKLINE(主力<0,主力,0,4,0),colorwhite;
IF(主力<=0,主力,0),colorwhite;
IF(主力>=0,主力,0),colorred;
{买卖雷达}LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
卖点:CROSS(82.31,RSI1)*-8,COLOR00FF00;
DRAWTEXT(CROSS(83.6,RSI1),-4,'小头部'),COLORffcc66,ALIGN2;
顶:CROSS(92,RSI1)*-8,colorblue;
DRAWTEXT(CROSS(92,RSI1),-4,'顶'),COLORffcc66,ALIGN2;
Varb:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
Varc:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
Vard:=BARSCOUNT(CLOSE);
底部雷达:(VARB<20ANDVARC<25ANDVARD>50)*3,stick,linethick1,Color000088;
黄色:=SMA(L,21,2)*0.95;
绿色:=SMA(C,2,1);
买点雷达:CROSS(绿色,黄色)*8,colorred;
DRAWTEXT(CROSS(绿色,黄色),8,'买'),color00aaff,ALIGN2;
{资金进出}VarF:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
Var19:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
Var20:=VarFREF(VOL,1)ANDCLOSE>REF(CLOSE,1);
DRAWTEXT(Var20ANDCOUNT(Var20,26)=1,-5,'资金进场'),linethick1,COLORff00ff,ALIGN2;
Var2:=EMA(Var1,13)-EMA(Var1,34);
Var3:=EMA(Var2,5);
Var5:=EMA(Var2,5);
Var6:=EMA(3*Var5-2*SMA(Var5,18,1),5);
Var7:=EMA(Var2,5);
Var8:=EMA(Var2,5);
Var9:=EMA(Var8,13)-EMA(Var8,34);
VarA:=EMA(Var9,3);
VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
Var10:=(HIGH+LOW+CLOSE)/3;
Var11:=(Var10-MA(Var10,14))/(0.015*AVEDEV(Var10,14));
Var12:=(Var10-MA(Var10,70))/(0.015*AVEDEV(Var10,70));
Var13:=IF(Var11>=150ANDVar11<200ANDVar12>=150ANDVar12<200,10,0);
Var14:=IF(Var11<=-150ANDVar11>-200ANDVar12<=-150ANDVar12>-200,-10,Var13);
Var15:=(CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*100;
Var16:=100-ABS(Var15);
Var17:=IF(Var16<90,Var16,100);
Var1A:=IF(VarE>0,VarE,0);
Var1B:=IF(Var12>=200ANDVar11>=150,15,IF(Var12<=-200ANDVar11<=-150,-15,Var14))+60;
Var1C:=Var1A>48ANDVar1B>60ANDVar17<100;
DRAWTEXT(Var1CANDCOUNT(Var1C,30)=1,6,'当心'),linethick1,color00aaff,ALIGN2;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。