飞狐短线工作线主图指标公式,飞狐MACD量价平台主图指标公式
admin888
|飞狐短线工作线主图指标公式,飞狐MACD量价平台主图指标公式
飞狐短线工作线主图指标公式
ma5:ema(c,5),colorwhite;
工作线:ema(c,14),colorf00ff0,linethick1;
二号线:ema(c,25),color00ff00,linethick1;
九号线:eMA(CLOSE,99),linethick1;
MA120eMA(CLOSE,120),linethick1;
生命线:eMA(CLOSE,453),linethick1,colorred;
difF:=( EMA(CLOSE,7) - EMA(CLOSE,19));
DEA:=EMA(DIFF,9);
macd:=0.90*(DIFF-DEA);
tj:=(diff>=dea);
tj1:=(diff>=0);
stickline(tj,h,l,0.5,0),COLORyellow;
stickline(tj,o,c,4,0),COLORyellow;
stickline(tj1 and tj,h,l,0.5,0),colorf00ff0;
stickline(tj1 and tj,o,c,4,1),colorf00ff0;
stickline(diff
stickline(diff
Var1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(Var1,13)-EMA(Var1,73);
SD:= EMA(SK,2);
drawtext((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)) ,l*0.99,'短线'),colorred;
stickline((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)),h,l,0.5,0),colorred;
stickline((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)),o,c,6,1),linethick3,colorred;
飞狐MACD量价平台主图指标公式
INPUT:N(18),S(26),P(12),M(9);{N为考查
量变周期,可按个人喜好设置其数值}
a:=ema(CLOSE,s);
T:=Ema(CLOSE,P);
b:=ema(a,m);
t1:=ema(t,m);
DEA:ema(T-(t1-T),2),colorff8866,LINETHICK2;//蓝,
macd>0,DEA<0diff:DEA-EMA(((a-b)-(t-t1)),1)*6,colorffff66,LINETHICK2;;
MacD_:stICKLINE(diff>DEA,diff,DEA,0.1,0),COLORccccff;
STICKLINE(diff
KLINE(O,H,L,C,0);
PARTLINE(a-b
PARTLINE(A>T AND a-b>t-t1,DEA),color00ff00,LINETHICK2;//绿,MACD<0,DEA<0
PARTLINE(A>T AND a-b
大量高价线:VALUEWHEN(V>REF(HHV(V,N),1),HIGH),LINETHICK;
PARTLINE(小量低价线=REF(小量低价线,1),小量低价线),COLORFF00FF;
PARTLINE(大量高价线=REF(大量高价线,1),大量高价线),COLOR00FFFF;
DRAWTEXT(SYSPARAM(2)=BARPOS,SYSPARAM(5),'DEA线变色的意义: ■ 红:MACD>0,DEA>0 ■ 紫:MACD>0,DEA<0 ■ 绿:MACD<0,DEA<0 ■ 蓝:MACD<0,DEA>0 '),COLORFFCCEE;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。