以下是破解的航海家公式,网上有,本人收集的,全是飞狐版的,直接引入,我上传的DMI选股中引入了一些,感觉不错的公式,大家可以看看,好不好可以参考。

 捕捞季节
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.1 and CYS13>5 ,2 ,0 ,8 ,0 ),COLORGREEN;
 STICKLINE(xyshsl>3.8 and CYS13>5 ,1.5 ,0 ,8 ,0 ),COLORYELLOW;
 STICKLINE(xyshsl>2.1 and CYS13>5 ,1 ,0 ,8 ,0 ),COLORCYAN;
 STICKLINE(xyshsl>1.8 and CYS13>5 ,0.5 ,0 ,8 ,0 ),COLORBLUE;
 xys1:MA(xys0,2);
 xys2:MA(xys0,1);
选股公式
VAR1:=(2*CLOSE+HIGH+LOW)/4;
 VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
 J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
 D:=MA(J,2);
 K:=MA(J,1);
 xg:cross(K,D);

飞鱼出水
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));

海洋寻底
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);
 K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK2;
 D: EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN,LINETHICK2;
海洋寻底金叉选股
VAR1:=LLV(LOW,P1);
 VAR2:=HHV(HIGH,P1);
 K:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2);
 D:=EMA(0.667*REF(K,1)+0.333*K,2);
 cross(k,d);

航海家智能辅助线主图
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;
马线:MA(牛线,6),COLORGREEN;
五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;
水平面:MA(CLOSE,60),POINTDOT,COLORYELLOW;

流动资金
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< VAR2,VAR1,VAR2,8,0),COLORGREEN;
 //起跑线: 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>次下趋势 AND C<次上趋势,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;
选股
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;
 xg:主力>ref(主力,1);

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。