您现在的位置:程序化交易>> 股票公式>> 同花顺>> 同花顺公式>>正文内容

大盘底个股底比较指标公式[同花顺公式]

相关标签:

 

同花顺FZ超旨指标源码

 

 

原理解析:


 

 

 

 来源:程序化99( WWW.CXH99.COM )

源码:

DBIAS:=(INDEXC-MA(INDEXC,13))/MA(INDEXC,13)*100;
大盘底:IF(REF(DBIAS,1)<-5 AND DBIAS>-5,100,0),STICK,LINETHICK3,coloryellow;
STICKLINE(DBIAS<-5,50,0,4,0),COLOR0099CC;
GBIAS:=(C-MA(C,13))/MA(C,13)*100;
个股底:IF(REF(GBIAS,1)<-8 AND GBIAS>-8,80,0),STICK,LINETHICK2,COLORFFFF11;
STICKLINE(GBIAS<-8,30,0,3,0),COLORFF9900;
VARA:=IF(REF(L,1)<=LLV(L,120) AND HHV(C,120)/LLV(C,120)>1.25 AND C>O AND HIGH>LOW+0.04,4,0);
探底:IF(VARA>0,-40,0),COLOR00FF00,STICK,LINETHICK3;A3:=REF(HHV(INDEXC,30),1);
B3:=REF(LLV(INDEXC,30),1);
大盘趋势:100*(INDEXC-B3)/(A3-B3),colorred;
A4:=REF(HHV(C,30),1);
B4:=REF(LLV(C,30),1);
个股趋势:100*(C-B4)/(A4-B4),COLORA6157E;
底线:0,colorgreen;
顶线:100,colorgreen;
A1:=LLV(H,250);
MYP:100*(C-A1)/A1,COLORFF00FF;
A2:=HHV(H,250);
MYL:100*(A2-C)/C,COLOR66FF33;
VARB:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);
VARC:=EMA(IF(C< EMA(C,250),VARB*1000,VARB*10),3);
VARD:=EMA(IF(L<=LLV(L,30),VARC/2+HHV(VARC,30),0),3)/618;
q:IF(VARD>100,-25,0),STICK,COLOR99FFCC,LINETHICK3;
VAR1:=AMOUNT/VOL/100;
VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:=SUM(AMOUNT,7)/VAR1/100;
VAR4:=DMA(VAR2,VOL/VAR3);
VAR5:=(CLOSE-VAR4)/VAR4*100;
VAR6:=MA(VAR5,20)+STD(VAR5,20);
VAR7:=MA(VAR5,20)+1.732*STD(VAR5,20);
BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
VAR8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K1:=SMA(VAR8,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
VAR9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=SMA(VAR9,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
STICKLINE(REF(BIAS21,1)>=5 AND CROSS(VAR6,VAR5) AND REF(J1,1)>80 AND REF(J2,1)>80,100,0,4,0),colorblue;
STICKLINE(REF(BIAS21,1)>=5 AND CROSS(VAR7,VAR5) AND REF(J1,1)>80 AND REF(J2,1)>80 ,100,0,4,0),colorblue;
VAR10:=REF(CLOSE,1.5);
VAR11:=SMA(MAX(CLOSE-VAR10,0),6,1)/SMA(ABS(CLOSE-VAR10),6,1)*100;
STICKLINE((REF(VAR11,1)>80) AND (VAR11<79),70,0,4,0),COLORDDDDFF;
VAR12:=REF(CLOSE,1);
VAR13:=SMA(MAX(CLOSE-VAR12,0),6,1)/SMA(ABS(CLOSE-VAR12),6,1)*100;
STICKLINE(CROSS(84,VAR13),50,0,4,0),COLORFFCC00;
TIPTEXT(ISNULL(REFX(&CLOSE,1)),0,' WWW.CXH99.COM '),colorred;
TIPTEXT(ISNULL(REF(CLOSE,1)),0,'同花顺程序化交易');


 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 1145508240  点击这里给我发消息进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容