经传软件指标公式代码.docx
《经传软件指标公式代码.docx》由会员分享,可在线阅读,更多相关《经传软件指标公式代码.docx(7页珍藏版)》请在冰豆网上搜索。
经传软件指标公式代码
智能辅助线(主图)
指标说明:
黄色线上穿红色线为下降趋势转入上升趋势中..另外这两根智能辅助线也可为支撑线.破线.后势看跌!
HHJSJDA:
=(3*CLOSE+OPEN+LOW+HIGH)/6;
HHJSJDB:
(20*HHJsjda+19*REF(HHJsjda,1)+18*REF(HHJsjda,2)+17*REF(HHJsjda,3)+16*REF(HHJsjda,4)+15*REF(HHJsjda,5)+14*REF(HHJsjda,6)
+13*REF(HHJsjda,7)+12*REF(HHJsjda,8)+11*REF(HHJsjda,9)+10*REF(HHJsjda,10)+9*REF(HHJsjda,11)+8*REF(HHJsjda,12)
+7*REF(HHJsjda,13)+6*REF(HHJsjda,14)+5*REF(HHJsjda,15)+4*REF(HHJsjda,16)+3*REF(HHJsjda,17)+2*REF(HHJsjda,18)+
REF(HHJsjda,20))/210,coloryellow;
HHJSJDC:
MA(HHJSJDB,5),colorred;
捕捞季节(副图)
指标说明:
据说是航海家旗舰版里一个非常有用的指标.低位金叉买进,高位死叉卖出,绿色转红色为弱势转强势.强势状态再发出金叉信号可理解为空中加油(也有可能出现震荡趋势,请配合其他指标一起用.初学者应该只选择低位金叉进场)
wy1001:
=(2*Close+High+Low)/4;
wy1002:
=EMA(wy1001,4);
wy1003:
=EMA(wy1002,4);
wy1004:
=EMA(wy1003,4);
xys0:
(wy1004-REF(wy1004,1))/REF(wy1004,1)*100;
STICKLINE(xys0>=0,xys0,0,8,0),colorred;
STICKLINE(xys0<0,xys0,0,8,0),colorgreen;
pjgj:
=amount/vol/100;
ssrydjx:
=MA(pjgj,13);
ssrcjl:
=ema(vol,13);
ssrcje:
=ema(amount,13);
ssrcbjx:
=ssrcje/ssrcjl/100;
cys13:
=(close-ssrcbjx)/ssrcbjx*100;
xyshsl:
=ema(vol/CAPITAL*100,13);
zzx:
0,colorwhite;
STICKLINE(xyshsl>6.1andCYS13>5,2,0,8,0),COLORGREEN;
STICKLINE(xyshsl>3.8andCYS13>5,1.5,0,8,0),COLORYELLOW;
STICKLINE(xyshsl>2.1andCYS13>5,1,0,8,0),COLORCYAN;
STICKLINE(xyshsl>1.8andCYS13>5,0.5,0,8,0),COLORBLUE;
xys1:
MA(xys0,2);
xys2:
MA(xys0,1);
飞鱼出水(副图)
指标说明:
可理解为多空分界线.红色线向上代表多空力量正在转强.绿色线向上代表空方力量转强.反之,绿色线在上方向下代表多方力量转强,红色线由上向下代表空方力量转强.下方的小方格代表主力吸筹.
VAR1:
=REF(LOW,1);
VAR2:
=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:
=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:
=LLV(LOW,38);
VAR5:
=HHV(VAR3,38);
VAR6:
=IF(LLV(LOW,90),1,0);
VAR7:
=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
底部吸筹:
STICKLINE(VAR7,0,VAR7,6,1),COLORRED;
V1:
=LLV(H,240);
飞鱼:
100*(C-V1)/V1,COLORRED,LINETHICK1;
V2:
=HHV(H,240);
海洋:
100*(V2-C)/C,COLORGREEN,LINETHICK1;
V3:
=SUM(VOL,5)/CAPITAL;
CYF5:
=100-(100/(1+V3));
海洋寻底(副图)
指标说明:
一种颜色为短底,两种颜色为中底,三种颜色为大底,四种颜色为绝对底..另外还有两根是牛马线.当各种底部信号出现之后配合牛马双线,牛线上穿马线时也可为买入信号.反之,牛线下穿马线为卖出信号.用法跟捕捞季节一样
P1:
=6;
P2:
=5;
SSRCJL:
=EMA(VOL,13);
SSRCJE:
=EMA(AMOUNT,13);
SSRCBJX:
=((SSRCJE/SSRCJL)/100);
SSRGL:
=(((CLOSE-SSRCBJX)/SSRCBJX)*100);
绝对底:
=SSRGL<(0-18);
大底:
=SSRGL<(0-14);
中底:
=SSRGL<(0-10);
短底:
=SSRGL<(0-6);
STICKLINE((SSRGL<(0-18)),60,80,3,0),COLORRED;
STICKLINE((SSRGL<(0-14)),40,60,3,0),COLORBLUE;
STICKLINE((SSRGL<(0-10)),20,40,3,0),COLORYELLOW;
STICKLINE((SSRGL<(0-6)),0,20,3,0),COLORWHITE;
高卖:
80,POINTDOT,COLORRED;
低吸:
20,POINTDOT,COLORGREEN;
VAR1:
=LLV(LOW,P1);
VAR2:
=HHV(HIGH,P1);
牛线:
EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK1;
马线:
EMA(0.667*REF(牛线,1)+0.333*牛线,2),COLORGREEN,LINETHICK1;
海洋追涨(副图)
指标说明:
没有.因为到目前为止我都还没了解到底是怎么个追涨法..有请高手来说明一下,呵呵.
HHJSJDA:
=(3*CLOSE+OPEN+LOW+HIGH)/6;
HHJSJDB:
=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)
+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)
+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+
REF(HHJSJDA,20))/210;
HHJSJDC:
=MA(HHJSJDB,5);
QQ1:
=MA(MA(CLOSE,3),3);
QQ2:
=MA(MA(CLOSE,15),9);
XYSQS1:
=(QQ1-REF(QQ1,1))/REF(QQ1,1)*100;
XYSQS2:
=(QQ2-REF(QQ2,1))/REF(QQ2,1)*100;
XYSHSL:
=EMA(VOL/CAPITAL*100,13);
STICKLINE(XYSQS2>=REF(XYSQS2,1)ANDXYSHSL>1,0,40,2,0),COLORRED;
STICKLINE(XYSQS2>=REF(XYSQS2,1)ANDXYSHSL>1ANDC>HHJSJDBANDHHJSJDB>HHJSJDC,41,88,2,0),COLORLIRED;
IF(XYSQS2>=REF(XYSQS2,1)ANDXYSHSL>1,XYSQS1*178,0);
流动资金(副图)
指标说明:
每天个股与大盘的资金流进或者流出的说明.盘后可看.
VAR1:
=SMA(AMOUNT,10,1)/10000;
VAR2:
=REF(VAR1,1);
VAR3:
=SMA(AMOUNT,10,1)/10000;
资金运转:
STICKLINE(VAR1>VAR2,VAR1,VAR2,8,0),COLORRED;
资金流失:
STICKLINE(VAR1//起跑线:
MA(VAR1,5);
//警戒线:
MA(VAR1,10),COLORYELLOW;
//分界线:
MA(VAR1,30),COLORCYAN;
//DRAWTEXT(CROSS(警戒线,VAR3),警戒线*1.2,'警'),COLORWHITE;
//DRAWTEXT(CROSS(分界线,VAR3),分界线*1.2,'走');
水手突破(副图)(飞狐软件里也可做主图用)
指标说明:
选股票时可选次上趋势跟上趋势的股票来做的话就比较保险.
上趋势:
MA(LOW,20)*1.2,color0080ff,linethick2;
次上趋势:
MA(LOW,20)*1.1,COLORYELLOW;
次下趋势:
MA(HIGH,20)*0.9,COLORWHITE;
下趋势:
MA(HIGH,20)*0.8,COLORGREEN,linethick2;
ZD:
=(C-REF(C,1))/REF(C,1)*100;
HDZF:
=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));
趋势强度:
=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势ANDC<次上趋势,2,IF(C<下趋势,0,1)));
STICKLINE(趋势强度=0,H,L,6,1),COLORBLUE;
STICKLINE(趋势强度=1,H,L,6,1),COLORGREEN;
STICKLINE(趋势强度=2,H,L,6,1),COLORGRAY;
STICKLINE(趋势强度=3,H,L,6,1),COLORYELLOW;
STICKLINE(趋势强度=4,H,L,6,1),COLORMAGENTA;
STICKLINE(趋势强度=0,C,O,5,0),COLORBLUE;
STICKLINE(趋势强度=1,C,O,5,0),COLORGREEN;
STICKLINE(趋势强度=2,C,O,5,0),COLORGRAY;
STICKLINE(趋势强度=3,C,O,5,0),COLORYELLOW;
STICKLINE(趋势强度=4,C,O,5,0),COLORMAGENTA;
主力追踪(副图)
指标说明:
主力资金的进出.一眼便看明白..
MID:
=(3*CLOSE+LOW+OPEN+HIGH)/6;
主力:
(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
分时买卖(分时图里面的指标)
指标说明:
没用过这个指标,既然是T+1的股票,就没必要看这个吧,呵呵.
input:
p1(5,0,300),p2(10,0,300),p3(30,0,300),p4(60,0,300);
MA1:
MA(CLOSE,P1);
MA2:
MA(CLOSE,P2);
MA3:
MA(CLOSE,P3);
MA4:
MA(CLOSE,P4);
wyA001:
=(2*Close+High+Low)/4;
wyA002:
=EMA(wyA001,4);
wyA003:
=EMA(wyA002,4);
wyA004:
=EMA(wyA003,4);
wyA柱:
=(wyA004-REF(wyA004,1))/REF(wyA004,1)*100;
wyA线1:
=MA(wyA柱,2);
wyA线2:
=MA(wyA柱,1);
wy分时1线:
=MA(CLOSE,1);
wy分时21线:
=MA(CLOSE,21);
DRAWICON(WYA线1>0.25ANDWYA线2>0.25 AND CROSS(WYA线1,WYA线2),high*1.0128,9);
DRAWICON(WYA线1<0ANDWYA线2<0 AND CROSS(WYA线1,WYA线2),high*1.0128,9);
DRAWICON(CROSS(wy分时21线,wy分时1线),high*1.0128,9);
//卖出信号
DRAWICON(WYA线1<-0.25ANDWYA线2<-0.25 AND CROSS(WYA线2,WYA线1),LOW,8);
DRAWICON(WYA线1>0ANDWYA线2>0 AND CROSS(WYA线2,WYA线1),LOW,8),coloryellow;
DRAWICON(cross(wy分时1线,wy分时21线),low,8),coloryellow;
//买入信号
动力一号排序(用于热度指数排列)
指标说明:
数值越高代表越多人参与此股票.在飞狐软件里面的股票排列里按F6键,选出动力一号排序的指标位置,点确定.再到动力一号排序一列点右键刷新指标就出来了
HSL:
=VOL/CAPITAL*100;
CYF:
=(100-100/(1+EMA(HSL/3,13)))/2;
均价:
=sum(amount,3)/sum(vol*100,3);
Cys3:
=(c-均价)/均价*100;
动力一号:
CYF*689*CYS3*ma(vol,10)/10000000;