Ⅰ 東方財富通板塊漲跌家數源碼公式
首先東方財富目前沒有這個函數,並且在東方財富軟體上這個想法實現專不了。
如果想實現,通達信軟屬件可以實現。但你沒說明具體怎麼顯示是文字提示啊,還是做成指標線啊還是什麼樣式,還有顯示什麼板塊啊。
例如下圖中的副圖,紅色線是上漲家數,綠色線是下跌家數,白色線是平盤。
Ⅱ 求:東方財富通指標公式:【資金趨勢】的源碼
均價:=(H+L+O+C)/4;
分水嶺:MA(3*均價-2*SMA(均價,2,1),12),LINETHICK1;
做多趨勢:IF(均價>分水嶺,均價,分水嶺),COLORYELLOW;
支撐:REVERSE(做多趨勢)+2*分水嶺,COLORMAGENTA;
下跌:IF(均價<分水嶺,均價,分水嶺),COLORGRAY;
B:=(2*EMA(LLV(均價,7),10)-均價);
做空趨勢:(3*B-2*SMA(B,10,1)),COLORGREEN,LINETHICK2;
阻力:=REVERSE(下跌)+2*分水嶺;
Ⅲ 誰能幫忙根據下面的公式注釋編輯一個東方財富通的指標公式
YY頻道7450歡迎您
均價:=(H L O C)/4;
分水嶺專:MA(3*均價屬-2*SMA(均價,2,1),12),LINETHICK1;
做多趨勢:IF(均價>分水嶺,均價,分水嶺),COLORYELLOW;
支撐:REVERSE(做多趨勢) 2*分水嶺,COLORMAGENTA;
下跌:IF(均價<分水嶺,均價,分水嶺),COLORGRAY;
B:=(2*EMA(LLV(均價,7),10)-均價);
做空趨勢:(3*B-2*SMA(B,10,1)),COLORGREEN,LINETHICK2;
阻力:=REVERSE(下跌) 2*分水嶺;
Ⅳ 我下載了東方財富通股票交易軟體,想把自己的一個指標源碼加進去,沒找到公式管理器,請大家幫幫忙
東方財富目前不提供自編指標,只有參數調整
Ⅳ 東方財富通dk指標源碼
看下來貌似是基於kdj的復合指標
Ⅵ 東方財富通軟體如何自編公式
在軟體最頂部的分析菜單欄里,下拉後倒數第二個選項:公式管理器。
目前這個功能還沒有開放,應該在近期的更新中會加進去的。
希望對你有用!
Ⅶ 東方財富通超級大單凈流入是怎麼算出的
要看超級大單,首先要明白東方財富通這款軟體是怎麼計算的。
超大單:大於等於50萬股或者100萬元的成交單;
大單:大於等於10萬股或者20萬元且小於50萬股和100萬元的成交單;
中單:大於等於2萬股或者4萬元且小於10萬股和20萬元的成交單;
小單:小於2萬股和4萬元的成交單;
流入:主動買入成交額;
流出:主動賣出成交額;
凈流入:主力流入-主力流出;
所以它的超級大單凈流入,就是在超大單這一檔內,計算凈流入的結果,也就是若干單筆超大單的凈流入。
(7)東方財富主力凈流向指標公式源碼擴展閱讀:
指標定義:
凈額:流入-流出;
凈比:(流入-流出)/總成交額;
5日排名:5日主力凈佔比排名(指大盤連續交易的5日);
5日漲跌:最近5日漲跌幅(指大盤連續交易的5日);
10日排名:10日主力凈佔比排名(指大盤連續交易的10日);
10日漲跌:最近10日漲跌幅(指大盤連續交易的10日);
資金凈流出的計算公式:流入資金-流出資金,如果是正值表示資金凈流入,負值則表示資金凈流出。上漲時的成交額計為流入資金,下跌時的成交額計為流出資金。
一般情況下資金流向與指數漲跌幅走勢非常相近,但在以下兩種情況下,資金流向指標具有明顯的指導意義:
1、當天的資金流向與指數漲跌相反。比如該板塊全天總體來看指數是下跌的,但資金流向顯示全天資金凈流入為正。
2、當天的資金流向與指數漲跌幅在幅度上存在較大背離。比如全天指數漲幅較高,但實際資金凈流入量很小。
當資金流向與指數漲跌幅出現以上背離時,資金流向比指數漲跌幅更能反映市場實際狀況。
參考資料來源:網路-資金凈流入
參考資料來源:東方財富網-資金流分析
Ⅷ 短線高手主力版「買賣趨勢」指標公式源碼
非常準的趨勢買賣(圖片演示在下面網址里)
VAR1:=(C+H+O+L)/4;
賣出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
買入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;
幅度:100*(賣出-買入)/買入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(賣出>LOW
AND
賣出<HIGH,賣出,MAX(賣出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(賣出>MIN(C,O)
AND
賣出<MAX(C,O),賣出,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(賣出>LOW
AND
賣出<HIGH,賣出,HIGH,0,0),COLORGREEN;
STICKLINE(賣出<LOW,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(賣出<LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(買入>LOW
AND
買入<HIGH,買入,MIN(MIN(OPEN,CLOSE),買入),3,0),COLORMAGENTA;
STICKLINE(買入>MIN(C,O)
AND
買入<MAX(C,O),買入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;
STICKLINE(買入>LOW
AND
買入<HIGH,買入,LOW,0,0),COLORMAGENTA;
STICKLINE(買入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(買入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;
DRAWTEXT(CROSS(LOW,買入),LOW*0.95,'B'),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(賣出,HIGH),HIGH*1.02,'S'),COLORGREEN;
綠上賣,紅下買。
Ⅸ 誰有東方財富金融終端的趨勢DK線公式源碼
QKX
乾坤線:=3*(2*EMA(LLV((OPEN+HIGH+LOW+2*CLOSE)/5,8),13)-(OPEN+HIGH+LOW+2*CLOSE)/5)-2*(SMA(2*EMA(LLV((OPEN+HIGH+LOW+2*CLOSE)/5,8),13)-(OPEN+HIGH+LOW+2*CLOSE)/5,9,1));
DK:=乾坤線;
A5:MA(CLOSE,5);
A10:MA(CLOSE,10);
A20:MA(CLOSE,20);
A30:MA(CLOSE,30);
SMX:(MA(CLOSE,30)+MA(CLOSE,72))/2,LINETHICK2,colorFF;
A60:MA(CLOSE,60),LINEDOT;
A120:MA(CLOSE,120),LINEDOT;
A250:MA(CLOSE,250),LINEDOT,colorFF;
STICKLINE(CLOSE>DK,OPEN,CLOSE,8,1),colorFF;
STICKLINE(CLOSE>DK AND CLOSE<OPEN,OPEN,CLOSE,8,0),colorFF;
STICKLINE(CLOSE=DK,OPEN,CLOSE,8,1),colorFF;
STICKLINE(CLOSE>DK,LOW,OPEN,0.8,1),colorFF;
STICKLINE(CLOSE=DK,LOW,OPEN,0.8,1),colorFF;
STICKLINE(CLOSE>DK,CLOSE,HIGH,0.8,1),colorFF;
STICKLINE(CLOSE=DK,CLOSE,HIGH,0.8,1),colorFF;
STICKLINE(CLOSE<DK AND CLOSE>OPEN,CLOSE,OPEN,8,1),colorFF00;
STICKLINE(CLOSE<DK AND CLOSE<=OPEN,CLOSE,OPEN,8,0),colorFF00;
STICKLINE(CLOSE<DK,OPEN,LOW,0.8,0),colorFF00;
STICKLINE(CLOSE<DK,CLOSE,HIGH,0.8,0),colorFF00;
VAR13:=(CLOSE-OPEN)/OPEN*100;
VAR14:=REF(CLOSE,1);
VAR15:=(SMA(MAX(CLOSE-VAR14,0),6,1))/(SMA(ABS(CLOSE-VAR14),6,1))*100;
VAR16:=COUNT(VAR15<59,20)>=1;
VAR17:=(CLOSE-MA(CLOSE,32))/STD(CLOSE,32)*100;
VAR18:=EMA(VAR17,3);
VAR19:=MA(CLOSE,5);
VAR20:=SUM(VOL,20)/CAPITAL;
VAR21:=MA(VAR20,1);
VAR22:=MA(VAR20,20);
VAR23:=BARSLAST(CROSS(VAR21,VAR22));
VAR24:=(CLOSE-OPEN)/OPEN;
VAR25:=(MA(CLOSE,60)-MA(CLOSE,5))/MA(CLOSE,5);
VAR30:=BACKSET(REF(CLOSE,2)/REF(OPEN,2)<=0.9 AND REF(OPEN,1)<REF(CLOSE,2) AND (ABS(REF(OPEN,1)-REF(CLOSE,1)))/REF(CLOSE,1)<=0.05 AND CLOSE/OPEN>=1.08 AND CLOSE>REF(CLOSE,2),1);
VAR32:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR33:=(CLOSE-REF(CLOSE,30))/REF(CLOSE,30)*100;
VAR34:=OPEN/REF(CLOSE,1)>=1-2/100 AND CLOSE/OPEN>=1+3/100;
VAR35:=VOL/MA(VOL,5)>1;
VAR36:=REF(CLOSE,1);
VAR37:=(SMA(MAX(CLOSE-VAR36,0),6,1))/(SMA(ABS(CLOSE-VAR36),6,1))*100;
VAR38:=(CLOSE-VAR36)/VAR36*100;
VAR39:=COUNT(VAR37<23,23);
VAR40:=(CLOSE-OPEN)/OPEN*100;
VAR41:=REF(CLOSE,1);
VAR42:=(SMA(MAX(CLOSE-VAR41,0),2,1))/(SMA(ABS(CLOSE-VAR41),2,1))*100;
VAR43:=COUNT(VAR42<20,20)>=1;
VAR47:=LLV(LOW,18);
VAR48:=HHV(HIGH,18);
VAR49:=EMA((CLOSE-VAR47)/(VAR48-VAR47)*100,13);
VAR50:=VAR13>7 AND VAR16 OR VAR38>6 AND VAR39>=1 AND VAR34 AND VAR35 AND VAR33<6;
VAR101:=DRAWTEXT((VAR17>-100 AND VAR17>REF(VAR17,1) AND REF(VAR17,1)>REF(VAR17,2) AND REF((HHV(HIGH,3)-LLV(LOW,3))/LLV(LOW,3),1)<=3/50 AND CLOSE>=REF(HHV(HIGH,3),1) AND BARSCOUNT(CLOSE)>80 AND VAR19>REF(VAR19,1) AND CLOSE>REF(CLOSE,1) AND VOL/240>MA(VOL,100)/240 AND CLOSE>OPEN*(1+3/100) AND CLOSE<MA(CLOSE,30)*1.3 OR VAR40>9 AND VAR43 OR VOL/240>MA(VOL,100)/240 AND CLOSE>OPEN*(1+7/100) AND CLOSE<MA(CLOSE,5)*1.5 OR VAR50) AND EMA(0.618*REF(VAR49,1)+0.382*VAR49,3)<40,LOW*0.98,'←出擊');
VAR102:=LLV(LOW,2)=LLV(LOW,16) AND CLOSE>=OPEN*1.04;
VAR103:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
VAR104:=VAR102 AND VAR103;
VAR105:=DRAWTEXT(VAR104,LOW*0.98,'B');
VAR106:=DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),HIGH*1.02,'S');
LL:=REF(CLOSE,2);
MM:=(SMA(MAX(CLOSE-LL,0),6,1))/(SMA(ABS(CLOSE-LL),6,1))*100;
DB:=IF(MM<REF(MM,1) AND MM>79,MM,0);
DRAWTEXT(DB AND CLOSE<MA(CLOSE,3),HIGH*1.02,'S'),colorFF00;
DRAWTEXTEX(CLOSE,1,1,50,'總股本:'+NUMTOSTR(FINANCE(1)/10000,2)+'億'+' 流通A股:'+NUMTOSTR(FINANCE(7)/10000,2)+'億'+' 每股收益:'+NUMTOSTR(FINANCE(33),2)+' 凈資產收益率:'+NUMTOSTR(FINANCE(37),2)+' 凈資產:'+NUMTOSTR(FINANCE(34),2)+' 公積金:'+NUMTOSTR(FINANCE(18),2)+' 市盈率:'+NUMTOSTR(DYNAINFO(39),2)),color808080;
DRAWTEXTEX(CLOSE,1,1,100,'主營業務增長率:'+NUMTOSTR(FINANCE(53),2)+'%'+' 稅後利潤增長率:'+NUMTOSTR(FINANCE(54),2)+'%'+' 凈資產增長率:'+NUMTOSTR(FINANCE(55),2)+'%'),color808080;
DRAWTEXTEX(CLOSE,1,1,200,'上漲家數:'+NUMTOSTR(INDEXADV,0)+' 下跌家數:'+NUMTOSTR(INDEXDEC,0)),color808080;
DRAWTEXTEX(CLOSE,1,1,150,'股東權益比率:'+NUMTOSTR(FINANCE(36),2)+'%'),color808080;
DRAWTEXTEX(CLOSE,1,1,250,'獲利比率:'+NUMTOSTR(WINNER(CLOSE)*100,2)+'%'),color808080;
DRAWTEXTEX(CLOSE,1,1,0,'所屬板塊:'+BLKNAME),color808080;
DRAWTEXTEX(CLOSE,1,1,300,'五日換手:'+NUMTOSTR(SUM(VOL/CAPITAL*100,5),2)+'%'),color808080;
DRAWTEXTEX(CLOSE,1,1,350,'五日漲跌:'+NUMTOSTR((CLOSE-REF(CLOSE,4))/REF(CLOSE,5)*100,2)+'%'),color808080;
DRAWTEXTEX(CLOSE,1,1,400,'今日阻力價位:'+NUMTOSTR((REF(HIGH,1)+REF(LOW,1)+REF(OPEN,1)+2*REF(CLOSE,1))/5*2-REF(LOW,1),2)),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,1,450,'今日支撐價位:'+NUMTOSTR((REF(HIGH,1)+REF(LOW,1)+REF(OPEN,1)+2*REF(CLOSE,1))/5*2-REF(HIGH,1),2)),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,1,500,'今日上升突破價位:'+NUMTOSTR((REF(HIGH,1)+REF(LOW,1)+REF(OPEN,1)+2*REF(CLOSE,1))/5+REF(HIGH,1)-REF(LOW,1),2)),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,1,550,'今日下跌破位價位:'+NUMTOSTR((REF(HIGH,1)+REF(LOW,1)+REF(OPEN,1)+2*REF(CLOSE,1))/5-(REF(HIGH,1)-REF(LOW,1)),2)),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,1,600,'次日阻力價位:'+NUMTOSTR((HIGH+LOW+OPEN+2*CLOSE)/5*2-LOW,2)),color808080;
DRAWTEXTEX(CLOSE,1,1,650,'次日支撐價位:'+NUMTOSTR((HIGH+LOW+OPEN+2*CLOSE)/5*2-HIGH,2)),color808080;
DRAWTEXTEX(CLOSE,1,1,700,'次日上升突破價位:'+NUMTOSTR((HIGH+LOW+OPEN+2*CLOSE)/5+HIGH-LOW,2)),color808080;
DRAWTEXTEX(CLOSE,1,1,750,'次日下跌破位價位:'+NUMTOSTR((HIGH+LOW+OPEN+2*CLOSE)/5-(HIGH-LOW),2)),color808080;
Ⅹ 求通達信用的,東方財富中的資金博奕k線副圖指標公式
通達信主力資金博弈指標公式:
VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
主力:VAR1,COLORRED,LINETHICK1;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
大戶:V4,COLORFF00FF;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大資金:VB,COLORYELLOW;
STICKLINE(CLOSE>0,0,0,-1,0),COLORFF9966;
DRAWTEXT(ISLASTBAR AND C,VAR1,' 主力線:零軸上方可進場 中線可持股'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,V4,' 大戶線:零軸下方短線必出且不抄底'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,VB,' 大資金線:零軸下方需小心'),COLOR0000BB;
XG1:=COUNT(V4>0,10)>=5 AND CROSS(VAR1,0.5) AND 0>REF(VAR1,1) AND V4>0 AND VB>0{AND VB>REF(VB,1)};
XG2:=COUNT(VAR1>0,10)>=5 AND CROSS(V4,0.5) AND 0>REF(V4,1) AND VAR1>0 AND VB>0{AND VB>REF(VB,1)};
DRAWTEXT(XG1,0,'主力進'),COLORYELLOW;
DRAWTEXT(XG2,0,'大戶進'),COLORYELLOW;
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/20)/1.15;
攻擊:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻擊,3);
B1:=SUM(LLJX,1);
B2:=SUM(LLJX,2);
B3:=SUM(LLJX,3);
B4:=SUM(LLJX,4);
B5:=SUM(LLJX,5);
B6:=SUM(LLJX,6);
B7:=SUM(LLJX,7);
B8:=SUM(LLJX,8);
B9:=SUM(LLJX,9);
B10:=SUM(LLJX,10);
G1:=B1>REF(B1,1) AND B2>REF(B2,1) AND B3>REF(B3,1) AND B4>REF(B4,1) AND B5>REF(B5,1);
G2:=B2>REF(B2,1) AND B3>REF(B3,1) AND B4>REF(B4,1) AND B5>REF(B5,1) AND B6>REF(B6,1);
G3:=B3>REF(B3,1) AND B4>REF(B4,1) AND B5>REF(B5,1) AND B6>REF(B6,1) AND B7>REF(B7,1);
G4:=B4>REF(B4,1) AND B5>REF(B5,1) AND B6>REF(B6,1) AND B7>REF(B7,1) AND B8>REF(B8,1);
G5:=B5>REF(B5,1) AND B6>REF(B6,1) AND B7>REF(B7,1) AND B8>REF(B8,1) AND B9>REF(B9,1);
G6:=B6>REF(B6,1) AND B7>REF(B7,1) AND B8>REF(B8,1) AND B9>REF(B9,1) AND B10>REF(B10,1);
條件:=G1 OR G2 OR G3 OR G4 OR G5 OR G6;
DRAWTEXT(XG1 AND 條件,0,'主力'),COLORCYAN;
DRAWTEXT(XG2 AND 條件,0,'大戶'),COLORCYAN;
提醒:指標不是萬能的,股市有風險,入市須謹慎。