公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

波段参考+选股指标 (源码)

2018-2-1 08:31| 发布者: admin| 查看: 53| 评论: 0

大智慧波段参考+选股指标公式股票软件源码如下:

N:=10;F:=21;
Var1:=HHV(HIGH,9)-LLV(LOW,9);
Var2:=HHV(HIGH,9)-CLOSE;
Var3:=CLOSE-LLV(LOW,9);
Var4:=Var2/Var1*100-70;
Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var6:=(2*CLOSE+HIGH+LOW)/4;
Var7:=SMA(Var3/Var1*100,3,1);
Var8:=LLV(LOW,34);
Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);
VarA:=IF(Var9>100,Var9-100,0);
VarB:=HHV(HIGH,34);
VarC:=EMA((Var6-Var8)/(VarB-Var8)*100,13);
VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2);
VarE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VarF:=MA(VarE,3);
Var10:=REF(VarF,1);
Var11:=EMA(VarD,N);
生命线:EMA(VarD,N), COLORyellow;
{www.gpxiazai.com 股票软件下载网_大智慧股票指标公式}
STICKLINE(CROSS(VarC,VarD) AND VarC>VarD AND VarC<18,25,0,1,0), COLORRED;
drawicon(CROSS(Varc,Var11)AND Vard<40,VarC-4,7);
DRAWTEXTABS(75 ,20 ,ifs(Vard>Var11 AND VarC>VarD,'建议持有',' ')),COLORred,LINETHICK5;
DRAWTEXTABS(75 ,20 ,ifs(Vard>Var11 AND VarC>VarD,' ','建议观望 ')),COLORblue,LINETHICK5;
DRAWTEXTABS(75 ,45 ,ifs(CROSS(Varc,Var11)AND Vard<40,'买入',' ')),COLORred,LINETHICK5;
DRAWTEXTABS(75 ,45 ,ifs(CROSS(Var11,Varc) AND Varc>60,'卖出 ',' ')),COLOrblue,LINETHICK5;
drawicon(CROSS(Var11,Varc) AND Varc>60,Vard+11,8);
STICKLINE(FILTER(CROSS(VarD,VarC),10) AND VarD>79 AND VarC>79,100,75,3,0), COLORGREEN;
STICKLINE(VarC-VarD>0,VarC,VarD,8,1), COLORRED;
STICKLINE(VarC-VarD<0,VarC,VarD,8,0), COLORGREEN;
20, COLORred;
80, COLORgreen;

选股公式:
N:=10;F:=21;
Var1:=HHV(HIGH,9)-LLV(LOW,9);
Var2:=HHV(HIGH,9)-CLOSE;
Var3:=CLOSE-LLV(LOW,9);
Var4:=Var2/Var1*100-70;
Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var6:=(2*CLOSE+HIGH+LOW)/4;
Var7:=SMA(Var3/Var1*100,3,1);
Var8:=LLV(LOW,34);
Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);
VarA:=IF(Var9>100,Var9-100,0);
VarB:=HHV(HIGH,34);
VarC:=EMA((Var6-Var8)/(VarB-Var8)*100,13);
VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2);
VarE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VarF:=MA(VarE,3);
Var10:=REF(VarF,1);
Var11:=EMA(VarD,N);
生命线:EMA(VarD,N), COLORyellow;
量价线1:Vard,COLORgreen;
量价线2:Varc,COLORblue;
STICKLINE(CROSS(VarC,VarD) AND VarC>VarD AND VarC<18,25,0,1,0), COLORRED;
drawicon(CROSS(Varc,Var11)AND Vard<40,VarC-4,7);
DRAWTEXTABS(75 ,20 ,ifs(Vard>Var11 AND VarC>VarD,'建议持有',' ')),COLORred,LINETHICK5;
DRAWTEXTABS(75 ,20 ,ifs(Vard>Var11 AND VarC>VarD,' ','建议观望 ')),COLORblue,LINETHICK5;
DRAWTEXTABS(75 ,45 ,ifs(CROSS(Varc,Var11)AND Vard<40,'买入',' ')),COLORred,LINETHICK5;
DRAWTEXTABS(75 ,45 ,ifs(CROSS(Var11,Varc) AND Varc>60,'卖出 ',' ')),COLOrblue,LINETHICK5;
drawicon(CROSS(Var11,Varc) AND Varc>60,Vard+11,8);
STICKLINE(FILTER(CROSS(VarD,VarC),10) AND VarD>79 AND VarC>79,100,75,3,0), COLORGREEN;
STICKLINE(VarC-VarD>0,VarC,VarD,8,1), COLORRED;
STICKLINE(VarC-VarD<0,VarC,VarD,8,0), COLORGREEN;
20, COLORred;
80, COLORgreen;

大智慧波段参考+选股指标公式


鲜花

握手

雷人

路过

鸡蛋
返回顶部