跌幅涨幅选股指标源码[其他软件公式]
相关标签: 跌幅涨幅选股公式源码,通达信跌幅选股公式 、 跌幅选股公式 、 飞狐天下无敌选股指标 、 飞狐量比选股 、 飞狐最好的选股指标 、 飞狐选股 、 飞狐二次握手选股 、 周线kdj按涨幅榜选股 、 涨幅榜选股 、
跌幅涨幅选股公式源码
短期跌幅:(CLOSE-HHV(CLOSE,HHVBARS(CLOSE,0)/3))/HHV(CLOSE,HHVBARS(CLOSE,0)/3)*100,LINETHICK3,PRECISION1;
{短期跌幅:(CLOSE-ref(CLOSE,HHVBARS(CLOSE,0)/3-1))/ref(CLOSE,HHVBARS(CLOSE,0)/3-1)*100,LINETHICK3;}
中期跌幅:(ref(CLOSE,HHVBARS(CLOSE,0)/3)-ref(HHV(CLOSE,HHVBARS(CLOSE,0)/3),HHVBARS(CLOSE,0)/3))/ref(HHV(CLOSE,HHVBARS(CLOSE,0)/3),HHVBARS(CLOSE,0)/3)*100,LINETHICK3,PRECISION1;
{中期跌幅:(ref(CLOSE,HHVBARS(CLOSE,0)/3)-ref(CLOSE,HHVBARS(CLOSE,0)/3*2-1))/ref(CLOSE,HHVBARS(CLOSE,0)/3*2-1)*100,LINETHICK3;}
长期跌幅:(ref(CLOSE,HHVBARS(CLOSE,0)/3*2)-ref(HHV(CLOSE,HHVBARS(CLOSE,0)/3),HHVBARS(CLOSE,0)/3*2))/ref(HHV(CLOSE,HHVBARS(CLOSE,0)/3),HHVBARS(CLOSE,0)/3*2)*100,LINETHICK3,PRECISION1;
{长期跌幅:(ref(CLOSE,HHVBARS(CLOSE,0)/3*2)-HHV(CLOSE,0))/HHV(CLOSE,0)*100,LINETHICK3;}
D3:(CLOSE-HHV(CLOSE,3))/HHV(CLOSE,3)*100,LINETHICK0,PRECISION1;
D5:=(CLOSE-HHV(CLOSE,5))/HHV(CLOSE,5)*100,PRECISION1;
D10:=(CLOSE-HHV(CLOSE,10))/HHV(CLOSE,10)*100,PRECISION1;
D20:=(CLOSE-HHV(CLOSE,20))/HHV(CLOSE,20)*100,PRECISION1;
D30:=(CLOSE-HHV(CLOSE,30))/HHV(CLOSE,30)*100,PRECISION1;
D60:=(CLOSE-HHV(CLOSE,60))/HHV(CLOSE,60)*100,PRECISION1;
D120:=(CLOSE-HHV(CLOSE,120))/HHV(CLOSE,120)*100,PRECISION1;
D240:=(CLOSE-HHV(CLOSE,240))/HHV(CLOSE,240)*100,PRECISION1;
D360:=(CLOSE-HHV(CLOSE,360))/HHV(CLOSE,360)*100,PRECISION1;
短期涨幅:(CLOSE-LLV(CLOSE,HHVBARS(CLOSE,0)/3))/LLV(CLOSE,HHVBARS(CLOSE,0)/3)*100,LINETHICK3,PRECISION1;
中期涨幅:(ref(CLOSE,HHVBARS(CLOSE,0)/3)-ref(llV(CLOSE,HHVBARS(CLOSE,0)/3),HHVBARS(CLOSE,0)/3))/ref(llV(CLOSE,HHVBARS(CLOSE,0)/3),HHVBARS(CLOSE,0)/3)*100,LINETHICK3,PRECISION1;
长期涨幅:(ref(CLOSE,HHVBARS(CLOSE,0)/3*2)-ref(llV(CLOSE,HHVBARS(CLOSE,0)/3),HHVBARS(CLOSE,0)/3*2))/ref(llV(CLOSE,HHVBARS(CLOSE,0)/3),HHVBARS(CLOSE,0)/3*2)*100,LINETHICK3,PRECISION1;
Z3:(CLOSE-LLV(CLOSE,3))/LLV(CLOSE,3)*100,LINETHICK0,PRECISION1;
Z5:=(CLOSE-LLV(CLOSE,5))/LLV(CLOSE,5)*100,PRECISION1;
Z10:=(CLOSE-LLV(CLOSE,10))/LLV(CLOSE,10)*100,PRECISION1;
Z20:=(CLOSE-LLV(CLOSE,20))/LLV(CLOSE,20)*100,PRECISION1;
Z30:=(CLOSE-LLV(CLOSE,30))/LLV(CLOSE,30)*100,PRECISION1;
Z60:=(CLOSE-LLV(CLOSE,60))/LLV(CLOSE,60)*100,PRECISION1;
Z120:=(CLOSE-LLV(CLOSE,120))/LLV(CLOSE,120)*100,PRECISION1;
Z240:=(CLOSE-LLV(CLOSE,240))/LLV(CLOSE,240)*100,PRECISION1;
Z360:=(CLOSE-LLV(CLOSE,360))/LLV(CLOSE,360)*100,PRECISION1;
{提示文字--纯属胡诌}
//选股:短期跌幅>中期跌幅 AND 中期跌幅>长期跌幅,COLORYELLOW;
选股:短期跌幅<MIN(中期跌幅,长期跌幅) AND 短期涨幅<MIN(中期涨幅,长期涨幅) AND 短期跌幅>ref(短期跌幅,1) AND 短期涨幅>ref(短期涨幅,1),COLORYELLOW;
DRAWTEXT(选股,0*1.005,'↑\n↑\n↑'),COLORRED,ALIGN0;
买点A:CROSS(短期跌幅,MIN(中期跌幅,长期跌幅)),COLOR0066CC;
买点B:CROSS(短期涨幅,MIN(中期涨幅,长期涨幅)),COLOR0033FF;
卖点A:CROSS(MIN(中期跌幅,长期跌幅),短期跌幅),COLORFF6633;
卖点B:CROSS(MIN(中期涨幅,长期涨幅),短期涨幅),COLORFFCC33;
DRAWTEXT(买点A,MIN(中期跌幅,长期跌幅)*0.95,'买\n点\nA'),COLOR0066CC,ALIGN0;
DRAWTEXT(买点B,MIN(中期涨幅,长期涨幅)*0.95,'买\n点\nB'),COLOR0033FF,ALIGN0;
DRAWTEXT(卖点A,MIN(中期跌幅,长期跌幅)*1.07,'卖\n点\nA'),COLORFF6633,ALIGN0,PXUP100;
DRAWTEXT(卖点B,MIN(中期涨幅,长期涨幅)*1.07,'卖\n点\nB'),COLORFFCC33,ALIGN0,PXUP100;
加仓A:CROSS(短期跌幅,MAX(中期跌幅,长期跌幅)),COLOR0099CC;
加仓B:CROSS(短期涨幅,MAX(中期涨幅,长期涨幅)),COLOR6666CC;
减仓A:CROSS(MAX(中期跌幅,长期跌幅),短期跌幅),COLOR33FF66;
减仓B:CROSS(MAX(中期涨幅,长期涨幅),短期涨幅),COLORCC0099;
DRAWTEXT(加仓A,MAX(中期跌幅,长期跌幅)*0.95,'加\n仓\nA'),COLOR0099CC,ALIGN0;
DRAWTEXT(加仓B,MAX(中期涨幅,长期涨幅)*0.95,'加\n仓\nB'),COLOR6666CC,ALIGN0;
DRAWTEXT(减仓A,MAX(中期跌幅,长期跌幅)*1.07,'减\n仓\nA'),COLOR33FF66,ALIGN0,PXUP100;
DRAWTEXT(减仓B,MAX(中期涨幅,长期涨幅)*1.07,'减\n仓\nB'),COLORCC0099,ALIGN0,PXUP100;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容