飞狐底部趋势线主图指标公式,飞狐震荡趋势指标公式
admin888
|飞狐底部趋势线主图指标公式,飞狐震荡趋势指标公式
飞狐底部趋势线主图指标公式
N1:=10;
S:=crOSS(CLOSE,ema(HIGH,30));
X:=CROSS(Ema(LOW,30),CLOSE);
WS:=BArslAst(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
PARTLINE(CLOSE>EMA(HIGH,30),EMA(HIGH,30)),colorred,LINETHICK1;
PARTLINE(CLOSE
PARTLINE(CLOSE>EMA(LOW,30),EMA(LOW,30)),colorred,LINETHICK1;
PARTLINE(CLOSE
PARTLINE(CLOSE>EMA(HIGH,150),EMA(HIGH,150)),COLORMAGENTA,LINETHICK1;
PARTLINE(CLOSE
PARTLINE(CLOSE>EMA(LOW,150),EMA(LOW,150)),COLORMAGENTA,LINETHICK1;
PARTLINE(CLOSE
STICKLINE(C>=O ,O ,C ,9 ,1 ),colorred;
STICKLINE(O> C ,C ,O ,8 ,1 ),colorwhite;
STICKLINE(C>=O ,C ,H ,0.5 ,1 ),colorred;
STICKLINE(C>=O ,O ,L ,0.5 ,1 ),colorred;
STICKLINE(O> C ,C ,L ,0.5 ,1 ),colorwhite;
STICKLINE(O> C ,O ,H ,0.5 ,1 ),colorwhite;
趋势线:=3*SMA((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
底部:=llv(c,30);
ma3:=ma(底部,2);
x:=ma(c,26);
压力:=hhv(h,30),ColorF8EE00;
varA:=((AMOUNT)/(vol))/(100);
varB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
varC:=((SUM(AMOUNT,7))/(varA))/(100);
varD:=dma(varB,(VOL)/(varC));
varE:=((CLOSE-varD)/(varD))*(100);
varF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
varJ:=MA(varE,20)+STD(varE,20);
bias18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
K:=SMA(varF,3,1);
顶:=(REF(BIAS18,1)>=5) AND CROSS(varJ,varE) AND (K>79);
HH:=HHV(HIGH,N1);
LL:=LLV(LOW,N1);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
DRAWICON(CROSS(HH1,LL1),HH,13);
DRAWICON(CROSS(LL1,HH1),LL,15);
DRAWTEXT(CROSS(HH1,LL1),HH,'卖'),colorgreen;
DRAWTEXT(CROSS(LL1,HH1),LL,'买'),colorFF00FF;
n:=21;
TY:=C;
A1:=REF(TY,N)=HHV(TY,2*N+1);
B1:=FILTER(A1,N);
C1:=BacKSET(B1,N+1);
HD:=FILTER(C1,N);
A2:=REF(TY,N)=LLV(TY,2*N+1);
B2:=FILTER(A2,N);
C2:=BACKSET(B2,N+1);
LD:=FILTER(C2,N);
A:=REF(C,BARSLAST(HD));
B:=REF(C,BARSLAST(LD));
t1:=BARSLAST(HD) and BARSLAST(LD) AND NOT(LD);
STICKLINE(t1,A,A,9,0),ColorFF00FF,LINETHICK2;
STICKLINE(t1,B,B,9,0),Color00FF00,LINETHICK2;
HH:HHV(H,450),COLOR53ff53,LINETHICK2;
LL:LLV(L,450),colorwhite,LINETHICK2;
VAR1:=(HH-LL);
飞狐震荡趋势指标公式
{---------------------【右侧实效-功能开关】---------------------}
{价格重心}A:=(H+L+O+C*3)/6;
XJ:=(A+0.618*REF(A,1)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(A,4))/2.382;
X1:=(C+L+H)/3;X2:=ema
(X1,6);X3:=Ema
(X2,5);
{震荡趋势}VAR1:=(A-LLV(L,100))/(HHV(H,100)-LLV(L,100))*100-50;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=EMA((A-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100-50,2);
VAR6:=SMA(VAR5,3,1);
VAR7:=SMA(VAR6,3,1);
VAR8:=3*VAR6-2*VAR7;
VAR9:=(A-EMA(A,13))/stD(A,13)*50;
VAR10:=EMA(EMA(VAR9,5),13);
VAR11:=EMA(VAR10,10);
VAR12:=3*VAR10-2*VAR11;
VARA:=VAR2+VAR6+VAR10;
VARB:=VAR3+VAR7+VAR11;
VARC:=VAR4+VAR8+VAR12;
VARD:=((VARA+VARB+VARC)/3)/8;
CD:=EMA(EMA(VARD,5),3);
CD1:=SMA(CD,4,1);
CDD1:=EMA(VARD,13);
ZD1:=SMA(CDD1,3,1);
CDD2:=SMA(VARD,13,1);
ZD2:=EMA(CDD2,5);
{---------------------【右侧直效-图解模板】---------------------}
REFLINE:20,-20,16,-16;
{背景填色}FILLRGN(1,0,-8),COLOR001100;
FILLRGN(1,0,8),COLOR000040;
FILLRGN(1,-8,-5.5),COLOR002000;
FILLRGN(1,8,5.5),COLOR000020;
PARTLINE(1,0),COLOR000000;
DRAWICON(crOSS(X2,X3),-18,9);DRAWICON(CROSS(X3,X2),18,10);
{震荡趋势}FILLRGN(1,ZD1,ZD2),COLOR002851;
PARTLINE(1,ZD2),COLOR004080;
STICKLINE(CD>=CD1,CD,CD1,4,0),COLOR4E004E;
STICKLINE(CD>=CD1,CD,CD1,3,0),COLOR660066;
STICKLINE(CD>=CD1,CD,CD1,2,0),COLOR840084;
STICKLINE(CD>=CD1,CD,CD1,1,0),COLORA200A2;
STICKLINE(CD
STICKLINE(CD
STICKLINE(CD
STICKLINE(CD
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。