- 相關(guān)推薦
通達信板塊指數(shù)指標公式摘抄
指標公式可以解釋為,是源于對股票過去數(shù)據(jù)、走勢的分析并結(jié)合主力操盤手法、心態(tài)博弈等因素影響,從而總結(jié)歸納出一種成功概率較高的選股模型,最后編譯成通達信能識別的源代碼。指標公式包括:主圖指標公式、副圖指標公式、條件選股指標公式、盤中條件預警指標公式。下面是小編幫大家整理的通達信板塊指數(shù)指標公式摘抄,歡迎大家借鑒與參考,希望對大家有所幫助。
通達信板塊指數(shù)指標公式摘抄 1
N:=20;
M:=3;
VAR1:=(“399006$C”);
VAR2:=(“399005$C”);
VAR3:=(“399386$C”);
VAR4:=(“399150$C”);
VAR5:=(“399138$C”);
VAR6:=(“399200$C”);
VAR7:=(“399110$C”);
VAR8:=(“399136$C”);
VAR9:=(“399135$C”);
VAR10:=(“399130$C”);
VAR11:=(“399160$C”);
VAR12:=(“999999$C”);
VAR13:=(“399137$C”);
創(chuàng)業(yè)板指:SUM((VAR1/REF(VAR1,1)-1)*100,0),COLORYELLOW;
中小板指:SUM((VAR2/REF(VAR2,1)-1)*100,0),COLORBLUE;
醫(yī)藥指數(shù):SUM((VAR3/REF(VAR3,1)-1)*100,0),COLORRED;
建筑:=SUM((VAR4/REF(VAR4,1)-1)*100,0);
機械:=SUM((VAR5/REF(VAR5,1)-1)*100,0);
地產(chǎn):=SUM((VAR6/REF(VAR6,1)-1)*100,0);
農(nóng)林:=SUM((VAR7/REF(VAR7,1)-1)*100,0);
電子:=SUM((VAR8/REF(VAR8,1)-1)*100,0);
石化:=SUM((VAR9/REF(VAR9,1)-1)*100,0);
制造:=SUM((VAR10/REF(VAR10,1)-1)*100,0);
運輸:=SUM((VAR11/REF(VAR11,1)-1)*100,0);
上證:SUM((VAR12/REF(VAR12,1)-1)*100,0),COLORWHITE,LINETHICK2;
金屬:=SUM((VAR13/REF(VAR13,1)-1)*100,0);
通達信板塊指數(shù)指標公式摘抄 2
N:=45;
VAR2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VAR3:=SMA(VAR2,5,1);
VAR4:=SMA(VAR3,3,1);
個股波:SMA(VAR4,3,1),COLORWHITE,LINETHICK3;
VAR22:=(INDEXC-LLV(INDEXL,N))/(HHV(INDEXH,N)-LLV(INDEXL,N))*100;
VAR33:=SMA(VAR22,5,1);
VAR44:=SMA(VAR33,3,1);
指數(shù)波:SMA(VAR44,3,1),COLORRED,LINETHICK5;
AA:=( "399300$ CLOSE "-LLV("399300$ LOW ",N))/(HHV("399300$ HIGH ",N)-LLV("399300$ LOW ",N))*100;
AA1:=SMA(AA,5,1);
AA2:=SMA(AA1,3,1);
滬深300:SMA(AA2,3,1),COLORMAGENTA,LINETHICK2;
BB:=( "399005$ CLOSE "-LLV("399005$ LOW ",N))/(HHV("399005$ HIGH ",N)-LLV("399005$ LOW ",N))*100;
BB1:=SMA(BB,5,1);
BB2:=SMA(BB1,3,1);
中小板指:SMA(BB2,3,1),COLORYELLOW,LINETHICK1;
CC:=( "399006$ CLOSE "-LLV("399006$ LOW ",N))/(HHV("399006$ HIGH ",N)-LLV("399006$ LOW ",N))*100;
CC1:=SMA(CC,5,1);
CC2:=SMA(CC1,3,1);
創(chuàng)業(yè)板指:SMA(CC2,3,1),COLORCYAN,LINETHICK1;
DD:=( "399305$ CLOSE "-LLV("399305$ LOW ",N))/(HHV("399305$ HIGH ",N)-LLV("399305$ LOW ",N))*100;
DD1:=SMA(DD,5,1);
DD2:=SMA(DD1,3,1);
基金:SMA(DD2,3,1),COLORLICYAN,LINETHICK1;
EE:=( "399190$ CLOSE "-LLV("399190$ LOW ",N))/(HHV("399190$ HIGH ",N)-LLV("399190$ LOW ",N))*100;
EE1:=SMA(EE,5,1);
EE2:=SMA(EE1,3,1);
金融行業(yè):SMA(EE2,3,1),COLORGREEN,LINETHICK2;
FF:=( "399200$ CLOSE "-LLV("399200$ LOW ",N))/(HHV("399200$ HIGH ",N)-LLV("399200$ LOW ",N))*100;
FF1:=SMA(FF,5,1);
FF2:=SMA(FF1,3,1);
地產(chǎn):SMA(FF2,3,1),COLORLIGREEN,LINETHICK1;
GG:=( "399110$ CLOSE "-LLV("399110$ LOW ",N))/(HHV("399110$ HIGH ",N)-LLV("399110$ LOW ",N))*100;
GG1:=SMA(GG,5,1);
GG2:=SMA(GG1,3,1);
農(nóng)林牧漁:SMA(GG2,3,1),COLORLIGRAY,LINETHICK1;
HH:=( "399941$ CLOSE "-LLV("399941$ LOW ",N))/(HHV("399941$ HIGH ",N)-LLV("399941$ LOW ",N))*100;
HH1:=SMA(HH,5,1);
HH2:=SMA(HH1,3,1);
新能源:SMA(HH2,3,1),COLORBROWN,LINETHICK1;
II:=( "399137$ CLOSE "-LLV("399137$ LOW ",N))/(HHV("399137$ HIGH ",N)-LLV("399137$ LOW ",N))*100;
II1:=SMA(II,5,1);
II2:=SMA(II1,3,1);
有色金屬:SMA(II2,3,1),COLORLIRED,LINETHICK1;
JJ:=( "399139$ CLOSE "-LLV("399139$ LOW ",N))/(HHV("399139$ HIGH ",N)-LLV("399139$ LOW ",N))*100;
JJ1:=SMA(JJ,5,1);
JJ2:=SMA(JJ1,3,1);
醫(yī)藥:SMA(JJ2,3,1),COLORLIMAGENTA,LINETHICK1;
通達信板塊指數(shù)指標公式摘抄 3
A:=REF(HY_INDEXC,1);VAR1:=SMA(HY_INDEXA,10,1)/10000;VAR2:=REF(VAR1,1);
行業(yè)漲幅:IF(A>0,(HY_INDEXC-A)*100/A,0),NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLOR00C0C0;
HYDB:=DRAWKLINE(HY_INDEXH,HY_INDEXO,HY_INDEXL,HY_INDEXC);
STICKLINE(VAR1>VAR2,HY_INDEXO,HY_INDEXC,2.5,0),COLORRED;
STICKLINE(VAR1 趨勢線:MA(HY_INDEXC,20),LINETHICK2,COLORMAGENTA;短線操作線:MA(HY_INDEXC,3),COLORWHITE; 板塊指數(shù):HY_INDEXC,LINETHICK0; IF(趨勢線>REF(趨勢線,1),趨勢線,DRAWNULL),LINETHICK2,COLORMAGENTA; IF(趨勢線<=REF(趨勢線,1),趨勢線,DRAWNULL),LINETHICK2,COLORCYAN; 漲家數(shù):HY_INDEXADV,NODRAW,COLORRED;跌家數(shù):HY_INDEXDEC,NODRAW,COLORGREEN; 【通達信板塊指數(shù)指標公式摘抄】相關(guān)文章: 同花順黃金線紅綠波段提示多空趨勢的指標公式總結(jié)06-19 《板塊的運動》說課稿07-29 地理說課稿《板塊的運動》07-27 數(shù)學《指數(shù)與指數(shù)函數(shù)》教案02-25 珠寶銷售總結(jié)板塊通用10-14 初中地理說課稿:板塊的運動11-05 初中地理《板塊的運動》說課稿07-27 地理說課稿《板塊的運動》3篇07-27 超市指標口號11-10