最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 飞狐公式 > 飞狐黄金白银令指标公式

飞狐黄金白银令指标公式

来源:网络 点击: 时间:2022-12-27 10:03:07

var11:=(2*c+o+h+l)/5;
var12:=vol;
m8:=sum(var11*var12,8)/sum(var12,8);
m13:=sum(var11*var12,13)/sum(var12,13);
m21:=sum(var11*var12,21)/sum(var12,21);
r1:=c;
r2:=llv(low,45);
r3:=hhv(high,45);
y1:=c;
y2:=llv(low,144);
y3:=hhv(high,144);
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV1,3,1),linethick1,colorff00ff;
D:=SMA(K,3,1),linethick2,coloryellow;
RSVr:=((r1-r2)/(r3-r2))*100;
Kr:=SMA(RSVr,3,1),colorred;
Dr:=SMA(Kr,3,1),coloryellow;
RSVy:=((y1-y2)/(y3-y2))*100;
Ky:=SMA(RSVy,3,1),colorccee33;
Dy:=SMA(Ky,3,1),coloryellow;
X1:=m8;
X2:=m13;
X3:=m21;
XX:=C>X2 AND C>X2 ,;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*100,;
DIFF:= EMA(CLOSE,8) - EMA(CLOSE,21);
DEA:= EMA(DIFF,8);
MACD:= 2*(DIFF-DEA);
J13:=m8-m21,;
K13:=SMA(J13,3,1), ;
D13:=SMA(K13,3,1), ;
MACD13:=4*(k13-D13);
js:= MACD>0 AND K>D AND RSI1>50 AND DR<60 AND dy<60 AND XX>0 and macd13>0 and
macd13>ref(macd13,1);
XG:= js>0 and cross(k,d) and cross(macd,0)and ma(v,5)>ma(v,40);
短:=d,color00FF00,LINETHICK1;
短1:=ref(d,1),colorred,LINETHICK1;
中:=dr,coloryellow,LINETHICK1;
中1:=ref(dr,1),colorf0f000;
长:=dy,colorFF00FF,LINETHICK1;
长1:=ref(dy,1),colorFF00FF,LINETHICK1;
aaa:=cross(d,ref(d,2))and 短1<50 and dr>ref(dr,1)and dy>ref(dy,1) and d<30 and dr<20 and dy <20 ;
黄金令:STICKLINE(aaa>0,0,50,6,0),coloryellow;
白银令:STICKLINE(xg>0,0,50,6,0),colorwhite;
短期主力:d,color00FF00,LINETHICK1;
中期主力:dr,color0099ff,LINETHICK1;
长期主力:dy,colorFF00FF,LINETHICK1;
90;10;

飞狐黄金白银令指标公式

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top