大智慧指标解盘副图指标
-
相关简介:大智慧指标解盘副图指标 源码 位置:IF(c0 ,0 ,0 ); 位:='日期='+NUMTOSTR(CURRENTDATE-1000000 )+'_' +'代码='+STKLABEL+'_'+'流通A股='+NUMTOSTR(FINANCE(7)/10000 ) +'亿股_'+'最新价='+NUMTOSTRN( c,2)+'_'+ '市盈率='+NUMTOSTRN(DYNAINFO(39),2 )+'_'+ '换手率=' +NUMTOSTRN((VOL/CAPITAL)*100,2)+'%
-
文章来源:股海网作者:股海网发布时间:2016-02-27浏览次数:
大智慧指标解盘副图指标
源码
位置:IF(c>0 ,0 ,0 );
位:='日期='+NUMTOSTR(CURRENTDATE-1000000 )+'_' +'代码='+STKLABEL+'_'+'流通A股='+NUMTOSTR(FINANCE(7)/10000 )
TipText(c>0 and BARSTATUS=2,位置+108 ,位),ColorffFFFF,LINETHICK2,ALIGN2;
Var31:=SARTURN( 10,2 ,20 );
Var32:=REF(HIGH,1)*1.1;
Var33:=HIGH*1.1;
Var34:=(Var33*VOL+Var32*(CAPITAL-VOL))/CAPITAL;
Var35:=REF(LOW,1)*0.9;
Var36:=LOW*0.9;
Var37:=(Var36*VOL+Var35*(CAPITAL-VOL))/CAPITAL;
Var38:=EMA(Var37,20);
Var39:=EMA(Var34,20);
VarA:=Var39-1.5;
VarB:=IF(CLOSE<=Var38,VarA,Var39);
别样:= VarB ;
红:= VarA ;
TipText(别样=红 and BARSTATUS=2,位置+100 ,
b1:=AMOUNT/VOL/500;
b2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
d3:=SUM(AMOUNT,13)/b1/500;
e4:=DMA(b2,VOL/d3);
A1:=(CLOSE-e4)/e4*500 ;
A2:=(CLOSE-e4)/e4*1000 ;
生命指数:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),Color00FFFF;
DRAWICON(生命指数>85 and 生命指数<ref(生命指数,1)
b11:=AMOUNT/VOL/1000;
b12:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
d13:=SUM(AMOUNT,13)/b11/1000;
e14:=DMA(b12,VOL/d13);
s3:=(CLOSE-e14)/e14*1000 ;
s5:=REF(s3,1)<-130 and s3-REF(s3 ,1)>5;
股价趋势:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
买入:=IF(股价趋势<=10,30,0);
TipText(买入 and BARSTATUS=2,位置+95 ,'解:底部区域' ),Color00FFFF,LINETHICK2,ALIGN2;
Var8:=LLV(LOW,26);
Var6:=HHV(HIGH,34);
Var7:=EMA((CLOSE-Var8)/(Var6-Var8)*4,4)*25;
派发:=IF((Var7>90),-30,0);
TipText(派发and BARSTATUS=2,位置+95,'解:派发区域'),ColorFFFFFF,LINETHICK2,ALIGN2;
{MACD 12 26 9 }
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
MACD := 2*(DIFF-DEA);
MAC := DIFF>ref(DIFF ,1);
{笑傲股林}
{bb1:=AMOUNT/VOL/1000;
bb2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
dd3:=SUM(AMOUNT,13)/bb1/1000;
ee4:=DMA(bb2,VOL/dd3);
笑傲江湖:=(CLOSE-ee4)/ee4*1000;
买:=ref(笑傲江湖 ,1)<-111 and 笑傲江湖-ref(笑傲江湖 ,1)>15 and 笑傲江湖>ref(笑傲江湖 ,1) and mac ;
STICKLINE(买 ,位置 ,位置+50 ,3 ,1);}
{KDJ 9 3 3}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:3*K-2*D;
{RSI 6 12 24}
LC := REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
RSII:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
{CR能量指标 26 5 10 20}
{MID := (HIGH+LOW+CLOSE)/3;
CR:=SUM(MAX(0,HIGH-REF(MID,1)),26)/SUM(MAX(0,REF(MID,1)-L),26)*100;
{ARBR 人气意愿指标 26}
AR := SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
BR := SUM(MAX(0,HIGH-REF(CLOSE,1)),26)/
{W&R 威廉指标(William's %R) 14}
wr:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
{SAR 抛物转向(Stop and Reverse) 10 2 20}
sa:=SAR(10,2,20);
{OBV 能量潮}
obv:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
{CCI 顺势指标 14}
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
{PSY 心理线 12}
PSY:=COUNT(CLOSE>REF(CLOSE,1),12)/12*100;
{MTM 动力指标 6}
MTM := CLOSE-REF(CLOSE,6);
MTMMA := MA(MTM,6);
{DMI 趋向指标(标准) 14 6}
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);
PDI:= DMP*100/TR;
MDI:= DMM*100/TR;
ADX:= MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:=(ADX+REF(ADX,6))/2;
{BBIBOLL 多空布林线 10 3}
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:=BBI+3*STD(BBI,10);
DWN:=BBI-3*STD(BBI,10);
{ROC 变动速率 12 6}
ROC:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;
ROCMA:=MA(ROC,6);
风险:90,Color00D4EC;
ddd:110;
0,POINTDOT;
吸筹:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*500;
TipText((REF(a1,1)<-80 and a1>REF(a1,1) or REF(吸筹,1)<-80 and 吸筹>REF(吸筹,1))
m:=FILTER(CLOSE>LLV(LOW,30)*1.01 and CLOSE<LLV(LOW,30)*1.1
and COUNT(CROSS(diff,dea),30)>=2,10)
and COUNT(REF(CLOSE,BARSLAST(REF(CROSS(diff,dea),1))+1)>CLOSE
and REF(diff,BARSLAST(REF(CROSS(diff,dea),1))+1)<"macd.diff"
and CROSS(diff,dea),5)>=1 ;
TipText(m and BARSTATUS=2,位置+85,'解:MACD二次金叉'),LINETHICK2,Color00FFFF,ALIGN2;
K1:=FILTER(CLOSE>LLV(LOW,30)*1.01 and CLOSE<LLV(LOW,30)*1.1
and COUNT(CROSS(k,d),30)>=2,10)
and COUNT(REF(CLOSE,BARSLAST(REF(CROSS(k,d),1))+1)>CLOSE
and REF(k,BARSLAST(REF(CROSS(k,d),1))+1)<k
and CROSS(k,d),5)>=1 ;
TipText(k1 and BARSTATUS=2,位置+85,'解:KDJ二次金叉'),Color00FFFF,LINETHICK2,ALIGN2;
R:=FILTER(CLOSE>LLV(LOW,30)*1.01 and CLOSE<LLV(LOW,30)*1.1
and COUNT(CROSS(rsi1,rsi2),30)>=2,10)
and COUNT(REF(CLOSE,BARSLAST(REF(CROSS(rsi1,rsi2),1))+1)>CLOSE
and REF(rsi1,BARSLAST(REF(CROSS(rsi1,rsi2),1))+1)<rsi1
and CROSS(rsi1,rsi2),5)>=1 ;
TipText(R and BARSTATUS=2,位置+85,'解:RSI二次金叉'),Color00FFFF,LINETHICK2,ALIGN2;
d1:=BARSLAST(REF(CROSS(diff,dea),1));
d2:=REF(CLOSE,d1+1)>CLOSE and REF(diff,d1+1)<"macd.diff" and CROSS(diff,dea);
TipText(d2 and BARSTATUS=2,位置+80,'解:MACD底背离'),Color00FFFF,LINETHICK2,ALIGN2;
f5:=BARSLAST(REF(CROSS(k,d),1));
f2:=REF(CLOSE,f5+1)>CLOSE and REF(k,f5+1)<k and CROSS(k,d);
TipText(f2 and BARSTATUS=2,位置+80,'解:短线指标(KD随机指标)底背离--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
B3:=REF(CLOSE,A3+1)>CLOSE and REF(RSI1,A3+1)<RSI1 and CROSS(RSI1,RSI2);
TipText(b3 and BARSTATUS=2,位置+80,'解:RSI底背离'),Color00FFFF,LINETHICK2,ALIGN2;
e1:=BARSLAST(REF(CROSS(dea,diff),1));
f3:=REF(CLOSE,e1+1)<CLOSE and REF(diff,e1+1)>diff and CROSS(dea,diff);
TipText(f3 and BARSTATUS=2,位置+80,'解:MACD顶背离'),ColorFFFFFF,LINETHICK2,ALIGN2;
C2:=BARSLAST(REF(CROSS(d,k),1));
f1:=REF(CLOSE,C2+1)<CLOSE and REF(k,C2+1)>k and CROSS(d,k);
TipText(f1 and BARSTATUS=2,位置+80, '解:短线指标(KD随机指标)顶背离--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
C3:=BARSLAST(REF(CROSS(RSI2,RSI1),1));
f4:=REF(CLOSE,C3+1)<CLOSE and REF(RSI1,C3+1)>RSI1 and CROSS(RSI2,RSI1);
TipText(f4 and BARSTATUS=2,位置+80,'解:RSI顶背离'),ColorFFFFFF,LINETHICK2,ALIGN2;
Var3o:=REF(CLOSE,1);
Var4o:=SMA(MAX(CLOSE-Var3o,0),6,1)/SMA(ABS(CLOSE-Var3o),6,1)*100;
卖出:=CROSS(80,Var4o);
TipText(卖出 and BARSTATUS=2,位置+90,'解:高度危险,清仓'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(IF(生命指数>92,生命指数,0) and BARSTATUS=2,位置+85,'解:危险,清仓'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(MTM,MTMMA) and BARSTATUS=2,位置+75,
TipText(CROSS(MTMMA,MTM) and BARSTATUS=2,位置+80,
TipText((HHV(HIGH,20)=HIGH)AND(NOT(HHV(MTM,20)=MTM))AND(COUNT(CLOSE>REF(CLOSE,1),30)>18
TipText((LLV(LOW,20)=LOW)AND(NOT(LLV(MTM,20)=MTM))AND(COUNT(CLOSE<REF(CLOSE,1),30)>18
TipText((K<=20 AND D<=20) and BARSTATUS=2,位置+70,
TipText((K>=80 AND D>=80) and BARSTATUS=2,位置+70,
TipText(CROSS(K,D)AND(COUNT(VOL>REF(VOL,1),30)>3AND(VOL/CAPITAL<=(10/100)))
TipText(CROSS(K,D)AND(COUNT(VOL>REF(VOL,1),30)>3AND
TipText(CROSS(D,K)AND(K>=60 AND D>=60) and BARSTATUS=2,位置+70,
TipText(CROSS(D,K)AND(K>=60 AND D>=60)AND(BARSLAST(CROSS(D,K)
TipText((J<0) and BARSTATUS=2,位置+70,
TipText((COUNT(CLOSE<REF(CLOSE,1),30)>18 AND (COUNT(CLOSE<REF(CLOSE,1),3)=3))
TipText((COUNT(CLOSE>REF(CLOSE,1),30)>18 AND (COUNT(CLOSE>REF(CLOSE,1),3)=3))
TipText((COUNT(CLOSE>REF(CLOSE,1),30)>18 AND(COUNT(CLOSE>REF(CLOSE,1),3)=3))
TipText(CROSS(obv,0)AND(COUNT((REF(obv,1)<0),3)=3) and BARSTATUS=2,位置+65,
TipText(CROSS(0,obv)AND(COUNT((REF(obv,1)>0),3)=3) and BARSTATUS=2,位置+65,
TipText((HHV(HIGH,20)=HIGH)AND(NOT(HHV(obv,20)=obv)) and BARSTATUS=2,位置+65,
TipText((LLV(LOW,20)=LOW)AND(NOT(LLV(obv,20)=obv)) and BARSTATUS=2,位置+65,
TipText((ABS(obv-REF(obv,1))/ABS(MA(obv,5))>0.07)AND(obv>REF(obv,1)) and BARSTATUS=2,位置+75,
TipText(CROSS(DIFF,DEA) and BARSTATUS=2,位置+60,
TipText(CROSS(DEA,DIFF) and BARSTATUS=2,位置+60,
TipText((LLV(LOW,60)=LOW) AND (NOT(LLV(DEA,60)=DEA)) and BARSTATUS=2,位置+60,
TipText((HHV(HIGH,60)=HIGH) AND (NOT(HHV(DEA,60)=DEA)) and BARSTATUS=2,位置+65,
TipText(CROSS(DIFF,DEA) AND (BARSLAST(CROSS(DIFF,DEA))>=3) and BARSTATUS=2,位置+60,
TipText(CROSS(DEA,DIFF) AND (BARSLAST(CROSS(DEA,DIFF))>=3) and BARSTATUS=2,位置+60,
TipText((COUNT(CLOSE<REF(CLOSE,1),30)>18 AND (COUNT(CLOSE<REF(CLOSE,1),3)=3))
TipText((COUNT(CLOSE>REF(CLOSE,1),30)>18 AND (COUNT(CLOSE>REF(CLOSE,1),3)=3))
TipText(rsi1<15AND(BARSLAST(rsi1<15)>=1) and BARSTATUS=2,位置+55,
TipText(RSI1>85AND(BARSLAST(RSI1>85)>=1) and BARSTATUS=2,位置+55,
TipText((((LLV(LOW,20)=LOW)AND(NOT(LLV(RSI1,20)=RSI1)))OR(COUNT(CLOSE<REF(CLOSE,1),30)>18
TipText((((HHV(HIGH,20)=HIGH)AND(NOT(HHV(RSI1,20)=RSI1)))OR(COUNT(CLOSE>REF(CLOSE,1),30)>18
TipText(CROSS(RSI1,RSI2)AND(RSI1<50) and BARSTATUS=2,位置+55,
TipText(CROSS(RSI2,RSI1)AND(RSI1>50) and BARSTATUS=2,位置+55,
TipText(RSI1<5 and BARSTATUS=2,位置+55,
TipText(RSI1>93 and BARSTATUS=2,位置+55,
TipText(AR<50 and BARSTATUS=2,位置+50,
TipText(AR>200 and BARSTATUS=2,位置+50,
TipText(((HHV(AR,10)-AR)/HHV(AR,10))>=0.5 and BARSTATUS=2,位置+50,
TipText(((AR-LLV(AR,10))/LLV(AR,10))>=0.5 and BARSTATUS=2,位置+50,
TipText(BR<50 and BARSTATUS=2,位置+50,
TipText(BR>300 and BARSTATUS=2,位置+50,
TipText(CROSS(AR,BR)AND(AR<50 OR BR<50) and BARSTATUS=2,位置+50,
TipText(CROSS(BR,AR)AND(AR>180 OR BR>300) and BARSTATUS=2,位置+50,
TipText(CCI<-100 and REF(cci,1)<cci and BARSTATUS=2,位置+45,
TipText(CCI>100 and REF(cci,1)>cci and BARSTATUS=2,位置+40,
TipText(CROSS(CLOSE,UPR)AND(BARSLAST(((COUNT((UPR-DWN)<REF
TipText(CROSS(DWN,CLOSE)AND(BARSLAST(((COUNT((UPR-DWN)<REF
TipText(PSY<10 and BARSTATUS=2,位置+35,
TipText(BETWEEN(PSY,PSY>10,PSY<25) and BARSTATUS=2,位置+35,
TipText(PSY>75 and BARSTATUS=2,位置+35,
TipText(wr<-80 and BARSTATUS=2,位置+30,
TipText(wr>-20 and BARSTATUS=2,位置+30,
TipText(CROSS(PDI,MDI) and BARSTATUS=2,位置+25,
TipText(CROSS(MDI,PDI) and BARSTATUS=2,位置+25,
TipText(CROSS(CLOSE,SA)AND(ABS(CLOSE-sa)/CLOSE>=0.01) and BARSTATUS=2,位置+25,
TipText(CROSS(sa,CLOSE)AND(ABS(CLOSE-sa)/CLOSE>=0.01) and BARSTATUS=2,位置+25,
TipText(CROSS(ROC,0) and BARSTATUS=2,位置+20,
TipText(CROSS(0,ROC) and BARSTATUS=2,位置+20,
TipText((LLV(LOW,20)=LOW)AND(NOT(COUNT(ROC<REF(ROC,1),30)>18
TipText((HHV(HIGH,20)=HIGH)AND(NOT(COUNT(ROC>REF(ROC,1),30)>18
TipText((COUNT(CLOSE>REF(CLOSE,1),30)>18 AND(COUNT(CLOSE>REF(CLOSE,1),3)=3))
TipText((COUNT(CLOSE<REF(CLOSE,1),30)>18AND(COUNT(CLOSE<REF(CLOSE,1),3)=3))
TipText((VOL/CAPITAL)>0.075 and BARSTATUS=2,位置+10,
TipText(llv(c/FINANCE(34)<1.2,3) and BARSTATUS=2,位置+6,
上一篇:大智慧指数分析副图指标
下一篇:大智慧只买主升副图指标