不错的权证指标公式源码[同花顺公式]
相关标签: 权证短线指标 、 权证短线指标网 、 他项权证 、 权证 、 认股权证 、 国有土地使用权证 、 他项权证办理流程 、 房地产权证 、 土地使用权证 、
不错的权证指标
注意:最好在5分钟线操作为妥(看不了5分钟线的朋友不要操作;不使用软件作股票的更不能买)。赚20%卖出、赚2%也卖出、亏1%还要卖出(只要趋势走坏,不卖会亏的更大).使用方法见图:
不错的权证指标公式源码
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),10,1),colorred;
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)));
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),10,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),10,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),12,0),colorblue;
YC_AA:=(O+C)/2;
趋势线:=DMA(YC_AA,VOL/SUM(VOL,8));
强势线:=DMA(YC_AA,VOL/SUM(VOL,36));
强牛线:=DMA(YC_AA,VOL/SUM(VOL,70));
PARTLINE(趋势线,趋势线<ref(趋势线,1),RGB(0,0,255),趋势线>ref(趋势线,1),RGB(255,255,255)),LINETHICK2,colorblue;
PARTLINE(强势线,强势线>ref(强势线,1),RGB(255,255,0),强势线<ref(强势线,1),RGB(0,0,255));
PARTLINE(强牛线,强牛线>ref(强牛线,1),RGB(255,0,0),强牛线<ref(强牛线,1),RGB(0,0,255));
============================
源码解析:
VAR2赋值:((收盘价 > 昨收) AND (收盘价 > 2日前的收盘价))
VAR3赋值:((昨日VAR2 AND (收盘价 <= 昨收)) AND (收盘价 >= 2日前的收盘价))
VAR4赋值:((昨日VAR3 AND (收盘价 >= 昨收)) AND (收盘价 <= 2日前的收盘价))
VAR5赋值:((昨日VAR4 AND (收盘价 <= 昨收)) AND (收盘价 >= 2日前的收盘价))
VAR6赋值:((昨日VAR5 AND (收盘价 >= 昨收)) AND (收盘价 <= 2日前的收盘价))
VAR7赋值:((昨日VAR6 AND (收盘价 <= 昨收)) AND (收盘价 >= 2日前的收盘价))
VAR8赋值:((昨日VAR7 AND (收盘价 >= 昨收)) AND (收盘价 <= 2日前的收盘价))
VAR9赋值:((昨日VAR8 AND (收盘价 <= 昨收)) AND (收盘价 >= 2日前的收盘价))
VARA赋值:((昨日VAR9 AND (收盘价 >= 昨收)) AND (收盘价 <= 2日前的收盘价))
VARB赋值:((昨日VARA AND (收盘价 <= 昨收)) AND (收盘价 >= 2日前的收盘价))
VARC赋值:((昨日VARB AND (收盘价 >= 昨收)) AND (收盘价 <= 2日前的收盘价))
VARD赋值:((昨日VARC AND (收盘价 <= 昨收)) AND (收盘价 >= 2日前的收盘价))
//文章来至程序化交易网 CXH99.COM//当满足条件(((((((((((VAR2ORVAR3)ORVAR4)ORVAR5)ORVAR6)ORVAR7)ORVAR8)ORVAR9)ORVARA)ORVARB)ORVARC)ORVARD)时,在收盘价和昨收位置之间画柱状线,宽度为10,1不为0则画空心柱.,画红色
VARE赋值:((收盘价 < 昨收) AND (收盘价 < 2日前的收盘价))
VARF赋值:((昨日VARE AND (收盘价 >= 昨收)) AND (收盘价 <= 2日前的收盘价))
VAR10赋值:((昨日VARF AND (收盘价 <= 昨收)) AND (收盘价 >= 2日前的收盘价))
VAR11赋值:((昨日VAR10 AND (收盘价 >= 昨收)) AND (收盘价 <= 2日前的收盘价))
VAR12赋值:((昨日VAR11 AND (收盘价 <= 昨收)) AND (收盘价 >= 2日前的收盘价))
VAR13赋值:((昨日VAR12 AND (收盘价 >= 昨收)) AND (收盘价 <= 2日前的收盘价))
VAR14赋值:((昨日VAR13 AND (收盘价 <= 昨收)) AND (收盘价 >= 2日前的收盘价))
VAR15赋值:((昨日VAR14 AND (收盘价 >= 昨收)) AND (收盘价 <= 2日前的收盘价))
VAR16赋值:((昨日VAR15 AND (收盘价 <= 昨收)) AND (收盘价 >= 2日前的收盘价))
VAR17赋值:((昨日VAR16 AND (收盘价 >= 昨收)) AND (收盘价 <= 2日前的收盘价))
VAR18赋值:((昨日VAR17 AND (收盘价 <= 昨收)) AND (收盘价 >= 2日前的收盘价))
VAR19赋值:((昨日VAR18 AND (收盘价 >= 昨收)) AND (收盘价 <= 2日前的收盘价))
当满足条件(((((((((((VAREORVARF)ORVAR10)ORVAR11)ORVAR12)ORVAR13)ORVAR14)ORVAR15)ORVAR16)ORVAR17)ORVAR18)ORVAR19)时,在收盘价和昨收位置之间画柱状线,宽度为10,1不为0则画空心柱.,COLORFF9900
VAR1A赋值:(昨日(((((((((((VAREORVARF)ORVAR10)ORVAR11)ORVAR12)ORVAR13)ORVAR14)ORVAR15)ORVAR16)ORVAR17)ORVAR18)ORVAR19) AND VAR2)
当满足条件VAR1A时,在昨收和2日前的收盘价位置之间画柱状线,宽度为10,0不为0则画空心柱.,画黄色
AA赋值:(昨日(((((((((((VAR2ORVAR3)ORVAR4)ORVAR5)ORVAR6)ORVAR7)ORVAR8)ORVAR9)ORVARA)ORVARB)ORVARC)ORVARD) AND VARE)
当满足条件AA时,在昨收和2日前的收盘价位置之间画柱状线,宽度为12,0不为0则画空心柱.,画蓝色
YC_AA赋值:(开盘价+收盘价)/2
趋势线赋值:以成交量(手)/成交量(手)的8日累和为权重YC_AA的动态移动平均
强势线赋值:以成交量(手)/成交量(手)的36日累和为权重YC_AA的动态移动平均
强牛线赋值:以成交量(手)/成交量(手)的70日累和为权重YC_AA的动态移动平均
PARTLINE(趋势线,趋势线<昨日趋势线,自定色,趋势线>昨日趋势线,自定色),线宽为2,画蓝色
PARTLINE(强势线,强势线>昨日强势线,自定色,强势线<昨日强势线,自定色)
PARTLINE(强牛线,强牛线>昨日强牛线,自定色,强牛线<昨日强牛线,自定色)
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容