⑴ 分時指標公式
分時指標的意思就是股票的日走勢圖,也就是可以准確反映股票每時每刻價格波動的圖。股票的分時指標包括白色曲線、黃色曲線、紅綠柱線、黃色柱線、委買委賣手數、比數值等等指標,其中最常見的就是白色曲線與黃色曲線,白線與黃線之間的關系+分緊密。
通信達分時指標公式
MA30:=EMA(CLOSE,30);
強弱:EMA(CLOSE ,900);
STICKLINE((MA30>強弱),MA30,強弱,1,0),COL .OR0000FF;
STICKLINE((MA30<強弱),MA30,強弱,1,0),COL .OR00FF0O;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00;
支撐:L1+P1*0.5/8,COLOR00DD0O;
現價:CLOSE,COLORWHITE,LINETHICK1;
STICKLINE(CROSS(支撐,現價),支撐,阻力,1,0),COLORYELLOW;
DRAWTEXT(LONGCROSS(支撐,現價,2),支撐* 1.001,'* B),COLORYELLOW;{吸}
DRAWTEXT(L .ONGCROSS(現價,阻力,2),現價;★'),COLORRED;拋};
DRAWICON(CROSS(MA30,強弱),H,9);
⑵ 跪求通達信決戰分時指標源碼 (見下面效果圖)分不夠還可追加
是分時突破,這樣吧:
⑶ 你好,我看到你編輯的關於一分鍾成交次數的公式,可以用,也算是偶得,我想是不是可以在分時圖中顯示出
這建立兩個指標,第一個指標源碼如下,指標名為A-HD
ccjs:count(last(c>0),barslast(minute<>ref(minute,1))+1);
fz:minute;
第二個指標是用來看1分鍾的成交次數,其源碼如下,指標名可以任意取:
ccjs:="a-hd.ccjs#tick";
fz:="a-hd.fz#tick";
cctj:if(fz<>ref(fz,1),ccjs,0),stick,colormagenta;
這個可以在分時圖上和1分鍾圖上都能看其該分鍾的成交次數。
⑷ 求高手寫個通達信當天開盤價在分時圖上自動畫線的分時主圖指標謝謝!
用這個代碼:
DYNAINFO(4),COLORFF00AA;
很好用的分時主圖指標公式:
M1:=36;
N1:=13;
N:=100;
Q:=5;
SHORT:=21;
LONG:=44;
MID:=11;
P2:=11;
DRAWGBK(C>0,RGB(50,60,250),RGB(17,21,89),0,ཇ',0);
H1:=maX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLORGREEN;
支撐:L1+P1*0.5/8,COLORRED;
中:(支撐+阻力)/2,COLORWHITE,POINTDOT;
現價:CLOSE,COLORWHITE,LINETHICK2;
頂賣:stICKLINE(C>阻力,阻力,C,5,0),COLORGREEN;
底買:STICKLINE(C<支撐,支撐,C,5,0),COLORRED;
MR:=C<支撐ANDcrOSS(C,REF(C,2));
DRAWTEXT(CROSS(現價,支撐),中,'★買'),COLORRED;
STICKLINE(CROSS(現價,支撐),C,中,2,0),COLORRED;
STICKLINE(MR=1,支撐,中,2,0),COLORRED;
DRAWICON(MR=1ORCROSS(現價,支撐),中,1);
STICKLINE(CROSS(支撐,現價),支撐,(支撐-中)/5+支撐,2,0),COLORYELLOW;
DRAWTEXT(CROSS(支撐,現價),(支撐-中)/5+支撐,'★底'),COLORYELLOW;
MC:=C>阻力ANDCROSS(REF(C,2),C);
DRAWTEXT(CROSS(阻力,現價),中,'★賣'),COLORGREEN;
STICKLINE(CROSS(阻力,現價),C,中,2,0),COLORGREEN;
STICKLINE(MC=1,阻力,中,2,0),COLORGREEN;
DRAWICON(MC=1ORCROSS(阻力,現價),中,2);
STICKLINE(CROSS(現價,阻力),阻力,阻力-(支撐-中)/5,2,0),COLORMAGENTA;
DRAWTEXT(CROSS(現價,阻力),阻力-(支撐-中)/5,'★頂'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,阻力,'頂'),COLORGREEN;
DRAWTEXT(ISLASTBAR,支撐,'底'),COLORRED;
DRAWTEXT(ISLASTBAR,(支撐+阻力)/2,'中'),COLORWHITE;
每股凈資產:=STRCAT(STRCAT('每股凈資產:',CON2STR(FINANCE(34),2)),'元');
DRAWTEXT_FIX(1,0.22,0.92,0,每股凈資產),COLORWHITE;
主營同比增長:=STRCAT(STRCAT('主營同比增長:',CON2STR(FINANCE(44),2)),'%');
DRAWTEXT_FIX(1,0.33,0.99,0,主營同比增長),COLORCYAN;
凈利潤同比增長:=STRCAT(STRCAT('凈利潤同比增長:',CON2STR(FINANCE(43),2)),'%');
DRAWTEXT_FIX(1,0.33,0.92,0,凈利潤同比增長),COLORYELLOW;
{銷售毛利率:=STRCAT(STRCAT('銷售毛利率:',CON2STR(FINANCE(21)/FINANCE(20)*100,2)),'%');}
銷售毛利率:=STRCAT(STRCAT('銷售毛利率:',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2)),'%');
DRAWTEXT_FIX(1,0.22,0.99,0,銷售毛利率),COLORCYAN;
DRAWTEXT_FIX(1,0.11,0.99,0,'每股收益:')COLORYELLOW;
DRAWTEXT_FIX(1,0.16,0.99,0,STRCAT(CON2STR(FINANCE(30)/FINANCE(1),2),'元'))COLORYELLOW;
DRAWTEXT_FIX(1,0.11,0.92,0,'每股市盈率:')COLORYELLOW;
DRAWTEXT_FIX(1,0.17,0.92,0,STRCAT(CON2STR(C/FINANCE(33),2),'倍'))COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.99,0,'流通A股:')COLORCYAN;
DRAWTEXT_FIX(1,0.06,0.99,0,STRCAT(CON2STR(CAPITAL/1000000,2),'億股'))COLORCYAN;
DRAWTEXT_FIX(1,0.11,0.87,0,'每股未分配:元')COLORYELLOW;
DRAWTEXT_FIX(1,0.17,0.87,0,CON2STR(FINANCE(32),2))COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.92,0,'經營現金流:元')COLORYELLOW;
DRAWTEXT_FIX(1,0.07,0.92,0,CON2STR(FINANCE(25)/FINANCE(1),2))COLORYELLOW;
DRAWTEXT_FIX(1,0.50,0.99,0,'☆[熱點概念]:')COLORYELLOW;
DRAWTEXT_FIX(1,0.57,0.99,0,EXTERNSTR(0,1))COLORYELLOW;
DRAWTEXT_FIX(1,0.50,0.92,0,'☆[主營行業]:')COLORCYAN;
DRAWTEXT_FIX(1,0.57,0.92,0,EXTERNSTR(0,2))COLORCYAN;
{DRAWTEXT_FIX(1,0.00,0.63,0,'[高送轉信號]:')COLORCYAN;
DRAWTEXT_FIX(1,0.05,0.63,0,EXTERNSTR(0,3))COLORCYAN;};
所屬板塊:=STRCAT('☆【所屬板塊】',STRCAT(STRCAT(STRCAT('[行業]—',HYBLOCK),STRCAT('[地域]—',DYBLOCK)),STRCAT('[概念]—',GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.50,0.87,0,所屬板塊),COLORYELLOW;
今日人氣:=DYNAINFO(60)/DYNAINFO(61);
DRAWTEXT_FIX(1,0,0.87,0,'◆大盤人氣:'),COLORYELLOW,LINETHICK4;
DRAWNUMBER_FIX(1,0.07,0.87,0,CONST(今日人氣)),COLORYELLOW;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
虛擬量:=IF(CURRBARSCOUNT=1,vol*TOTAL/CTIME,DRAWNULL);
虛擬量比:=虛擬量/REF(VOL,1),COLORWHITE,LINETHICK0;
虛量值:=(虛擬量-VOL)/VOL,COLORWHITE,LINETHICK0;
DRAWTEXT_FIX(1,0.33,0.87,0,'▲量比:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.37,0.87,0,CONST(虛擬量比)),COLORYELLOW;
量價:=(VOL/CLOSE)/3;
統計主動買量:=SUM((IF(((量價>0.20)AND(CLOSE>(REF(CLOSE,1)))),量價,0)),0);
統計主動賣量:=SUM((IF(((量價>0.20)AND(CLOSE<(REF(CLOSE,1)))),量價,0)),0);
漲停能量:=((統計主動買量)/統計主動賣量)*10,COLOR4080FF;
DRAWTEXT_FIX(1,0.22,0.87,0,'★漲停能量:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.28,0.87,0,CONST(漲停能量)),COLORYELLOW;
⑸ 主力大量買入分時圖指標公式
主力分時買賣指標公式
N:=60;
K1:=IF(CLOSE>=REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW+CLOSE-REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW);
K2:=IF(CLOSE<=REF(CLOSE,1),OPEN-LOW+HIGH-CLOSE+REF(CLOSE,1)-CLOSE,OPEN-LOW+HIGH-CLOSE);
DT:=VOL*K1/(K1+K2);
KT:=VOL-DT;
主力買量:SUM(DT,N),COLORRED;
主力賣量:SUM(KT,N),COLORCYAN;
拓展資料:
通達信分時圖買入指標
A1:=(DVOL/C)/2,NODRAW;
A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>100 AND CLOSEA4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND CLOSEA6:=A2+A3+A4+A5;
機買:(A2/A6)*100,LINETHICK2,COLORRED;
機賣:(A3/A6)*100,LINETHICK2,COLORGREEN;
散買:(A4/A6)*100,LINETHICK0;
散賣:(A5/A6)*100,LINETHICK0;
主力差:機買-機賣,LINETHICK2,NODRAW;
散戶差:散買-散賣,LINETHICK0,NODRAW;
DRAWTEXT(主力差>0 AND REF(主力差,1)<=0,C*0.85,'●機構'),COLORRED;
DRAWTEXT(主力差<0 AND REF(主力差,1)>=0,-C*0.85,'○機構'),COLORWHITE;
DRAWTEXT(散戶差>0 AND REF(散戶差,1)<=0,C*0.15,'▲散戶'),COLORCYAN;
DRAWTEXT(散戶差<0 AND REF(散戶差,1)>=0,-C*0.15,'△散戶'),COLORWHITE;
主力買賣指標是敏感度比較高的指標.通常表現主力的活躍程度如何,進RO出.從上圖可以看到大盤的想對應指標。(60分鍾K線圖)
可以看到這個指標從2372點漲到2600左右出現了頂部.然後一直到今天最高的2646.明顯看得出.從2600點的地方到2646點的位置是逐步下降的.意味著大盤准備要跌.指數上升,但是指標向下走.這個時候就要注意了.一旦指標從上向下交叉就意味著新的一輪大跌剛開始.反之上漲剛開始.所以做短線投資的朋友.要留意這個指標.他從上向下穿直到走平向上穿的過程沒走好的話千萬不要進場,不然後果自己知道.不用說了!你們可以參考大盤以往的走勢來仔細研究這個指標.做短線的參考30分鍾和60分鍾K線更為准確!
該指標大智慧和通達信都有.方便易看.
指數下跌創新低或橫盤,指標的底部持平或不斷抬高.意味著准備上漲.
指數上漲創新高或橫盤,指標的高點持平或不斷降低,意味著准備下跌.
白線為短期趨勢線,黃線為中期趨勢線,紫線為長期趨勢線。
1、主力買賣與主力進出配合使用時准確率極高。
2、當底部構成發出信號,且主力進出線向上時判斷買點,准確率極高。
3、當短線上穿中線及長線時,形成最佳短線買點交叉形態(如底部構成已發出信號或主力進出線也向上且短線乖離率不大時)。
4、當短線、中線均上穿長線,形成中線最佳買點形態(如底部構成已發出信號或主力進出線也向上且三線均向上時)。
5、當短線下穿中線,且短線與長線正乖離率太大時,形成短線最佳賣點交叉形態。
6、當短線、中線下穿長線,且是主力進出已走平或下降時,形成中線最佳賣點交叉形態。
7、在上升途中,短、中線回落受長線支撐再度上行之時,為較佳的買入時機。
8、指標在0以上表明個股處於強勢,指標跌穿0線表明該股步入弱勢。
⑹ 求大智慧分時橫盤長達1小時以上,不下破均價線預警指標源碼怎麼寫謝謝!!!
TT:=BARSCOUNT(C);
CC:=CLOSE;
ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
ZZ1:=BETWEEN(C/ZZ,1.05,0.95);
均線:=IF(ZZ1=0,MA(C,TT),ZZ);
上均:=均線 + AVEDEV(C,TT)*2;
下均:=均線 - AVEDEV(C,TT)*2;
時長:=IF(HOUR>=11 AND HOUR<15 ,1,0);
漲幅:=(CLOSE/DYNAINFO(3))>=1.03;
跌幅:=(CLOSE/DYNAINFO(3))<=0.97;
漲跌幅:=漲幅 OR 跌幅;
YY:=SMA(VOL,30,1);
放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0;
橫盤:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.05;
橫盤上漲:=漲跌幅=0 AND 橫盤 AND 時長 AND 放量 AND CROSS(CC,上均)AND DYNAINFO(22)<DYNAINFO(23);
上突:FILTER(橫盤上漲,100);
⑺ 求分時均價線,通達信指標的源碼,
均價:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK2;
IF(均價<=REF(均價,1),均價,DRAWNULL),COLORGREEN,LINETHICK3;
IF(均價>=REF(均價,1),均價,DRAWNULL),COLORYELLOW,LINETHICK3;
DRAWTEXT(CURRBARSCOUNT=4,均價,'均'),COLORYELLOW,LINETHICK3;
DRAWNUMBER(CURRBARSCOUNT=2,均價,均價),COLORYELLOW,LINETHICK3;
簡單一點就是
均價:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK2;