飞狐黄金分割主图指标公式,飞狐凤凰飞天指标公式
admin888
|飞狐黄金分割主图指标公式,飞狐凤凰飞天指标公式
飞狐黄金分割主图指标公式
Var1:=SYSPARAM(3)-SYSPARAM(2)+1;
Var2:=SYSPARAM(3)-BARPOS;
Var3:=HHV(HIGH,Var1);
Var4:=LLV(LOW,VaR1);
Var5:=REFX(Var3,Var2); //
主图最高价Var5:IF(SYSPARAM(3)<>SYSPARAM(1),SYSPARAM(6),Var5),COLOR0000FF;
Var6:REFX(Var4,Var2),COLOR0000FF; //主图最低价
黄191:(Var5-Var6)*0.191+Var6,COLOR0000FF,POINTDOT;
黄382:(Var5-Var6)*0.382+Var6,COLOR0000FF,POINTDOT;
黄500:(Var5-Var6)*0.500+Var6,COLOR0000FF;
黄618:(Var5-Var6)*0.618+Var6,COLOR0000FF,POINTDOT;
黄809:(Var5-Var6)*0.809+Var6,COLOR0000FF,POINTDOT;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.0381+Var6,'最低价('+NUMTOstR(Var6,2)+')'),COLOR00FF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.191+Var6,'黄金0.191('+NUMTOSTR(黄191,2)+')'),COLOR00FF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.382+Var6,'黄金0.382('+NUMTOSTR(黄382,2)+')'),COLOR00FF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.500+Var6,'黄金分割中轴('+NUMTOSTR(黄500,2)+')'),COLOR00FF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.618+Var6,'黄金0.618('+NUMTOSTR(黄618,2)+')'),COLOR00FF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.809+Var6,'黄金0.809('+NUMTOSTR(黄809,2)+')'),COLOR00FF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.981+Var6,'最高价('+NUMTOSTR(Var5,2)+')'),COLOR00FF00;
//黄金分割线──时间data1:=1+SYSPARAM(1)-1;
data21:=21+SYSPARAM(1)-1;
data34:=34+SYSPARAM(1)-1;
data55:=55+SYSPARAM(1)-1;
data89:=89+SYSPARAM(1)-1;
data144:=144+SYSPARAM(1)-1;
VERTLINE(ROUND(data1)=BARPOS),COLOR0000FF,POINTDOT;
VERTLINE(ROUND(data21)=BARPOS),COLOR0000FF,POINTDOT;
VERTLINE(ROUND(data34)=BARPOS),COLOR0000FF,POINTDOT;
VERTLINE(ROUND(data55)=BARPOS),COLOR0000FF;
VERTLINE(ROUND(data89)=BARPOS),COLOR0000FF,POINTDOT;
VERTLINE(ROUND(data144)=BARPOS),COLOR0000FF,POINTDOT;
DRAWTEXT(ROUND(data1)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,'1'),COLOR0000FF;
DRAWTEXT(ROUND(data21)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,'21'),COLOR0000FF;
DRAWTEXT(ROUND(data34)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,'34'),COLOR0000FF;
DRAWTEXT(ROUND(data55)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,'55'),COLOR0000FF;
DRAWTEXT(ROUND(data89)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,'89'),COLOR0000FF;
DRAWTEXT(ROUND(data144)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,'144'),COLOR0000FF;
DRAWTEXT(SYSPARAM(3)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,NUMTOSTR(SYSPARAM(3)-SYSPARAM(1)+1,0)),COLOR0000FF;
飞狐凤凰飞天指标公式
stICKLINE(c>0 andma(vol,55)>0,0,100,6,0),Color000000;
风险:80,colorgray,POINTDOT,linethick2;
牛熊:50,COLORFF00FF,POINTDOT,linethick2;
安全:20,ColorFF7F00,POINTDOT,linethick2;
VAR1:=((CLOSE - LLV(LOW,15))/(HHV(HIGH,15) - LLV(LOW,15)))*(100);
VAR3:=SMA(VAR1,5,1);
K11:=SMA(VAR3,3,1);D11:=SMA(K11,3,1);
STICKLINE((K11 >= D11),K11,D11,4.5,0),colorred;
STICKLINE((K11 <= D11),K11,D11,4.5,0),color00ff00;
L0:=(LOW=LLV(LOW,10));
L1:=(LOW=LLV(LOW,60));
L2:=(LOW=LLV(LOW,120));A1:=REF(CLOSE,1);
B2:=(SUM(L1,13)>=6);C1:=(((CLOSE-A1)/(A1))*(100)>9.8);D1:=(((CLOSE-LOW)/(LOW))*(100)>10);
界:=(1.382)*(LLV(LOW,120));
飞天:crOSS(CLOSE,界) AND (COUNT((-B2),13)>=1),POINTDOT,ColorFF7F00;
STICKLINE(飞天,80,0,4.5,0),ColorFF7F00;
白凤:D1 AND L1,POINTDOT,ColorWhite;
STICKLINE(白凤,70,0,4.5,0),ColorWhite;
绿凤:IF((D1 AND L1 AND C1)*(1.5),10,0),POINTDOT,ColorGreen;
STICKLINE(绿凤,60,0,4.5,0),ColorGreen;
火凤:IF((D1 AND L2 AND C1)*(2),10,0),POINTDOT,COLORRED;
STICKLINE(火凤,50,0,4.5,0),COLORRED;
金凤:IF((D1 AND L0 AND C1)*(2.5),10,0),POINTDOT,coloryellow;
STICKLINE(金凤,40,0,4.5,0),coloryellow;
彩凤:(CROSS(((CLOSE-LLV(LOW,60))/(LLV(LOW,60)))*(100),20) AND (COUNT(B2,13)>=1) AND (COUNT(白凤,8)>=1)),POINTDOT,COLORFF00FF;
STICKLINE(彩凤,30,0,4.5,0),COLORFF00FF;
凰台:=(-B2),POINTDOT,coloryellow;
STICKLINE(凰台,20,0,6,0),ColorA68064;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。