您现在的位置:  股票知识 > 股票公式 > 正文
南财搜索

2017选股公式成功率排行 飞狐江恩时间指标公式(2)

2017-01-05 16:24    股票知识   zhishi.southmoney.com
    

stickline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),close,open,5,0),coloryellow;

drawline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),low - (low)*(0.08),(ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),low - (low)*(0.05),0),linethick5,color070084;

drawline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),low - (low)*(0.08),(ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),low - (low)*(0.05),0),linethick4,color0000a3;

drawline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),low - (low)*(0.08),(ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),low - (low)*(0.05),0),linethick3,color0000b7;

drawline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),low - (low)*(0.08),(ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),low - (low)*(0.05),0),linethick2,color0000cd;

drawline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),low - (low)*(0.08),(ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),low - (low)*(0.05),0),linethick1,color077bf3;

stickline((open >= close),close,open,5,0),colorff5b00;

stickline((open >= close),close,open,4.5,0),colorff6c00;

stickline((open >= close),close,open,4,0),colorff7b00;

stickline((open >= close),close,open,3.5,0),colorff9c00;

stickline((open >= close),close,open,2,0),colorffbe00;

stickline((open >= close),close,open,1,0),colorffcc00;

stickline((open >= close),close,open,0.5,0),colorcccccc;

stickline((close >= open),close,open,5,0),color070084;

stickline((close >= open),close,open,4.5,0),color0000a3;

stickline((close >= open),close,open,4,0),color0000b7;

stickline((close >= open),close,open,3.5,0),color0000cd;

stickline((close >= open),close,open,2,0),color0000e9;

stickline((close >= open),close,open,1,0),color0754e9;

stickline((close >= open),close,open,1,0),color076ef3;

stickline((close >= open),close,open,0.5,0),color077bf3;

stickline((close > open),open,low,0.5,0),color0726ca;

stickline((close > open),close,high,0.5,0),color0726ca;

stickline((open > close),close,low,0.5,0),colorde9100;

stickline((open > close),open,high,0.5,0),colorde9100;

买:drawtext((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),low - (low)*(0.05),'买'),colorred;

卖:drawtext((ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),low - (low)*(0.03),'卖'),color66ff00;

stickline((ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),close,open,5,0),color66ff00;

stickline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),close,open,5,0),coloryellow;

X:=BARSLAST(SYSPARAM(2)=BARPOS)+1;

NS:=IF(HHV(ABS(HHV(CLOSE,6)/LLV(CLOSE,6)-1),6)>10/100,3,6);

N1:=IF(DATATYPE=2,NS*48,IF(DATATYPE=3,NS*16,IF(DATATYPE=4,NS*8,IF(DATATYPE=5,NS*4,NS))));

MM:=IF(STKTYPE=0  OR VOL=0,MA(CLOSE,N1),SUM(AMOUNT,N1)/SUM(VOL,N1)/100);

M1:=REF(MM,1);

买入:=IF(CROSS(CLOSE,M1),M1,0);

卖出:=IF(CROSS(M1,CLOSE),M1,0);

YE:=BARPOS;

费用:=5/1000;

DW:=BARSLAST(卖出>0);

EX10:=HHV(买入>0,DW+1);

BJ:=IF(EX10>REF(EX10,1),买入,0);

SJ:=IF(EX10<REF(EX10,1),卖出,0);

BNN:=BARSLAST(BJ>0);

CC:=REF(BJ,BNN);

盈利:=SJ*(1-费用)-CC*(1+费用);

YL:=SUM(IF(SJ>0,盈利,0),0);

每股盈利:YL,LINETHICK0,PRECISION2,colorFFFFFF;

CN:=SUM(IF(SJ>0 AND REF(CC,1)>0,1,0),0);

CG:=SUM(IF(SJ>0 AND 盈利>0,1,0),0);

成功率:100*CG/CN,LINETHICK0,PRECISION1,color88FF;
(股票知识网zhishi.southmoney.com)

    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号