强牛趋势K线指标源码[其他软件公式]
相关标签: 强牛趋势K线指标源码,强牛趋势指标源码,强牛趋势指标公式,强牛趋势源码
使用方法:趋势线 由绿变红 显示字‘买’;由红变绿 显示字‘卖’;位置在变色下方
{强牛趋势K线源码}
VAR2:=((CLOSE > ref(CLOSE,1)) AND (CLOSE > ref(CLOSE,2)));
VAR3:=((ref(VAR2,1) AND (CLOSE <= ref(CLOSE,1))) AND (CLOSE >= ref(CLOSE,2)));
VAR4:=((ref(VAR3,1) AND (CLOSE >= ref(CLOSE,1))) AND (CLOSE <= ref(CLOSE,2)));
VAR5:=((ref(VAR4,1) AND (CLOSE <= ref(CLOSE,1))) AND (CLOSE >= ref(CLOSE,2)));
VAR6:=((ref(VAR5,1) AND (CLOSE >= ref(CLOSE,1))) AND (CLOSE <= ref(CLOSE,2)));
VAR7:=((ref(VAR6,1) AND (CLOSE <= ref(CLOSE,1))) AND (CLOSE >= ref(CLOSE,2)));
VAR8:=((ref(VAR7,1) AND (CLOSE >= ref(CLOSE,1))) AND (CLOSE <= ref(CLOSE,2)));
VAR9:=((ref(VAR8,1) AND (CLOSE <= ref(CLOSE,1))) AND (CLOSE >= ref(CLOSE,2)));
VARA:=((ref(VAR9,1) AND (CLOSE >= ref(CLOSE,1))) AND (CLOSE <= ref(CLOSE,2)));
VARB:=((ref(VARA,1) AND (CLOSE <= ref(CLOSE,1))) AND (CLOSE >= ref(CLOSE,2)));
VARC:=((ref(VARB,1) AND (CLOSE >= ref(CLOSE,1))) AND (CLOSE <= ref(CLOSE,2)));
VARD:=((ref(VARC,1) AND (CLOSE <= ref(CLOSE,1))) AND (CLOSE >= ref(CLOSE,2)));
STICKLINE((((((((((((VAR2 OR VAR3) OR VAR4) OR VAR5) OR VAR6) OR VAR7) OR VAR8) OR VAR9) OR VARA) OR VARB) OR VARC) OR VARD),CLOSE,ref(CLOSE,1),8,1),colorFF;
VARE:=((CLOSE < ref(CLOSE,1)) AND (CLOSE < ref(CLOSE,2)));
VARF:=((ref(VARE,1) AND (CLOSE >= ref(CLOSE,1))) AND (CLOSE <= ref(CLOSE,2)));
VAR10:=((ref(VARF,1) AND (CLOSE <= ref(CLOSE,1))) AND (CLOSE >= ref(CLOSE,2)));
VAR11:=((ref(VAR10,1) AND (CLOSE >= ref(CLOSE,1))) AND (CLOSE <= ref(CLOSE,2)));
VAR12:=((ref(VAR11,1) AND (CLOSE <= ref(CLOSE,1))) AND (CLOSE >= ref(CLOSE,2)));
VAR13:=((ref(VAR12,1) AND (CLOSE >= ref(CLOSE,1))) AND (CLOSE <= ref(CLOSE,2)));
VAR14:=((ref(VAR13,1) AND (CLOSE <= ref(CLOSE,1))) AND (CLOSE >= ref(CLOSE,2)));
VAR15:=((ref(VAR14,1) AND (CLOSE >= ref(CLOSE,1))) AND (CLOSE <= ref(CLOSE,2)));
VAR16:=((ref(VAR15,1) AND (CLOSE <= ref(CLOSE,1))) AND (CLOSE >= ref(CLOSE,2)));
VAR17:=((ref(VAR16,1) AND (CLOSE >= ref(CLOSE,1))) AND (CLOSE <= ref(CLOSE,2))); {内容来至程序化交易网 CXH99.COM}
VAR18:=((ref(VAR17,1) AND (CLOSE <= ref(CLOSE,1))) AND (CLOSE >= ref(CLOSE,2)));
VAR19:=((ref(VAR18,1) AND (CLOSE >= ref(CLOSE,1))) AND (CLOSE <= ref(CLOSE,2)));
STICKLINE((((((((((((VARE OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18) OR VAR19),CLOSE,ref(CLOSE,1),8,1),COLORFF9900;
VAR1A:=(ref((((((((((((VARE OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18) OR VAR19),1) AND VAR2);
STICKLINE(VAR1A,ref(CLOSE,1),ref(CLOSE,2),8,0)COLORYELLOW;
AA:=(ref((((((((((((VAR2 OR VAR3) OR VAR4) OR VAR5) OR VAR6) OR VAR7) OR VAR8) OR VAR9) OR VARA) OR VARB) OR VARC) OR VARD),1) AND VARE);
STICKLINE(AA,ref(CLOSE,1),ref(CLOSE,2),10,0)COLORBLUE;
YC_AA:=(OPEN+CLOSE)/2;
趋势线:DMA(YC_AA,VOL/SUM(VOL,8))LINETHICK1,;
强势线:DMA(YC_AA,VOL/SUM(VOL,36))LINETHICK1,COLORYELLOW;
强牛线:DMA(YC_AA,VOL/SUM(VOL,70))LINETHICK1,COLORRED;
如果以上指标公式不适用于您常用的行情软件
或者您想改编成选股公式,以便快速选出某种形态个股的话,
- 上一篇:筹码分布看超跌指标
- 下一篇:一图三KDJ指村源码
相关文章
-
没有相关内容