1. 通達信超贊的主圖指標公式是怎樣的
搜一下:通達信超贊的主圖指標公式是怎樣的
2. 通達信做一個主圖顯示指標:顯示總股本、停盤天數、所屬行業、
所屬抄板塊:=STRCAT('所屬板襲塊:',STRCAT(STRCAT(STRCAT('',HYBLOCK),STRCAT('',DYBLOCK)),STRCAT('',GNBLOCK)));
總股本:=STRCAT(STRCAT('總股本: ',CON2STR(TOTALCAPITAL/1000000,3)),'億股');
DRAWTEXT_FIX(ISLASTBAR,0.002,0.05,0,所屬板塊),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.002,0.10,0,總股本),COLORCYAN;
{停牌天數>8}
停牌天數:=DATETODAY(DATE) - DATETODAY(REF(DATE,1));
DRAWTEXT(停牌天數>8,L*0.98,'停'),COLORRED;
DRAWNUMBER(停牌天數>8,L*0.97,停牌天數),COLORRED;
直接復制進去新建主圖就可以用了,更多內容也可以網路搜索 明陽程序化 學習~
3. 請幫我找一種通達信的K線解盤 源碼是可以加在任何其他主圖指標後面聯合使用的
K線解盤 加入主圖 或單獨使用
AAA:=CONST(HHV(H*0.5,90));
A74:=MA(CLOSE,20);
A75:=(CLOSE > MA(CLOSE,5));
A76:=(MA(CLOSE,5) > MA(CLOSE,10));
A77:=(CLOSE > MA(CLOSE,10));
A78:=(MA(CLOSE,5) > MA(CLOSE,20));
A79:=(CLOSE > MA(CLOSE,20));
A710:=REF(A74,1);
A711:=(A74 > A710);
AVX:=(((((IF(A75,10,(0 - 10)) + IF(A76,10,(0 - 10))) + IF(A77,10,(0 - 10)))
+ IF(A78,10,(0 - 10))) + IF(A79,10,(0 - 10))) + IF(A711,10,(0 - 10)));
DSLX:=(CLOSE / INDEXC);
DSLX1:=MA(DSLX,5);
DSLX2:=MA(DSLX,10);
V1:=MA(VOL,5);
V2:=MA(VOL,10);
T1:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));
T2:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));
T3:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 > V2)) AND (DSLX < DSLX1)),1,0));
T4:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 <= V2)) AND (DSLX < DSLX1)),1,0));
T5:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));
T6:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));
T7:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));
T8:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));
T9:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));
T10:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));
T11:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));
T12:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));
T13:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));
T14:=CONST(IF( C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));
T15:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));
T16:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));
T17:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));
T18:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));
T19:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 < V2)),1,0));
T20:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 >= V2)),1,0));
T21:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 < V2)),1,0));
T22:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)),1,0));
T23:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)),1,0));
T24:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)),1,0));
T25:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)),1,0));
DRAWTEXT(T1=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'量能理想,明顯走強,中線參與,倉位在2/3左右。'),COLORFF00FF ;
DRAWTEXT(T2=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'走勢趨強,還顯不足,短線進場,倉位在1/2左右。'),COLORFFFFFF ;
DRAWTEXT(T3=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'量價良好,沒有明顯走強,短線進場,倉位1/2左右。'),COLORFFFFFF ;
DRAWTEXT(T4=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'形態尚可,量能不足,未完全走強,短線參與,倉位1/3左右。'),COLORFFFFFF ;
DRAWTEXT(T5=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'形態變壞,重倉者減持大半,清倉者觀望。'),COLORFFFFFF ;
DRAWTEXT(T6=1 AND CURRBARSCOUNT=70,AAA*0.98
,'隨大盤一起下跌,明顯縮量走勢,考慮到風險,減持或清倉。'),COLORFFFFFF ;
DRAWTEXT(T7=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'該股放量下跌,走勢明顯偏弱,離場觀望。'),COLORFFFFFF ;
DRAWTEXT(T8=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'該股縮量下跌,走勢偏弱,離場觀望。'),COLORFF00FF ;
DRAWTEXT(T9=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'該股形態良好,強勢明顯,量能充足,可以繼續持有。'),COLORFFFFFF ;
DRAWTEXT(T10=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'上行趨勢不變,強勢依然,量能開始轉弱,注意風險。'),COLORFFFFFF ;
DRAWTEXT(T11=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'該股仍然具備上漲潛力,但股性偏弱,可考慮減倉。'),COLORFFFFFF ;
DRAWTEXT(T12=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'該股走勢趨弱,量能不足,減持大部分籌碼。'),COLORFFFFFF ;
DRAWTEXT(T13=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'該股形態不佳,注意成交量的變化,目前不適合參與。'),COLORFFFFFF ;
DRAWTEXT(T14=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'趨勢不明,股價偏弱,注意量能變化,目前不宜參與。'),COLORFFFFFF ;
DRAWTEXT(T15=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'有走強跡象,但量能不足,趨勢不明,不適合操作。'),COLORFFFFFF ;
DRAWTEXT(T16=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'該股走勢太弱,沒有參與價值。'),COLORFF00FF ;
DRAWTEXT(T17=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'大盤理想,有明顯走強跡象,中線參與,倉位在2/3左右。'),COLORFFFFFF ;
DRAWTEXT(T18=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'如前期經過一輪下跌,最佳買點,前期有過一段漲幅需謹慎。'),COLORFFFFFF ;
DRAWTEXT(T19=1 AND CURRBARSCOUNT=120,AAA-(AAA*0.03)
,'考慮短線進場,倉位在1/2左右,一旦量能放大,加倉買入。'),COLORFFFFFF ;
DRAWTEXT(T20=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'大盤形態走壞,重倉者可以減去大部分倉位。'),COLORFF0000 ;
DRAWTEXT(T21=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'大盤縮量調整,注意風險,短線清倉觀望。'),COLORFF0000 ;
DRAWTEXT(T22=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'大盤走勢良好,量能理想,可以繼續持有強勢股。'),COLORFF0000 ;
DRAWTEXT(T23=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'大盤形態良好,但量能稍顯不足,隨時准備減倉。'),COLORFF0000 ;
DRAWTEXT(T24=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'大盤趨勢不明,注意成交量變化,目前不適宜進場。'),COLORFF0000 ;
DRAWTEXT(T25=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03)
,'大盤趨勢向下,量能萎縮,不適合進場。'),COLORFF0000 ;
4. 通達信主圖指標
N:=4;
M:=30;
X:=BARSLAST(V/REF(V,1)>N);
AA:IF(X>=0 AND X<=M,REF(C,X),DRAWNULL)DOTLINE,COLORYELLOW;
首先你說的倍量我不清楚是一個什麼樣的條件
上面公式中倍量是今日成交量比上版昨日權成交量的幾倍,n是4就是4倍,(4是隨便寫的沒有任何意義)m是劃線長度,股票走勢圖中橫坐標軸是時間,想畫虛線無法用厘米為單位只能用時間為單位,m是最長的時間范圍,30就是30根k線,(這個數值也是隨便設置的沒有任何意義)
n參數和m參數需要使用這自己決定設置多少請勿使用默認值.
如果代碼有錯誤,請復制追問追答代碼,是一樣的.
5. 求 通達信 主圖 行業漲幅 排名指標
可以編寫個股在所屬行業里的漲幅排名,沒有問題。
效果如下圖
6. 通達信 主圖指標
可以編寫這樣的主圖指標。但不知道這k線顯示粉色,是需要正根k線都是粉色啊,還是只有k線實體是粉色就可以啊。
下圖是k線實體是粉色的。
7. 通達信最准確的主圖指標
如果你想評測最准確的指標首先你要說明清楚比准確的標准,再有就是把你想評測的指標都設計好買賣信號,等的這樣才能評測評測後你就能對比出那個主圖指標最准確了.
8. 通達信 主圖顯示板塊的指標
如果要想在主圖上顯示板塊(或行業)提示字樣,請按下面公式樣本在你的常用主圖公式的後面照樣編寫即可,因板塊行業較多,只舉例了幾個板塊(房地產、有色金屬、煤炭行業、金融行業、鋼鐵行業)。
下面公式是在均價線主圖後補充的板塊(或行業)提示公式。
{均價線主圖公式}
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);
MA5:MA(CLOSE,120);
{以下板塊或行業提示}
A1:=IF(INBLOCK('房地產'),1,0);
A2:=IF(INBLOCK('有色金屬'),1,0);
A3:=IF(INBLOCK('煤炭行業'),1,0);
A4:=IF(INBLOCK('金融行業'),1,0);
A5:=IF(INBLOCK('鋼鐵行業'),1,0);
D:=CURRBARSCOUNT;
KD1:DRAWTEXT(A1=1 AND D=3,H*1.1,'房地產')COLORYELLOW;
KD2:DRAWTEXT(A2=1 AND D=3,H*1.1,'有色金屬')COLORYELLOW;
KD3:DRAWTEXT(A3=1 AND D=3,H*1.1,'煤炭行業')COLORYELLOW;
KD4:DRAWTEXT(A4=1 AND D=3,H*1.1,'金融行業')COLORYELLOW;
KD5:DRAWTEXT(A5=1 AND D=3,H*1.1,'鋼鐵行業')COLORYELLOW;
{可按上面公式格式添加其它的板塊或行業}
9. 請高手做個通達信的主圖指標!
N:=10;
M1:=5;
M2:=20;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
A:=CROSS(K,D);
B:=CROSS(D,K);
DRAWTEXT(A,H,'----------------'),COLOR0000FF;
DRAWTEXT(B,L,'----------------'),COLOR00FF00;
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;