看股吧 m.bankruptcyebook.com [今日大盤指數(shù) 歐美全球股市行情 股票公式查詢網(wǎng)站] 手機(jī)APP下載 | 手機(jī)訪問 | 加入收藏 | 保存到桌面
看股吧
看股吧股票網(wǎng)-今日大盤指數(shù) 歐美全球股市行情 股票公式查詢網(wǎng)站
股票查詢: 行情分析 DDX指標(biāo) 走勢(shì)點(diǎn)評(píng) 股票公告 大事 主力持倉 股權(quán)質(zhì)押 分紅 大小非 十大股東 股本結(jié)構(gòu) 高管持股 研報(bào) 高管 主營 龍虎榜 股吧
當(dāng)前位置: 看股吧 > 股票公式 > 公式編寫
股票公式搜索:

將通達(dá)信的青龍個(gè)股主圖改為大智慧主圖

2020/1/16 18:15:00

公式編寫說明:

{個(gè)股專用}漲停:=BETWEEN(CLOSE/REF(CLOSE,1),1.0983,1.110);VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);VAR1A:=((REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);紅色持股:=VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC;短進(jìn):=VAR19;青色觀望:=VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18;急速超跌:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14;品紅離場(chǎng):=VAR1A;STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(紅色持股,CLOSE,O,2.8,0),COLOR000055;STICKLINE(青色觀望,CLOSE,O,2.8,0),COLOR555500;CO:=(C-O);STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555;STICKLINE(短進(jìn),O,O+CO/3,2.8,0),COLOR335555;STICKLINE(品紅離場(chǎng),O,O+CO/3,2.8,0),COLOR550055;STICKLINE(漲停,O,C,3.6,1),COLORYELLOW;{均線}EXPMA5:EXPMA(C,5),COLORWHITE LINETHICK2;EXPMA13:EXPMA(C,13),COLORMAGENTA LINETHICK2;EMA60:EMA(C,60),COLORGREEN LINETHICK2;EMA99:EMA(C,99) LINETHICK2,COLORYELLOW;{軌道}CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);DD:=DMA(CLOSE,CC);上軌綠:(1+7/100)*DD,DOTLINE,COLORGREEN,LINETHICK1;下軌綠:(1-7/100)*DD,DOTLINE,COLORGREEN,LINETHICK1;中軌綠:(上軌綠+下軌綠)/2,DOTLINE,COLORGREEN,LINETHICK1;{箱體}DF:=(C-REF(C,1))/REF(C,1)*100<-5;AA:=BARSLAST(DF);突破箱體:=CROSS(C,REF(C,AA));箱頂:DRAWLINE(DF,O,REF(DF,1),REF(O,1),1),COLORMAGENTA LINETHICK2;箱底:=LLV(MIN(L,REF(L,AA)),AA),COLORCYAN,LINETHICK2;DRAWTEXT(ISLASTBAR,箱頂,' 箱頂');

公式源碼示例:

 漲停:=BETWEEN(CLOSE/REF(CLOSE,1),1.0983,1.110);

VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13
OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);
VAR1A:=((REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8
OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);
紅色持股:=VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC;
短進(jìn):=VAR19;
青色觀望:=VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18;
急速超跌:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14;
品紅離場(chǎng):=VAR1A;
STICKLINE(C>=O,L,H,0,0),COLOR0000CC;
STICKLINE(C<O,L,H,0,0),COLOR999900;
STICKLINE(1,C,O,3.5,0),COLOR858500;
STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;
STICKLINE(紅色持股,CLOSE,O,2.8,0),COLOR000055;
STICKLINE(青色觀望,CLOSE,O,2.8,0),COLOR555500;
CO:=(C-O);
STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555;
STICKLINE(短進(jìn),O,O+CO/3,2.8,0),COLOR335555;
STICKLINE(品紅離場(chǎng),O,O+CO/3,2.8,0),COLOR550055;
STICKLINE(漲停,O,C,3.6,1),COLORYELLOW;
{均線}
EMA5:EMA(C,5),COLORWHITE,LINETHICK2;
EMA13:EMA(C,13),COLORMAGENTA,LINETHICK2;
EMA60:EMA(C,60),COLORGREEN,LINETHICK2;
EMA99:EMA(C,99),LINETHICK2,COLORYELLOW;
{軌道}
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上軌綠:(1+7/100)*DD,DOTLINE,COLORGREEN,LINETHICK1;
下軌綠:(1-7/100)*DD,DOTLINE,COLORGREEN,LINETHICK1;
中軌綠:(上軌綠+下軌綠)/2,DOTLINE,COLORGREEN,LINETHICK1;
{箱體}
DF:=(C-REF(C,1))/REF(C,1)*100<-5;
AA:=BARSLAST(DF);
突破箱體:=CROSS(C,REF(C,AA));
箱頂:DRAWLINE(DF,O,REF(DF,1),REF(O,1),1),COLORMAGENTA,LINETHICK2;
箱底:=LLV(MIN(L,REF(L,AA)),AA);
DRAWTEXT(BARSTATUS=2,箱頂,' 箱頂');

看股 吧公式 www.kang uba.com

其它股票公式列表
看股吧查股導(dǎo)航:個(gè)股行情分析查詢 股票DDX指標(biāo)查詢 走勢(shì)點(diǎn)評(píng) 股票公告查詢 大事提醒 股權(quán)質(zhì)押查詢 股票分紅查詢 解禁查詢 高管持股 高管查詢
雷賽智能 002979+6.70% 公告 DDX在線 走勢(shì)點(diǎn)評(píng) 限售解禁 高管 股權(quán)質(zhì)押
勁拓股份 300400+6.61% 公告 DDX在線 走勢(shì)點(diǎn)評(píng) 限售解禁 高管 股權(quán)質(zhì)押
德業(yè)股份 605117+6.56% 公告 DDX在線 走勢(shì)點(diǎn)評(píng) 限售解禁 高管 股權(quán)質(zhì)押
泰福泵業(yè) 300992+6.55% 公告 DDX在線 走勢(shì)點(diǎn)評(píng) 限售解禁 高管 股權(quán)質(zhì)押
寶色股份 300402+6.50% 公告 DDX在線 走勢(shì)點(diǎn)評(píng) 限售解禁 高管 股權(quán)質(zhì)押
亞鉀國際 000893+6.48% 公告 DDX在線 走勢(shì)點(diǎn)評(píng) 限售解禁 高管 股權(quán)質(zhì)押
博力威 688345+6.46% 公告 DDX在線 走勢(shì)點(diǎn)評(píng) 限售解禁 高管 股權(quán)質(zhì)押
深圳華強(qiáng) 000062+6.30% 公告 DDX在線 走勢(shì)點(diǎn)評(píng) 限售解禁 高管 股權(quán)質(zhì)押
南華生物 000504+6.28% 公告 DDX在線 走勢(shì)點(diǎn)評(píng) 限售解禁 高管 股權(quán)質(zhì)押
精準(zhǔn)信息 300099+6.21% 公告 DDX在線 走勢(shì)點(diǎn)評(píng) 限售解禁 高管 股權(quán)質(zhì)押
看股網(wǎng)力求但不保證數(shù)據(jù)的完全準(zhǔn)確,不對(duì)因網(wǎng)站全部?jī)?nèi)容或部分內(nèi)容而引致的盈虧承擔(dān)任何責(zé)任,本站所有內(nèi)容僅供參考。
本站不提供任何股票服務(wù),站內(nèi)廣告不代表看股吧的觀點(diǎn),由此引起的一切法律責(zé)任均與本站無關(guān),請(qǐng)股民自行識(shí)別判斷,謹(jǐn)慎投資,預(yù)防上當(dāng)受騙!
聯(lián)系我們:nlfen9@hotmail.com
手機(jī)版(手機(jī)訪問當(dāng)前頁面) | 手機(jī)APP下載 | 電腦端(適合電腦或大屏用戶) | 備案號(hào):滬ICP備2024045114號(hào)-121