通達(dá)信表格指標(biāo)公式
基本概況:
- 指標(biāo)類別: 通達(dá)信指標(biāo)
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)語言: 簡體中文
- 指標(biāo)來源: 互聯(lián)網(wǎng)
- 指標(biāo)日期: 2017-07-18 00:00:00
內(nèi)容介紹:
通達(dá)信表格指標(biāo)公式:
代碼1:=CODELIKE('600744'){≮填買入代碼}* DATE>=(20161123){≮填買入時間}-19000000;
代碼2:=CODELIKE('002526'){≮填買入代碼}* DATE>=(20151230){≮填買入時間}-19000000;
代碼3:=CODELIKE('999999'){≮填買入代碼}* DATE>=(20161122){≮填買入時間}-19000000;
代碼4:=CODELIKE('002157'){≮填買入代碼}* DATE>=(20161122){≮填買入時間}-19000000;
代碼5:=CODELIKE('002157'){≮填買入代碼}* DATE>=(20161122){≮填買入時間}-19000000;
代碼6:=CODELIKE('002157'){≮填買入代碼}* DATE>=(20161122){≮填買入時間}-19000000;
代碼7:=CODELIKE('002157'){≮填買入代碼}* DATE>=(20161122){≮填買入時間}-19000000;
代碼8:=CODELIKE('002157'){≮填買入代碼}* DATE>=(20161122){≮填買入時間}-19000000;
{=========}
代碼:=代碼1 OR 代碼2 OR 代碼3 OR 代碼4 OR 代碼5 OR 代碼6 OR 代碼7 OR 代碼8;
高點(diǎn):=PEAKBARS(0,10,1)=0;
高:=高點(diǎn) AND (SUM(高點(diǎn),400-CURRBARSCOUNT) = CONST(SUM(高點(diǎn),400-CURRBARSCOUNT))-2);
仿代碼:=BARSLAST(高)>=0 AND 代碼=0;
用心算:=IF(CONST(代碼),代碼,仿代碼);
{====}
高減昨收:=IF(H>REF(C,1),H-REF(C,1),0)*用心算,NODRAW;
昨收減低:=IF(REF(C,1)>L,REF(C,1)-L,0)*用心算,NODRAW;
高減開:=(H-O)*用心算,NODRAW;
開減低:=(O-L)*用心算,NODRAW;
{===表格豎線===}
DRAWRECTREL(5,0,993,990,RGB(50,100,140));
DRAWRECTREL(73,0,131,990,RGB(50,50,50));
DRAWRECTREL(189,0,247,990,RGB(50,50,50));
DRAWRECTREL(305,0,388,990,RGB(50,50,50));{成交}
DRAWRECTREL(388,0,471,990,RGB(50,50,50));{總成交}
DRAWRECTREL(471,0,529,990,RGB(50,78,50));
DRAWRECTREL(587,0,645,990,RGB(50,78,50));
DRAWRECTREL(703,0,761,990,RGB(50,78,50));
DRAWRECTREL(819,0,877,990,RGB(50,100,140));
DRAWRECTREL(935,0,993,990,RGB(50,100,140));
{==表格橫線==};
DRAWRECTREL(5,90,993,90,RGB(250,250,250));
DRAWRECTREL(5,190,993,190,RGB(250,250,250));
DRAWRECTREL(5,290,993,290,RGB(250,250,250));
DRAWRECTREL(5,390,993,390,RGB(250,250,250));
DRAWRECTREL(5,490,993,490,RGB(250,250,250));
DRAWRECTREL(5,590,993,590,RGB(250,250,250));
DRAWRECTREL(5,690,993,690,RGB(250,250,250));
DRAWRECTREL(5,790,993,790,RGB(250,250,250));
DRAWRECTREL(5,890,993,890,RGB(250,250,250));
{====}
DRAWTEXT_FIX(C>0,0.01,0.91,0,' 今 ' ),COLORYELLOW;
AX1:=STRCAT(STRCAT(STRCAT(STRCAT('日 期' ,' 開') ,' 高') ,' 低') ,' 收');
DRAWTEXT_FIX(C>0,0.02,0.015,0,AX1),COLORYELLOW;
AX2:=STRCAT('成交量',' 成交 {差 合}');
DRAWTEXT_FIX(C>0,0.325,0.015,0,AX2),COLORWHITE;
AX3:=STRCAT(STRCAT(STRCAT(STRCAT('測 開', ' 測 高'),' 均 中' ), ' 測 收'),' 測 低' );
DRAWTEXT_FIX(C>0,0.487,0.015,0,AX3),,COLORYELLOW;
AX4:=STRCAT(STRCAT(STRCAT('高-(昨收)',' (昨收)-低' ),' 高-開(和' ),' 開-低(和)');
DRAWTEXT_FIX(C>0,0.765,0.015,0,AX4),COLORWHITE;
{====}
AA2:=STRCAT(CON2STR(DAY,0),'日');
DRAWTEXT_FIX(C>0,0.03,0.91,0,AA2),COLORYELLOW;
BB1:=STRCAT(CON2STR(REF(MONTH,1),0),'月');
BB2:=STRCAT(CON2STR(REF(DAY,1),0),'日');
BB3:=STRCAT(BB1,BB2);
DRAWTEXT_FIX(C>0,0.01,0.81,0,BB3),COLORYELLOW;
CC2:=STRCAT(CON2STR(REF(DAY,2),0),'日');
CC3:=STRCAT(BB1,CC2);
DRAWTEXT_FIX(C>0,0.01,0.71,0,CC3),COLORYELLOW;
DD2:
相關(guān)推薦: