㈠ 求老師幫我設一個通達信預警公式 源碼如下: MA3:=MA(C,3); YTSL:=(3*C+L+O+H)/6; 辰星線:(20*YT
先把做好的指標送給樓主吧。
源碼:
中軌:=MA(C,26);
下極限:=(中軌-2*STD(C,20));
KK:=C-下極限;
ABS(KK)<=0.1
順便提醒一下樓主,這個指標我也在用,但我做成的是提示買點,此指標是一個很經典的短線指標,可以配合其他指標,抓住波段。但是准確性需要較多指標產生共振效果。如果樓主還有什麼需要,可以聯系我。還有,提醒一下樓主,驗證一下你這個提示的價值。
剛給你的源碼應該准確,樓主試試便知。
㈡ 通達信根據指標源碼怎樣編選股公式
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
ZB:=EMA(EMA(VAR3,5),5)*3;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
准備:=VAR8=10 AND FILTER(VAR8=10,5);
一定要買:=VARA=20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
莊家異動:=VAR11 AND COUNT(VAR11,30)=1;
錢包:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
XG:(准備 OR 一定要買 OR 莊家異動) AND 錢包;
=======================
{單獨出現}
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
ZB:=EMA(EMA(VAR3,5),5)*3;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
准備:=VAR8=10 AND FILTER(VAR8=10,5);
一定要買:=VARA=20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
莊家異動:=VAR11 AND COUNT(VAR11,30)=1;
錢包:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
XG:准備 OR 一定要買 OR 莊家異動 OR 錢包;
㈢ 航海家股票公式指標
航海家破解源碼
水手突破
上趨勢: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;
馬線:MA(牛線,6),COLORGREEN;
五日線:MA(CLOSE,5),POINTDOT,COLORLIBLUE;
水平面:MA(CLOSE,60),POINTDOT,COLORYELLOW;
航海家之海洋尋底
參數:
P1 2 20 預設:5
P2 2 20 預設:4
源碼:
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;
航海家主力追蹤源碼指標公式 (非大盤)
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;
捕撈季節指標源碼:
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,2,0),COLORRED;
STICKLINE(XYS0<0,XYS0,0,2,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 ,2 ,0 ),COLORGREEN;
STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;
STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;
STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;
XYS1:MA(XYS0,2),COLORYELLOW;
XYS2:MA(XYS0,1),COLORMAGENTA;
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;
海洋捕撈修改版 金叉出現紅箭頭死叉出現綠箭頭
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,1,0),COLORRED;
STICKLINE(XYS0<0,XYS0,0,1,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 ,1 ,0 ),COLORGREEN;
STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,1 ,0 ),COLORYELLOW;
STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,1 ,0 ),COLORCYAN;
STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,1 ,0 ),COLORBLUE;
XYS1:MA(XYS0,2);
XYS2:MA(XYS0,1);
DRAWICON(CROSS(XYS1,XYS2),XYS1,2);
DRAWICON(CROSS(XYS2,XYS1),XYS2,1);
海洋追漲
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)AND XYSHSL>1,0,40,2,0),COLORYELLOW;
STICKLINE(XYSQS2>=REF(XYSQS2,1)AND XYSHSL>1 AND C>HHJSJDB AND
HHJSJDB>HHJSJDC,41,88,2,0),COLORRED;
IF(XYSQS2>=REF(XYSQS2,1) AND XYSHSL>1,XYSQS1*178,0);
說明:
捕撈季節(買賣簡單准確把握)捕撈季節指標:短線波段操作的買賣指標,穩定性強、成功率高、操作簡單;該指標包含兩個部分:一是彩柱,表示這個個股的上漲能量,一般處於綠色彩柱區域是量能積累區域;二是買賣點的確認,這一點是最重要的,捕撈季節指標除彩柱外還包括兩條線分別是粉色和黃色線,當粉色線上穿黃色線時為捕撈金叉買進信號,當粉色線下穿黃色線時為捕撈死叉賣出信號。
海洋尋底指標:這是一個在市場出現群體超跌中用於選股和買股的指標,成功率達到95%以上,在08年群體超跌的市場中無堅不摧,屢次捕捉到超跌的有爆發力的牛股。
該指標包含兩個部分:一是彩柱,表示的是其底部信號的結實度,一種顏色彩柱為小底,兩種顏色彩柱為中底,三種顏色彩柱為大底,四種顏色彩柱為絕對底。二是紅線和綠線,紅線表示的是牛線,綠線表示的是馬線。
運用原理:當出現底部信號後,紅線上穿綠線形成相交就是最好的買點。
水手突破指標:這是一個趨勢型指標,在大盤分析處於紅色的追漲操作的情況下用該指標選股能選到當時市場中最好的一類股票。
運用原理:當股價進入黃色區域(黃色上方)後,表示該股已經進入黃色的強勢區域,可以大膽追漲,也是最好的買點,而當股價進入粉色的區域後股價將加速上揚。
主力追蹤線:這是一個資金型指標,用於捕捉個股的主力進出情況,緊扣主力操作動向捕捉庄股,在股票市場中股價下跌不一定意味著主力出貨,股價上漲也不一定是主力進場,有的時候股價下跌是主力洗盤,有的時候上漲是主力拉高出貨,而通過主力追蹤線就能更清楚的了解主力的真實意圖。
運用原理:主力追蹤線向下表示個股主力離場,主力追蹤線向上表示主力吸籌。
㈣ 請哪位高手幫將上面的源碼中「發現黑馬」作為選股公式寫出來!謝謝!
可以編寫公式將源碼中發現黑馬作為選股條件的選股公式選股提示位置效果如下圖
㈤ 什麼叫源碼公式
你所說的源碼公式應該指的是在股軟中的指標語言。股軟提供了自己的一套語言,讓使用者可以根據自己的總結或者需要實現在股軟上要達到的效果,目前源碼公式主要用於實現下述功能:1.屏幕劃線。在研究k線時,畫圖具有很重要的作用。2.選股預警。能及時發現你想要的股票
㈥ 高分:公式修改為大智慧,以下是其源碼
AAA:=(MA(CLOSE,13)+MA(CLOSE,17))/2;
CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
BBB:=AAA+2.1*CCC;
DDD:=AAA+0.72*CCC;
ZZZ:=IF(CCC>1.88 ,MA(DDD,3),DDD);
止贏:ZZZ*1.1,COLORFFCC18;
了結:ZZZ*1.05,COLORFF18FF;
回檔:ZZZ*0.95,COLOR18FF18;
反彈:ZZZ*0.9,COLOR18CCFF;
平衡:ZZZ,COLORFFFFFF;
DRAWTEXT(BARSTATUS=2,止贏,'止贏'),COLORFFCC18;
DRAWTEXT(BARSTATUS=2,了結,'了結'),COLORFF18FF;
DRAWTEXT(BARSTATUS=2,回檔,'回檔'),COLOR18FF18;
DRAWTEXT(BARSTATUS=2,反彈,'反彈'),COLOR18CCFF;
DRAWTEXT(BARSTATUS=2,平衡,'平衡'),COLORFFFFFF;
RSV:=(C-LLV(L,25))/(HHV(HIGH,25)-LLV(L,25))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VAR6:=(2*C+H+L)/4;{可將3該為4,信號少點}
VAR7:=EMA(EMA(EMA(VAR6,4),4),4);{可將3該為4,信號少點}
VAR8:=(VAR7-REF(VAR7,1))/REF(VAR7,1)*100;
VAR9:=MA(VAR8,3)+0.03;
VAR10:=MA(VAR8,1);
KB:=EMA(C,3)-EMA(C,18);
DB:=EMA(KB,3);
AA:=BARSCOUNT(C);
AH:=HHV(H,120);
AL:=LLV(L,120);
A0:=(AH-AL)/30;
VAR2S:=(2*CLOSE+HIGH+LOW)/4;
VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4S:=LLV(LOW,5);
VAR5S:=HHV(HIGH,4);
散戶:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;
莊家:=EMA(0.667*REF(散戶,1)+0.333*散戶,2)*VAR3S;
DRAWTEXT((AA+0)/34=FLOOR((AA+0)/34),L*1,'時間窗'),COLORFFFFFF;
DRAWTEXT(CROSS(散戶,莊家) AND 散戶<30,L*1,'吸'),COLORFF00FF;
DRAWICON(CROSS(VAR9,VAR10) AND J>65,H*1,15),COLORGREEN;
DRAWTEXT(CROSS(VAR9,VAR10) AND J>65,H*1,' 賣'),COLORYELLOW;
DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L*1,'地量買點'),COLOR33FFFF;
----------------------------------------------------------
㈦ 通達信 mass 梅斯線 公式指標源碼
N1:=9;
N2:=25;
M:=6;
MASS:SUM(MA(HIGH-LOW,N1)/MA(MA(HIGH-LOW,N1),N1),N2);
MAMASS:MA(MASS,M);