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

飞狐适应均线主图指标公式,飞狐波段黑马主图指标公式

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

    关注√

    牛市通网微信

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

飞狐适应均线主图指标公式,飞狐波段黑马主图指标公式

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

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;

飞狐波段黑马主图指标公式

上线:=SMA(C,6.5,1);

下线:=Sma(C,13.5,1);

上线1:=SMA(C,3,1);

下线1:=SMA(C,8,1);

stICKLINE(上线>下线,上线,下线,2,2),COLORRED,LINETHICK2;

STICKLINE(下线>上线,上线,下线,2,2),COLORGREEN,LINETHICK2;

DRAWTEXT(crOSS(上线,下线),LOW,'●全仓买'),COLOR00FF00;

DRAWTEXT(CROSS(下线1,上线1),H,'◆清仓'),COLORYELLOW;

bbi:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

UPR:=BBI+3*STD(BBI,13),LINETHICK2;

DWN:=BBI-3*STD(BBI,13);

安全:=MA(CLOSE,60),LINETHICK2;

LC:=REF(CLOSE,1);

rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(A

bs(CLOSE-LC),6,1)*100;

DRAWTEXT( CROSS(82,RSI) , HIGH,'◆减仓') ,COLORFF9966,LINETHICK2;

A7:=(2*C+H+L)/4;

操作:MA(A7,5),LINETHICK2;

操作1:=MA(A7,5)*1.03,LINETHICK2;

操作2:=MA(A7,5)*0.97,LINETHICK2;

VAR1:LLV(A7,21);

VAR0:HHV(A7,21);

SK:=ema((A7-VAR1)/(VAR0-VAR1)*100,7);

SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);

DRAWTEXT(IF(COUNT(CLOSE6/10 ANDvol>=1.5*MA(VOL,5) ANDCOUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'●买进') ,COLOR0099FF;

DRAWTEXT(IF(COUNT(CLOSE6/10 AND

COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND

REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND

OPEN>REF(CLOSE,1),1,0),LOW*0.98,'●

买进') ,COLORYELLOW;

D:=MA(CLOSE,80)-MA(CLOSE,10)/3;

DRAWTEXT(IF(CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE

VAR12:=((VOL / CAPITAL) * 100);

VAR15:=HHVBARS(HIGH,50);

VAR17:=(((CLOSE - REF(OPEN,VAR15)) / REF(OPEN,VAR15)) * 100);

VAR22:=(REF(CLOSE,2) * 0.865);

VAR23:=(REF(CLOSE,13) * 0.772);

VAR24:=MIN(VAR22,VAR23);

超跌反弹:=(IF((((((CLOSE - VAR24) / CLOSE) < 0.03) AND (VAR17 < (0 - 35))) AND ((SUM(VAR12,5) / 5) < 1.8)),1,0) * 5);

DRAWTEXT(超跌反弹,L,'♂'),COLORRED;

VAR2:=C<0.98*REF(C,1);

VAR3:=O

VAR4:=(C-REF(C,1))/REF(C,1)*100;

VAR5:=(C-REF(O,29))/REF(O,29)*100;

VAR6:=MA(COST(22)/L,3);

成功率99:=VAR6>1.5 AND VAR4>5 AND VAR5<-30;

DRAWTEXT(成功率99>0 AND REF(成功率99,1)=0,L,'↑99%'),COLORRED;

仓:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5);

仓1:=INDEXC;

仓2:=MA(仓1,5);

仓3:=MA(仓1,20);

仓4:=MA(仓1,30);

B2:=仓2>仓1*1.03 AND 仓3>仓1*1.13;

操盘手:=仓<6 AND B2;

DRAWTEXT(操盘手,L,'仓'),COLORRED;

底1:=IF((((((EMA(CLOSE,5) / EMA(EMA(CLOSE,9),16)) <= 0.85) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),50,0);

底2:=((0 - ((100 * (HHV(HIGH,34) - CLOSE)) / (HHV(HIGH,34) - LLV(LOW,34)))) + 100);

底3:=((0 - ((100 * (HHV(HIGH,50) - CLOSE)) / (HHV(HIGH,50) - LLV(LOW,50)))) + 100);

底:=((0 - ((100 * (HHV(HIGH,70) - CLOSE)) / (HHV(HIGH,70) - LLV(LOW,70)))) + 100);

底4:=(((((CLOSE - MA(CLOSE,34)) / MA(CLOSE,34)) * 100) + 10) * 5);

底5:=(((((CLOSE - MA(CLOSE,50)) / MA(CLOSE,50)) * 100) + 10) * 5);

底6:=(((((CLOSE - MA(CLOSE,70)) / MA(CLOSE,70)) * 100) + 10) * 5);

S1:=((((((底2 + 底3) + 底) + 底4) + 底5) + 底6) / 6);

S2:=EMA(S1,3);

S3:=ABS((底4 - 底6));

S4:=((S1 + S3) / 2);

S5:=(((0 - 1) * (EMA((100 * (1 - WINNER(CLOSE))),1) - 50)) + 50);

S6:=(S5 + S4);

S7:=IF(((底1 > 0) AND (S6 < 0)),200,0);

S8:=IF((((((S4 < 0) AND (CLOSE = LLV(CLOSE,5))) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),(0 - 50),0);

S9:=IF(((S6 < 0) AND (S8 = (0 - 50))),100,0);

底C0:=(REF(CLOSE,2) * 0.865);

底C1:=(REF(CLOSE,13) * 0.772);

底C2:=MIN(底C0,底C1);

底C3:=((100 * VOL) / CAPITAL);

底C4:=IF(((((CLOSE - 底C2) / CLOSE) < (3 / 100)) AND ((SUM(底C3,5) / 5) < 1.8)),1,0);

底AA:=IF(((底C4 > 0) AND ((S8 < 0) OR (底1 > 0))),100,0);

V1:=(((((S7 > 0) AND (S9 > 0)) AND ((SUM(((VOL / CAPITAL) * 100),5) / 5) < 1)) OR (底C4 > 0)) AND ((S8 < 0) OR (底1 > 0)));

V2:=((((S7 > 0) AND (S9 > 0)) AND ((SUM(((VOL / CAPITAL) * 100),5) / 5) < 1)) OR ((底C4 > 0) AND ((REF(CLOSE,1) / REF(CLOSE,2)) > 0.902)));

V3:=(V1 OR V2);

V4:=(底AA OR V3);

V5:=底AA;

G:=(MA(CLOSE,80) - (MA(CLOSE,10) / 3));

Z:=IF((V4 > 0),87,0);

Z1:=IF((V5 > 0),91,0);

Z2:=IF(((底AA > 0) AND (CLOSE < G)),97,0);

Z3:=MAX(MAX(Z2,Z),Z1);

DRAWTEXT(FILTER(((((Z > 80) AND (Z1 > 90)) AND (Z2 > 90)) AND (Z3 > 90)),13),L,'↑底95%'),COLORRED;

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

责任编辑:admin888 标签:飞狐适应均线主图指标公式,飞狐波段黑马主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

飞狐适应均线主图指标公式,飞狐波段黑马主图指标公式

admin888

|

飞狐适应均线主图指标公式,飞狐波段黑马主图指标公式

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

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;

飞狐波段黑马主图指标公式

上线:=SMA(C,6.5,1);

下线:=Sma(C,13.5,1);

上线1:=SMA(C,3,1);

下线1:=SMA(C,8,1);

stICKLINE(上线>下线,上线,下线,2,2),COLORRED,LINETHICK2;

STICKLINE(下线>上线,上线,下线,2,2),COLORGREEN,LINETHICK2;

DRAWTEXT(crOSS(上线,下线),LOW,'●全仓买'),COLOR00FF00;

DRAWTEXT(CROSS(下线1,上线1),H,'◆清仓'),COLORYELLOW;

bbi:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

UPR:=BBI+3*STD(BBI,13),LINETHICK2;

DWN:=BBI-3*STD(BBI,13);

安全:=MA(CLOSE,60),LINETHICK2;

LC:=REF(CLOSE,1);

rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(A

bs(CLOSE-LC),6,1)*100;

DRAWTEXT( CROSS(82,RSI) , HIGH,'◆减仓') ,COLORFF9966,LINETHICK2;

A7:=(2*C+H+L)/4;

操作:MA(A7,5),LINETHICK2;

操作1:=MA(A7,5)*1.03,LINETHICK2;

操作2:=MA(A7,5)*0.97,LINETHICK2;

VAR1:LLV(A7,21);

VAR0:HHV(A7,21);

SK:=ema((A7-VAR1)/(VAR0-VAR1)*100,7);

SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);

DRAWTEXT(IF(COUNT(CLOSE6/10 ANDvol>=1.5*MA(VOL,5) ANDCOUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'●买进') ,COLOR0099FF;

DRAWTEXT(IF(COUNT(CLOSE6/10 AND

COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND

REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND

OPEN>REF(CLOSE,1),1,0),LOW*0.98,'●

买进') ,COLORYELLOW;

D:=MA(CLOSE,80)-MA(CLOSE,10)/3;

DRAWTEXT(IF(CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE

VAR12:=((VOL / CAPITAL) * 100);

VAR15:=HHVBARS(HIGH,50);

VAR17:=(((CLOSE - REF(OPEN,VAR15)) / REF(OPEN,VAR15)) * 100);

VAR22:=(REF(CLOSE,2) * 0.865);

VAR23:=(REF(CLOSE,13) * 0.772);

VAR24:=MIN(VAR22,VAR23);

超跌反弹:=(IF((((((CLOSE - VAR24) / CLOSE) < 0.03) AND (VAR17 < (0 - 35))) AND ((SUM(VAR12,5) / 5) < 1.8)),1,0) * 5);

DRAWTEXT(超跌反弹,L,'♂'),COLORRED;

VAR2:=C<0.98*REF(C,1);

VAR3:=O

VAR4:=(C-REF(C,1))/REF(C,1)*100;

VAR5:=(C-REF(O,29))/REF(O,29)*100;

VAR6:=MA(COST(22)/L,3);

成功率99:=VAR6>1.5 AND VAR4>5 AND VAR5<-30;

DRAWTEXT(成功率99>0 AND REF(成功率99,1)=0,L,'↑99%'),COLORRED;

仓:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5);

仓1:=INDEXC;

仓2:=MA(仓1,5);

仓3:=MA(仓1,20);

仓4:=MA(仓1,30);

B2:=仓2>仓1*1.03 AND 仓3>仓1*1.13;

操盘手:=仓<6 AND B2;

DRAWTEXT(操盘手,L,'仓'),COLORRED;

底1:=IF((((((EMA(CLOSE,5) / EMA(EMA(CLOSE,9),16)) <= 0.85) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),50,0);

底2:=((0 - ((100 * (HHV(HIGH,34) - CLOSE)) / (HHV(HIGH,34) - LLV(LOW,34)))) + 100);

底3:=((0 - ((100 * (HHV(HIGH,50) - CLOSE)) / (HHV(HIGH,50) - LLV(LOW,50)))) + 100);

底:=((0 - ((100 * (HHV(HIGH,70) - CLOSE)) / (HHV(HIGH,70) - LLV(LOW,70)))) + 100);

底4:=(((((CLOSE - MA(CLOSE,34)) / MA(CLOSE,34)) * 100) + 10) * 5);

底5:=(((((CLOSE - MA(CLOSE,50)) / MA(CLOSE,50)) * 100) + 10) * 5);

底6:=(((((CLOSE - MA(CLOSE,70)) / MA(CLOSE,70)) * 100) + 10) * 5);

S1:=((((((底2 + 底3) + 底) + 底4) + 底5) + 底6) / 6);

S2:=EMA(S1,3);

S3:=ABS((底4 - 底6));

S4:=((S1 + S3) / 2);

S5:=(((0 - 1) * (EMA((100 * (1 - WINNER(CLOSE))),1) - 50)) + 50);

S6:=(S5 + S4);

S7:=IF(((底1 > 0) AND (S6 < 0)),200,0);

S8:=IF((((((S4 < 0) AND (CLOSE = LLV(CLOSE,5))) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),(0 - 50),0);

S9:=IF(((S6 < 0) AND (S8 = (0 - 50))),100,0);

底C0:=(REF(CLOSE,2) * 0.865);

底C1:=(REF(CLOSE,13) * 0.772);

底C2:=MIN(底C0,底C1);

底C3:=((100 * VOL) / CAPITAL);

底C4:=IF(((((CLOSE - 底C2) / CLOSE) < (3 / 100)) AND ((SUM(底C3,5) / 5) < 1.8)),1,0);

底AA:=IF(((底C4 > 0) AND ((S8 < 0) OR (底1 > 0))),100,0);

V1:=(((((S7 > 0) AND (S9 > 0)) AND ((SUM(((VOL / CAPITAL) * 100),5) / 5) < 1)) OR (底C4 > 0)) AND ((S8 < 0) OR (底1 > 0)));

V2:=((((S7 > 0) AND (S9 > 0)) AND ((SUM(((VOL / CAPITAL) * 100),5) / 5) < 1)) OR ((底C4 > 0) AND ((REF(CLOSE,1) / REF(CLOSE,2)) > 0.902)));

V3:=(V1 OR V2);

V4:=(底AA OR V3);

V5:=底AA;

G:=(MA(CLOSE,80) - (MA(CLOSE,10) / 3));

Z:=IF((V4 > 0),87,0);

Z1:=IF((V5 > 0),91,0);

Z2:=IF(((底AA > 0) AND (CLOSE < G)),97,0);

Z3:=MAX(MAX(Z2,Z),Z1);

DRAWTEXT(FILTER(((((Z > 80) AND (Z1 > 90)) AND (Z2 > 90)) AND (Z3 > 90)),13),L,'↑底95%'),COLORRED;

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


财经频道