指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:财神到===给你五个发财公式 飞狐财神公式指标 源码
财神到===给你五个发财公式!
{好公式网提示:仅仅提供源码并无公式提供下载}
{=========================================================}
{拐头向上}
//如ma20与ma120将死不死拐头向上,同时ma120趋势向上//
ma20:=ma(c,20);
ma120:=ma(c,120);
vv:=(ma20-ma120)/ma120<0.02 and (ma20>ref(ma20,1) and ref(ma20,1)< ref(ma20,2)) and
(ma120>ref(ma120,1) and ref(ma120,1)> ref(ma120,2));
xg:if(vv,1,0),colorffffff;
//如ma5与ma10将死不死拐头向上,同时ma10趋势向上//
ma5:=ma(c,5);
ma10:=ma(c,10);
vv510:=(ma5-ma10)/ma10<0.02 and (ma5>ref(ma5,1) and ref(ma5,1)< ref(ma5,2)) and
(ma10>ref(ma10,1) and ref(ma10,1)> ref(ma10,2));
xg510:if(vv510,1,0),colorred;
//如ma10与ma20将死不死拐头向上,同时ma20趋势向上//
ma10:=ma(c,10);
ma20:=ma(c,20);
vv1020:=(ma10-ma20)/ma20<0.02 and (ma10>ref(ma10,1) and ref(ma10,1)< ref(ma10,2)) and
(ma20>ref(ma20,1) and ref(ma20,1)> ref(ma20,2));
xg1020:if(vv1020,1,0),colorffa2af;
{=================================================================}
//第二波
var1:3*sma((close-llv(low,34))/(hhv(high,90)-llv(low,29))*100,20,1)+2*sma(sma((close-llv(low,34))/(hhv(high,90)-llv(low,29))*100,20,1),15,1);
var2:3*sma((open-llv(low,34))/(hhv(high,90)-llv(low,29))*100,20,1)+2*sma(sma((open-llv(low,34))/(hhv(high,90)-llv(low,29))*100,20,1),15,1);
v1:reverse(var1);
v2:reverse(var2);
中rsv27:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;
中k:sma(中rsv27,3,1),color00ffff,linethick1;
长rsv:=(close-llv(low,89))/(hhv(high,89)-llv(low,89))*100;
长k:sma(长rsv,3,1),colorwhite,linethick1;
v中k:reverse(中k),coloraaaddd,linethick1;
v长k:reverse(长k),colorgreen,linethick1;
v0:0,colorffa2af,linethick2;
v100:100,colorgray;
v100a:-100,colorgray;
v50:50,colorffffff;
v50a:-50,colorffffff;
v20:20,colorgray;
v20a:-20,colorgray;
v80:80,colorgray;
v80a:-80,colorgray;
{==============================================================================}
{二次金叉选股}
{1、首先界定金叉条件:
//jc:=count(cross(diff,dea),barslast(dea>=0));
//2、定位金叉的次数:
//cs:=cross(diff,dea) and dea<0 and jc=2;
//3、完整的选股公式:}
diff:=ema(close,12)-ema(close,26);
dea:=ema(diff,9);
jc:=count(cross(diff,dea),barslast(dea>=0));
二次金叉选股:cross(diff,dea) and dea<0 and jc=2;
{=========================================================================}
{macd空头二次叉}
diff:=ema(close,12) - ema(close,26);
dea:=ema(diff,9);
macd:=2*(diff-dea),colorstick;
a:=if(cross(0,dea),1,0);
a1:=if(diff<0 and cross(diff,dea),1,0);
ss:=if(a,sum(a1,0),0);
ssb:=hhv(ss,0);
sss:=sum(a1,0);
jc:if(sss-ssb=2 and sss>ref(sss,1),10,0)
{=================================================================}
{tzdw调整到位a}
fl:forcast(close,8);
ma120:ma(close,120),pointdot,linethick3;
ma30:=ma(close,30);
ma250:ma(close,250),pointdot,linethick3;
ma600:=ma(close,600);
hh:=ma(fl,20);
fly:=ma(fl,5);
a:=(hhv(open,20) * 0.998);
b:=llv(close,20);
stickline((a <= ref(a,1)),a,b,6,0),colora682b0;
stickline((b >= ref(b,1)),b,a,6,0),color00ff00;
drawtext(filter(((((((((ref((hh < fly),1) and ((hhv(high,8) / llv(low,8)) > 1.12)) and (hhv(high,30) >= ref(llv(low,30),1))) and ((ref(open,4) / ref(close,4)) < 1.05)) and ((open / ref(close,1)) < 1.02)) and (ref(high,1) >= ref(low,2))) and (hh > fly)) and (((vol / capital) * 100) > 0.8)) and (close > open)),5),low,'★低买'),colorfff00f;
drawtext(filter(((((cross(fl,fly) and ((open / b) < 1.1)) and (ma120 > ma250)) and (ref(close,1) < ref(open,1))) and (close > open)),5),low,'★低买'),colorf00fff;
drawtext(filter(((cross(a,fl) and (high >= ref(low,1))) and (fl < ref(fl,1))),3),
(high + (high * 0.01)),'★高抛');
{=======================================================================}
>>>使用本站搜索工具可以找到更多“财神到===给你五个发财公式 飞狐财神公式指标 源码”