大智慧六大"个股诊断"精品公式大全 大智慧指标公式
先复制源码,依次打开功能----自编指标----个股诊断----新建菜单,在指标编辑器空白处粘贴源码
,在公式名称栏目里添写指标名,鼠标点击测试公式,再点确认,OK!
然后再依次打开功能----自编指标----个股评价----新增评价-----个股诊断----点击“个股诊断”
,打开[个股]或[其它],点选某一指标,点击“添加诊断”,在评价名栏里添写你选中的指标名(注
意:格式要与指标名一致),点确定。其它以次类推。
使用方法:
1)回到个股评价(引入导出)窗口,在公式组中选择某个股诊断公式;
2)点击“默认评价”,退出;
3)回到K线图信息窗中,点击右下角的“诊断”,即可显示诊断内容。其它指标的使用以次类推
[/hide]
之一:大智慧系统自己的特色解盘公式!
IFS((D>1),' 人均持股评测值为'+STR(((D)/(CLOSE))*(10),0)+'手,','')+IFS((D>1) AND (E>0),'大资金持股约占流通股本的'+STR(IF((E>0),E,0),0)+'%;','')+IFS((D<15) AND (D>1),'没有主力或主力控盘程度较低'+IFS((F>=(-20)) AND (F<(-10)),',但近期有大资金收集筹码迹象','')+IFS((F<(-20)),',但近期有大资金大举建仓','')+IFS((F>=10) AND (F<20),',且筹码近期继续分散','')+IFS((F>=20),',且筹码近期加速分散',''),'')+IFS((D>15) AND (D<30),'主力中等程度控盘,'+IFS((F>=(-20)) AND (F<(-10)),IFS((S2>0),'且近期继续主动收集筹码','近期被动收集筹码'),'')+IFS((F<(-20)),IFS((S2>0),'且近期主动大量收集筹码','且近期被动大量收集筹码'),'')+IFS((F>=10) AND (F<20),IFS((S2>0),'但近期有所阶段性减仓','但近期有所获利减仓'),'')+IFS((F>=20),IFS((S2>0),'但近期大幅阶段性减仓','但近期大幅获利减仓'),'')+IFS((F<10) AND (F>=(-10)),'近期主力仓位变化不明显',''),'')+IFS((D>30) AND (D<60),'主力较高程度控盘,'+IFS((F>=(-20)) AND (F<(-10)),IFS((S2>0),'且近期继续主动收集筹码','近期被动收集筹码'),'')+IFS((F<(-20)),IFS((S2>0),'且近期主动大量收集筹码','且近期被动大量收集筹码'),'')+IFS((F>=10) AND (F<20),IFS((S2>0),'但近期有所阶段性减仓','但近期有所获利减仓'),'')+IFS((F>=20),IFS((S2>=0),'但近期大幅阶段性减仓','但近期大幅获利减仓'),'')+IFS((F<10) AND (F>=(-10)),'近期主力仓位变化不明显',''),'')+IFS((D>=60) AND (D<100),'主力高度控盘,'+IFS((F>=(-20)) AND (F<(-10)),IFS((S2>0),'且近期继续主动收集筹码','近期被动收集筹码'),'')+IFS((F<(-20)),IFS((S2>=0),'且近期主动大量收集筹码','且近期被动大量收集筹码'),'')+IFS((F>=10) AND (F<20),IFS((S2>0),'但近期有所阶段性减仓','但近期有所获利减仓'),'')+IFS((F>=20),IFS((S2>=0),'但近期大幅阶段性减仓','但近期大幅获利减仓'),'')+IFS((F<10) AND (F>=(-10)),'近期主力仓位变化不明显',''),''),ColorFF00FF;
c1:=c/ref(ema(c,30),30);
c2:=indexc/ref(ema(indexc,30),30);
l1:=c1/c2*10-10;
c3:=c/ma(c,60);
c4:=indexc/ma(indexc,60);
l2:=c3/c4*10-10;
c5:=c/ma(c,120);
c6:=indexc/ma(indexc,120);
l3:=c5/c6*10-10;
L4:=MA(L1+L2+L3,5);
' '+
IFS(REF(L4,1)>0 AND REF(L4,1)>REF(L4,2),'该股中长期走势强于大盘,且近期继续走强。','')+
IFS(REF(L4,1)>0 AND REF(L4,1)<=REF(L4,2),'该股中长期走势强于大盘,但近期有所走弱。','')+
IFS(REF(L4,1)<=0 AND REF(L4,1)>REF(L4,2),'该股中长期走势弱于大盘,但近期有所转强。','')+
IFS(REF(L4,1)<=0 AND REF(L4,1)<=REF(L4,2),'该股中长期走势弱于大盘,且近期继续走弱。','')
K:="KD.K"(17,4,4);
D:="KD.D"(17,4,4);
' '+
IFS(K>80 AND CROSS(D,K)=0,'KD指标提示该股已经处于超买状态,如果KD指标死叉应及时卖出。','')+
IFS(K<20 AND CROSS(K,D)=0,'KD指标提示该股已经处于超卖状态,如果KD指标金叉应及时买入。','')+
IFS(CROSS(K,D) AND LLV(K,3)<20,'KD低位金叉,建议买入。','')+
IFS(CROSS(D,K) AND HHV(K,3)>80,'KD高位死叉,建议卖出。','')
' 该股为'+
IFS(FINANCE(33)>=N1/100,'绩优、','')+IFS(FINANCE(33)<N1/100 AND FINANCE(33)>=N2/100,'中等业绩、','')+IFS(FINANCE(33)<N2/100 AND FINANCE(33)>=0,'绩差、','')+
IFS(FINANCE(33)<0,'亏损、','')+
IFS(DYNAINFO(39)<=P1 AND DYNAINFO(39)>0,'低市盈率、','')+IFS(DYNAINFO(39)>P1 AND DYNAINFO(39)<=P2,'中等市盈率、','')+IFS(DYNAINFO(39)>P2,'高市盈率、','')+
IFS(FINANCE(7)>=S1,'大盘股。','')+IFS(FINANCE(7)<S1 AND FINANCE(7)>=S2,'中盘股。','')+
IFS(FINANCE(7)<S2,'小盘股。','')
DIFF:="MACD.DIFF"(12,26,9);
DEA:="MACD.DEA"(12,26,9);
MACD:="MACD.MACD"(12,26,9);
IFS(DIFF>=0,' MACD指标显示该股处于多头行情中',' MACD指标显示该股处于空头行情中')+
IFS(DIFF>=0 AND MACD>=0 AND MACD>REF(MACD,1),'且有加速上涨趋势。','')+
IFS(DIFF>=0 AND MACD>=0 AND MACD<=REF(MACD,1),'但上涨趋势有所减缓,短线投资者可逢高卖出,但当回落至均线或其他支撑位时应及时回补。','')+
IFS(DIFF>=0 AND MACD<0 AND MACD>=REF(MACD,1),',目前正处于回落整理阶段,但整理即将结束,可在均线或其他支撑位附近逢低买入,但当整理完成后选择再次向下突破时应注意及时止损。','')+
IFS(DIFF>=0 AND MACD<0 AND MACD<REF(MACD,1),',目前正处于回落整理阶段,且回落有加速趋势。','')+
IFS(DIFF<0 AND MACD<=0 AND MACD<REF(MACD,1),'且有加速下跌趋势。','')+
IFS(DIFF<0 AND MACD<=0 AND MACD>=REF(MACD,1),'但下跌趋势有所减缓,可在W&R指标大于90时逢低买入,但有可能再次加速下跌,注意及时止损。','')+
IFS(DIFF<0 AND MACD>0 AND MACD>REF(MACD,1),',目前正处于反弹阶段,投资者应保持谨慎。','')+
IFS(DIFF<0 AND MACD>0 AND MACD<REF(MACD,1),',短线反弹已经结束,应继续坚持谨慎原则。','')+
IFS(CROSS(DIFF,0),'该股今日从空头市场转换为多头行情。','')+
IFS(CROSS(0,DIFF),'该股今日从多头市场转换为空头行情。','')
之二:K线形态解盘
早晨之星:=REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);
黄昏之星:=REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1) > REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND
CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2);
长十字:=CLOSE=OPEN AND HIGH/LOW >1.03;
垂死十字:=CLOSE=OPEN AND CLOSE=LOW AND CLOSE<>HIGH;
早晨十字星:=REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);
黄昏十字星:=REF(CLOSE,2)/REF(OPEN,2) > 1.05 AND REF(OPEN,1) > REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
CLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2);
射击之星:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5);
倒转锤头:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5);
锤头:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5);
吊颈:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5);
穿头破脚:=(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1))
OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1));
乌云盖顶:=REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1);
曙光初现:=REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1);
身怀六甲:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND ABS(CLOSE-OPEN)/CLOSE<0.005 AND
MAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1));
十字胎:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND CLOSE=OPEN AND
CLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1));
平顶:=ABS(HIGH-REF(HIGH,1))/HIGH<0.001;
平底:=(ABS(LOW-REF(LOW,1))/LOW<0.001 and abs(ref(low,1)-ref(low,2))/ref(low,1)<=0.001);
大阳烛:=CLOSE/OPEN>1.05 AND HIGH/LOW < CLOSE/OPEN+0.018;
三个白武士:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPEN
AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1);
双飞乌鸦:=REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98;
孕育线:=REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1) AND
(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPEN AND
(CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND (MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100;
多方炮:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;
出水芙蓉:=(OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))
AND (V/MA(V,30)>1.2 AND C/REF(C,1)>1.049);
上升三部曲:=REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND
REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND
REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,4);
下跌三部曲:= REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND
REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND
CLOSE<REF(CLOSE,4);
跳空缺口:=HIGH<REF(LOW,1) OR LOW>REF(HIGH,1);
三只乌鸦:=REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE<REF(CLOSE,1);
光脚阴线:=LOW=CLOSE AND HIGH<>LOW;
光头阳线:=HIGH=CLOSE AND HIGH<>LOW;
分离:=OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0;
长下影:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667;
长上影:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667;
十字星:=CLOSE=OPEN AND HIGH<>LOW;
大阴烛:=OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018;
好友反攻:=(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)
OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002);
倾盆大雨:=REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O>REF(O,1) AND C<REF(O,1);
IFS(倾盆大雨,'K线形态分析:倾盆大雨,见顶信号。','')+
IFS(大阴烛,'K线形态分析:大阴烛,后市向淡,发生逆转。','')+
IFS(好友反攻,'K线形态分析:好友反攻,底部反转。','')+
IFS(跳空缺口,'K线形态分析:跳空缺口,注意向上还是向下跳空。','')+
IFS(光脚阴线,'K线形态分析:光脚阴线,下跌信号。','')+
IFS(光头阳线,'K线形态分析:光头阳线,后市看涨。','')+
IFS(三只乌鸦,'K线形态分析:三只乌鸦,可能见顶回落。','')+
IFS(分离,'K线形态分析:分离,注意看涨分离和看跌分离。','')+
IFS(长下影,'K线形态分析:长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意。','')+
IFS(长上影,'K线形态分析:长上影,表明行情上档压力沉重,升势受阻。','')+
IFS(下跌三部曲,'K线形态分析:下跌三部曲,下跌信号。','')+
IFS(上升三部曲,'K线形态分析:上升三部曲,上涨信号。','')+
IFS(早晨之星,'K线形态分析:早晨之星,见底回升。','')+
IFS(黄昏之星,'K线形态分析:黄昏之星,见顶回落。','')+
IFS(十字星,'K线形态分析:十字星,有转向意味,注意股价位置在顶部还是底部。','')+
IFS(长十字,'K线形态分析:长十字,注意在顶部还是底部。','')+
IFS(垂死十字,'K线形态分析:垂死十字,下跌信号。','')+
IFS(早晨十字星,'K线形态分析:早晨十字星,上涨信号,见底回升。','')+
IFS(黄昏十字星,'K线形态分析:黄昏十字星,下跌信号,见顶回落。','')+
IFS(射击之星,'K线形态分析:射击之星,可能见顶回落,可靠性低。','')+
IFS(倒转锤头,'K线形态分析:倒转锤头,可能见底回升。','')+
IFS(锤头,'K线形态分析:锤头,可能见底回升,如有量配合,信号强烈。','')+
IFS(吊颈,'K线形态分析:吊颈,上升行情中见顶回落,顶部出现,见顶信号。','')+
IFS(平顶,'K线形态分析:平顶,温和的反转。','')+
IFS(穿头破脚,'K线形态分析:穿头破脚,顶部出现,见顶回落信号。','')+
IFS(乌云盖顶,'K线形态分析:乌云盖顶,见顶回落信号。','')+
IFS(曙光初现,'K线形态分析:曙光初现,后市见底回升。','')+
IFS(身怀六甲,'K线形态分析:身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号。','')+
IFS(十字胎,'K线形态分析:十字胎。','')+
IFS(平底,'K线形态分析:平底,温和的反转。','')+
IFS(大阳烛,'K线形态分析:大阳烛,,看涨。','')+
IFS(三个白武士,'K线形态分析:三个白武士,每日收盘价上移,表示可能见底回升。','')+
IFS(双飞乌鸦,'K线形态分析:双飞乌鸦,行情将见顶回落。','')+
IFS(孕育线,'K线形态分析:孕育线,注意股价位置。','')+
IFS(多方炮,'K线形态分析:多方炮,在底部出现有上涨以为,在中间出现有可能是上涨中继,顶部出现是复合见顶信号。','')+
IFS(出水芙蓉,'K线形态分析:出水芙蓉,见底回升。','')
之三:换手率解盘
{lsg 0000}
hh:=100*v/capital;
Var1:=ref(c,1);
var4:=(var1-l)/(h-l);
var5:=v*var4;
var2:=v*var4;
var3:=abs(var2);
var6:=abs(var5);
HSL:=vol/capital*100;
PT := REF(HIGH,1)-REF(LOW,1);
重心:=(HIGH + LOW + CLOSE)/3;
压力Ⅰ:= 2*重心-LOW;
压力Ⅱ:= 重心 + PT;
支撑Ⅰ:= 2.002*重心-HIGH;
支撑Ⅱ:= 重心 - PT;
'【换手率解盘】'+
IFS(hh<2 AND hh>0,'绝对地量:.成交低靡:1%—2%','')+
IFS(hh>=2 and hh<3,'成交温和:2%—3%','')+
IFS(hh>=3 and hh<5,'成交活跃:3%—5%','')+
IFS(hh>=5 and hh<8,'带量:5%—8%','') +
IFS(HSL<=2,'该股票少人关注,属于冷门股。','')+
IFS(HSL>2 AND HSL<3,'该股票成交温和,属于备份股。','')+
IFS(HSL>3 AND HSL<5,'该股票的交投越来越活跃,人们购买该股票的意愿高,属于热门股。','')+
IFS(HSL>5 AND HSL<8,'该股票带量!','')+
IFS(HSL>8 AND HSL<15,'该股票放量!','')+
IFS(HSL>15 AND HSL<25,'该股票巨量!','')+
IFS(HSL>=25,'该股票成交怪异!','')+
'【压力/支撑解盘】'+
IFS(压力Ⅰ=压力Ⅰ and 压力Ⅰ>0,'第一压力位:'+STR(压力Ⅰ,2),'')+
IFS(支撑Ⅰ=支撑Ⅰ and 支撑Ⅰ>0,' #第一支撑位:'+STR(支撑Ⅰ,2),'')+
IFS(压力Ⅱ=压力Ⅱ and 压力Ⅱ>0,' #第二压力位:'+STR(压力Ⅱ,2),'')+
IFS(支撑Ⅱ=支撑Ⅱ and 支撑Ⅱ>0,' #第二支撑位:'+STR(支撑Ⅱ,2),'')
之四:技术指标解盘
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;
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 ;
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
B3:=REF(CLOSE,A3+1)>CLOSE and REF(RSI1,A3+1)<RSI1 and CROSS(RSI1,RSI2);
C3:=BARSLAST(REF(CROSS(RSI2,RSI1),1));
f4:=REF(CLOSE,C3+1)<CLOSE and REF(RSI1,C3+1)>RSI1 and CROSS(RSI2,RSI1);
TYP := (HIGH + LOW + CLOSE)/3;
货币比:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),14)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),14);
MFI:=100-(100/(1+货币比));
a1:=count(cross(mfi,80),20);
a2:=count(cross(20,mfi),20);
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
PSY:=COUNT(CLOSE>REF(CLOSE,1),12)/12*100;
BIAS := (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
ARN := SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26);
RSV1:="KDJ.K"(5,3,3);
RSV11:="KDJ.D"(5,3,3);
RSV2:="KDJ.K"(19,3,3);
RSV22:="KDJ.D"(19,3,3);
RSV3:="KDJ.K"(25,3,3);
RSV33:="KDJ.D"(25,3,3);
obv:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),34);
DIFF:="MACD.DIFF"(5,26,9);
DEA:="MACD.DEA"(5,26,9);
MACD:="MACD.MACD"(5,26,9);
W1:=C<=MA(C,5) AND C<=MA(C,10) ;
W2:=O>MA(C,5) AND O>MA(C,10) ;
W3:=MA(V,5)<=MA(V,10);
W4:=diff<=dea;
'【技术解盘】'+
IFS(W1 AND W2,'断头铡刀:向下的趋势,不是洗盘就是将下跌,卖出;','')+
IFS(W1,'5日均线死叉10均线,短线空头势力强大,卖出;','')+
IFS(W3,'5日均量死叉10日均量,做多能量枯竭,卖出;','')+
IFS(W4,'DIFF下穿DEA,空头形成,卖出;','')+
IFS(W1 AND W2 AND W3 AND W4 ,'三死叉见顶,卖出;','')+
IFS(W1 AND W3 AND W4 ,'多方溃败,空方强大,向下彻底形成,卖出;','')+
IFS(ARN>1.5,'注意价格将进入回挡下跌,可准备卖出','')+
IFS(ARN<0.4,'股价已达到低点,可考虑介入','')+
IFS(obv>0,'OBV多头信号','')+
IFS(obv<0,'OBV空头信号','')+
IFS(CROSS(BIAS,10),'BIAS超买,短线即将见顶,应及时卖出;','')+
IFS(CROSS(-10,BIAS),'BIAS超卖,短线即将见底,应伺机买进;','')+
IFS(WR>-20,'W&R超买,短线即将见顶,应及时卖出;','')+
IFS(WR<-80,'W&R超卖,短线即将见底,应伺机买进;','')+
IFS(PSY<20,'心理压力小,应及时买入;','')+
IFS(PSY>80,'心理压力大,应及时卖出;','')+
ifs(rsi1<15 AND (BARSLAST(rsi1<15)>=1),'RSI相对强弱指标超卖--属买入信号;','')+
ifs(RSI1>85 AND (BARSLAST(RSI1>85)>=1),'RSI相对强弱指标超买--属卖出信号;','')+
ifs((((LLV(LOW,20)=LOW) AND (NOT(LLV(RSI1,20)=RSI1))) OR (COUNT(CLOSE<REF(CLOSE,1),30)>18 AND (COUNT(RSI1>REF(RSI1,1),30)>18))) AND (RSI1<20),'RSI相对强弱指标底背离--股价在低位时属买入信号;','')+
ifs((((HHV(HIGH,20)=HIGH) AND (NOT(HHV(RSI1,20)=RSI1))) OR (COUNT(CLOSE>REF(CLOSE,1),30)>18 AND (COUNT(RSI1<REF(RSI1,1),30)>18))) AND (RSI1>80),'RSI相对强弱指标顶背离--股价在高位时属卖出信号;','')+
ifs(CROSS(RSI1,RSI2) AND (RSI1<50),'RSI相对强弱指标金叉--属买入信号;','')+
ifs(CROSS(RSI2,RSI1) AND (RSI1>50),'RSI相对强弱指标死叉--属卖出信号;','')+
ifs(RSI1<5 ,'RSI相对强弱指标极低位--强烈买入信号;','')+
ifs(RSI1>93,'RSI相对强弱指标极高位--强烈卖出信号;','')+
ifs(R,'RSI二次金叉;','')+
ifs(b3,'RSI底背离;','')+
ifs(f4,'RSI顶背离;','')+
ifs(mfi<20,'mfi指标在20以下处于超卖信号区,不久将要上涨;','')+
ifs(mfi>80,'mfi指标在80以上处于超买信号区,股价将要下跌;','')+
ifs(a1,'mfi指标在两月前曾发出超买信号,表明股价将会下跌;','')+
ifs(a2,'mfi指标在两月前曾发出超卖信号,表明股价将会上涨;','')+
IFS(RSV1>80 AND CROSS(RSV11,RSV1)=0,'KD指标提示该股日线已经处于超买状态,如果日KD指标死叉应及时卖出。','')+
IFS(RSV1<20 AND CROSS(RSV1,RSV11)=0,'KD指标提示该股日线已经处于超卖状态,如果日KD指标金叉应及时买入。','')+
IFS(CROSS(RSV1,RSV11) AND LLV(RSV1,3)<20,'KD低位日金叉,建议买入。','')+
IFS(CROSS(RSV11,RSV1) AND HHV(RSV1,3)>80,'KD高位日死叉,建议卖出。','')+
IFS(RSV3>85 AND CROSS(RSV33,RSV3)=0,'KD指标提示该股月线已经处于超买状态,如果月KD指标死叉应及时卖出。','')+
IFS(RSV3<10 AND CROSS(RSV3,RSV33)=0,'KD指标提示该股月线已经处于超卖状态,如果月KD指标金叉应及时买入。','')+
IFS(CROSS(RSV3,RSV33) AND LLV(RSV3,3)<10,'KD低位日金叉,建议买入。','')+
IFS(CROSS(RSV33,RSV3) AND HHV(RSV3,3)>85,'KD高位日死叉,建议卖出。','')+
IFS(CROSS(RSV2,RSV22),'KD指标周金叉,建议关注。','')+
IFS(CROSS(RSV22,RSV2),'KD指标周死叉,考虑卖出。','')+
IFS(CROSS(RSV3,RSV33),'KD指标月金叉,建议关注。','')+
IFS(CROSS(RSV33,RSV3),'KD指标月死叉,考虑卖出。','')
之五:均线多空解盘
半年线:=EMA(C,120);
年线:=EMA(C,240);
多空1:=MA((V/(H-L)),4);
多空2:=ABS(C-O);
多空3:=V/(H-L);
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;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MTM := CLOSE-REF(CLOSE,6);
MTMMA := MA(MTM,6);
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;
PSY:=COUNT(CLOSE>REF(CLOSE,1),12)/12*100;
布林1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
布林2:=布林1+3*STD(布林1,10);
布林3:=布林1-3*STD(布林1,10);
布林4:=(布林2-布林3)/布林2<0.03;
布林5:=(布林2-布林3)/布林2>0.18;
布林6:=(MA(C,60)-MA(C,5))/MA(C,60)>0.15;
布林7:=(MA(C,5)-MA(C,60))/MA(C,5)>0.15;
'【均线量能解盘】'+
IFS(C>=半年线,'股价在半年线之上;','')+
IFS(C>=年线,'股价在年线之上;','')+
IFS(C<半年线,'股价在半年线之下;','')+
IFS(C<年线,'股价在年线之下;','')+
IFS(半年线>=REF(半年线,1),'半年线趋势向上;','')+
IFS(年线>=REF(年线,1),'年线趋势向上;','')+
IFS(半年线<REF(半年线,1),'半年线趋势向下;','')+
IFS(年线<REF(年线,1),'年线趋势向下;','')+
IFS(多空3<多空1 AND 多空2<MA(多空2,4),'资金无入场意愿,萎缩中;','')+
IFS(多空3<多空1 AND 多空2>MA(多空2,4),'场内资金有运作行为;','')+
IFS(多空3>多空1 AND 多空2<MA(多空2,4),'多空双方激烈争夺中;','')+
IFS(多空3>多空1 AND 多空2>MA(多空2,4),'场外资金介入(或出局)意愿强烈;','')+
IFS(CROSS(PDI,MDI),'PDI线从下向上突破MDI线,显示有新多头进场,为买进信号;','')+
IFS(CROSS(MDI,PDI),'PDI线从上向下跌破MDI线,显示有新空头进场,为卖出信号;','')+
IFS(ADX>REF(ADX,1),'ADX值持续高于前一日,行情将维持原趋势;','')+
IFS(ADX<REF(ADX,1) AND ADX<20,'ADX值递减,降到20以下,且横向行进时,市场气氛为盘整;','')+
IFS(ADX<REF(ADX,1) AND REF(ADX,1)<REF(ADX,2) and REF(ADX,2)>REF(ADX,3) AND REF(ADX,3)>REF(ADX,4),'ADX值从上升倾向转为下降时,表明行情即将反转;','')+
IFS(cci<-180,'CCI指标底位,买入机会;','')+
IFS(cci>180,'CCI指标高位,卖出机会;','')+
IFS((V/CAPITAl)>0.075,'换手过大,小心主力出逃,短期头部;','')+
IFS(WR>-20,'W&R超买,短线即将见顶,应及时卖出;','')+
IFS(WR<-80,'W&R超卖,短线即将见底,应伺机买进;','')+
IFS(CROSS(MTM,MTMMA) and MTMMA<-0.8,'MTM从下向上突破MTMMA,买入信号;','')+
IFS(CROSS(MTMMA,MTM) and MTMMA>0.8,'MTM从上向下跌破MTMMA,卖出信号;','')+
IFS(RSI1>85,'6日RSI超买,防止回挡;','')+
IFS(RSI1>80,'6日RSI向上突破85,超买,考虑卖出;','')+
IFS(RSI1<15,'6日RSI超卖,随时有可能反弹;','')+
IFS(RSI1<15,'6日RSI向下跌破15,超卖,考虑买入;','')+
IFS(CROSS(RSI1,15),'6日RSI向上突破15,买进信号;','')+
IFS(CROSS(RSI1,85),'6日RSI向下跌破85,卖出信号;','')+
IFS(布林4,'多空布林收敛中,有变盘的可能,上下自己分析;','')+
IFS(布林6 AND 布林5 AND C>o ,'布林上下乖离太大,有反弹的可能;','')+
IFS(布林7 AND 布林5 AND C<o ,'布林上下乖离太大,有回落的可能;','')
之六:异动测度解盘
Var1:=AMOUNT/VOL/100;
Var2:=MAX(ABS(HIGH-Var1),ABS(Var1-LOW));
Var3:=ABS((OPEN+CLOSE)/2-Var1);
MV:=(Var2+Var3)/Var1*100;
'『异动测度』'+
IFS(MV>=0 AND MV<3,'常态区,股价波动不大,庄家没有活动.','')+
IFS(MV>=3 and MV<5,'非常态区,股价波动幅度较大,庄家开始活动,一般是拉升期前的准备阶段.','')+
IFS(MV>=5 AND MV<7.5,'超常态区,股价波动异常,一般是庄家拉升股价的开始或开始出货的信号.','')+
IFS(MV>=7.5,'极度区间,股价波动异常,达到极度区间的股票不多,这样的股票一般是强庄股.','')
本文来自好股吧股票论坛 http://bbs.haogu8.com 原文链接: http://bbs.i918.cn/viewthread.php?tid=881213
更多阅读
诊断卡代码大全 电脑诊断卡怎么用
在修理电脑的时候,我们都会用诊断卡来判断问题出在哪里,今天我就分享一下我碰见的几种代码的意思。代码:FF、00、C0、D0、CF、F1或什么也没有表示CPU没通过C1、C6、C3、D3、D4、D6、C1、C6、C3、D3、D4、D6、D8、B0、A7、E1表示内存
大智慧指标——殷保华工作线主图 殷保华工作线图解
A11:=REF(C,10)=HHV(C,2*10+1);B1:=FILTER(A11,10);C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);A22:=REF(C,10)=LLV(C,2*10+1);
大智慧公式教程 大智慧指标源码
大智慧公式教程公式入门我们大多数的用户并不是完全了解“公式编辑器”的意义,简单地,我们可以从以下几个角度进行理解:一、指标分析:“公式编辑器”好比是一个工作母床,通过这个工作母床可以制造出所需要的各式各样的零件,同样,在指标分析
自制简易加湿器 自制饮料瓶空气加湿器
《新华书店精品》大全这段时间晚上睡觉总是会喉咙干,早上起来都感觉人要死掉了,所以去看了看加湿器,好一点的都要200-300 虽然不算很多,但是我认为这种原理简单的小电器花100就差不多了,所以就在网上看了看有没有DIY的 没想到还真的有,看
转载 张一山讲股视频 张一山股票视频教程
股战视频资料原文地址:张一山讲股视频作者:乐乐【股市8大经典指标】