您当前的位置:股票 > 财经资讯 > 财经频道

飞狐上中下通道主图指标公式,飞狐适应均线主图指标公式

2024-06-15 23:17:50 来源: 作者: admin888
分享到
关注牛市通网在线:
  • 扫描二维码

    关注√

    牛市通网微信

在线咨询:
  • 扫描或点击关注牛市通网在线客服

飞狐上中下通道主图指标公式,飞狐适应均线主图指标公式

飞狐上中下通道主图指标公式

中轨 :ma(CLOSE,20),COLORRED,LINETHICK2;

上轨:中轨+1*stD(CLOSE,20),COLORWHITE;

下轨:中轨-1*STD(CLOSE,20),COLOR00FF00;

上上轨:中轨+2*STD(CLOSE,20),COLORYELLOW;

下下轨:中轨-2*STD(CLOSE,20),COLORFF00FF;

VAR1:=SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);

VAR2:=HIGH-REF(HIGH,1);

VAR3:=REF(LOW,1)-LOW;

VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);

VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);

VAR6:=VAR4*100/VAR1;

VAR7:=VAR5*100/VAR1;

VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);

VAR9:=(VAR8+REF(VAR8,15))/2;

DRAWICON(crOSS(ema(C,5),EMA(C,10)),L*0.98,1);

DRAWICON(CROSS(EMA(C,3),EMA(C,07)),L*0.98,9);

DRAWTEXT(CROSS(EMA(C,3),EMA(C,07)),L*0.95,'←买');

S:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)

-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)

-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1);

STICKLINE(CROSS(78.89,S),H+1.1,H,0.2,1),COLORGRAY;

DRAWTEXT(CROSS(78.89,S),H+1.1,'卖'),COLORFFFF00;

AA1:=AMOUNT/V;

BB1:=L

CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;

DD1:=L

EE1:=V

FF1:=BB1 AND CC1 AND DD1 AND EE1;

DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;

飞狐适应均线主图指标公式

input: n(9,1,60), p(2,1,60), Q(30,1,60);

Direction:=CLOSE - REF( CLOSE , N ) ;

XX:=Abs( CLOSE - REF( CLOSE , 1 ) ) ;volatility:=SUM( XX , N ) ;

ER:=ABS( Direction / Volatility ) ;

FastC:= 2 / ( p + 1 ) ;

SlowC:= 2 / ( q + 1 ) ;

SSC:=ER * ( FastC - SlowC ) + SlowC ;

Constant :SSC * SSC , Linethick0 ;

YY:=REF( Close , 1 ) + Constant * ( CLOSE - REF( Close , 1 ) ) ;

AA:=IF( SUM( 1 , 0 )= N + 1 , YY , 0 ) ;

BB:=Barslast( AA>0 ) ;

DD:=REF( C , BB ) ;

CC:CLOSE , Linethick0 ;

for m=N + 2 to DATacOUNT DODD[m]:=DD[m - 1] + Constant[m] * ( CC[m] - DD[m - 1] );

Ama:DD;

T1:=DD>REF(DD,1);

T3:=NOT(T1) AND abs(DD-ref(DD,1))/DD*10000

T2:=NOT(T1 OR T3);

PARTLINE(T1,DD),COLORRED,LINETHICK2;

PARTLINE(T2,DD),COLORGREEN,LINETHICK2;

PARTLINE(T3,DD),COLORBLUE,LINETHICK2;

DRAWTEXT(ISLASTBAR AND T1,DD,'持\n股'),COLORRED,SHIFT1;

DRAWTEXT(ISLASTBAR AND T2,DD,'持\n币'),COLORGREEN,SHIFT1;

DRAWTEXT(ISLASTBAR AND T3,DD,'观\n望'),COLORBLUE,SHIFT1;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。

责任编辑:admin888 标签:飞狐上中下通道主图指标公式,飞狐适应均线主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

飞狐上中下通道主图指标公式,飞狐适应均线主图指标公式

admin888

|

飞狐上中下通道主图指标公式,飞狐适应均线主图指标公式

飞狐上中下通道主图指标公式

中轨 :ma(CLOSE,20),COLORRED,LINETHICK2;

上轨:中轨+1*stD(CLOSE,20),COLORWHITE;

下轨:中轨-1*STD(CLOSE,20),COLOR00FF00;

上上轨:中轨+2*STD(CLOSE,20),COLORYELLOW;

下下轨:中轨-2*STD(CLOSE,20),COLORFF00FF;

VAR1:=SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);

VAR2:=HIGH-REF(HIGH,1);

VAR3:=REF(LOW,1)-LOW;

VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);

VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);

VAR6:=VAR4*100/VAR1;

VAR7:=VAR5*100/VAR1;

VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);

VAR9:=(VAR8+REF(VAR8,15))/2;

DRAWICON(crOSS(ema(C,5),EMA(C,10)),L*0.98,1);

DRAWICON(CROSS(EMA(C,3),EMA(C,07)),L*0.98,9);

DRAWTEXT(CROSS(EMA(C,3),EMA(C,07)),L*0.95,'←买');

S:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)

-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)

-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1);

STICKLINE(CROSS(78.89,S),H+1.1,H,0.2,1),COLORGRAY;

DRAWTEXT(CROSS(78.89,S),H+1.1,'卖'),COLORFFFF00;

AA1:=AMOUNT/V;

BB1:=L

CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;

DD1:=L

EE1:=V

FF1:=BB1 AND CC1 AND DD1 AND EE1;

DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;

飞狐适应均线主图指标公式

input: n(9,1,60), p(2,1,60), Q(30,1,60);

Direction:=CLOSE - REF( CLOSE , N ) ;

XX:=Abs( CLOSE - REF( CLOSE , 1 ) ) ;volatility:=SUM( XX , N ) ;

ER:=ABS( Direction / Volatility ) ;

FastC:= 2 / ( p + 1 ) ;

SlowC:= 2 / ( q + 1 ) ;

SSC:=ER * ( FastC - SlowC ) + SlowC ;

Constant :SSC * SSC , Linethick0 ;

YY:=REF( Close , 1 ) + Constant * ( CLOSE - REF( Close , 1 ) ) ;

AA:=IF( SUM( 1 , 0 )= N + 1 , YY , 0 ) ;

BB:=Barslast( AA>0 ) ;

DD:=REF( C , BB ) ;

CC:CLOSE , Linethick0 ;

for m=N + 2 to DATacOUNT DODD[m]:=DD[m - 1] + Constant[m] * ( CC[m] - DD[m - 1] );

Ama:DD;

T1:=DD>REF(DD,1);

T3:=NOT(T1) AND abs(DD-ref(DD,1))/DD*10000

T2:=NOT(T1 OR T3);

PARTLINE(T1,DD),COLORRED,LINETHICK2;

PARTLINE(T2,DD),COLORGREEN,LINETHICK2;

PARTLINE(T3,DD),COLORBLUE,LINETHICK2;

DRAWTEXT(ISLASTBAR AND T1,DD,'持\n股'),COLORRED,SHIFT1;

DRAWTEXT(ISLASTBAR AND T2,DD,'持\n币'),COLORGREEN,SHIFT1;

DRAWTEXT(ISLASTBAR AND T3,DD,'观\n望'),COLORBLUE,SHIFT1;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。


财经频道