万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 飞狐公式 正文

飞狐造福散户主图指标公式

admin 2023-10-16 20:49:10 飞狐公式 286 ℃

飞狐造福散户主图指标公式

input:N(10,2,40);

DIRECTION:=(CLOSE - REF(CLOSE,n));

XX:=ABS((CLOSE - REF(CLOSE,1)));

VOLATILITY:=SUM(XX,n);

ER:=ABS((DIRECTION / VOLATILITY));

FASTC:=(2 / (2 + 1));

SLOWC:=(2 / (30 + 1));

SSC:=((ER * (FASTC - SLOWC)) + SLOWC);

CONSTANT:=(SSC * SSC);

CC:=CLOSE;

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

IF DATACOUNT > N THEN

DD[N]:=CC[(N + 1)];

FOR I=N + 1 to DATACOUNT DO

DD[I]:=(DD[(I - 1)] + (CONSTANT[I] * (CC[I] - DD[(I - 1)])));

AMA:(DD),LINETHICK1,colorFF0099;

FFILTER:=((15 / 100) * STD((AMA - REF(AMA,1)),n));

XA:=IF((AMA < REF(AMA,1)),AMA,0);

XN:=BARSLAST((XA > 0));

AMALOW:=REF(AMA,XN);

YA:=IF((AMA > REF(AMA,1)),AMA,0);

YN:=BARSLAST((YA > 0));

AMAHIGH:=REF(AMA,YN);

RR:=IF(((AMAHIGH - AMA) > FFILTER),(0 - 1),0);

TT:=IF(((AMA - AMALOW) > FFILTER),1,RR);

TJ:=((CLOSE > OPEN) OR ((CLOSE = OPEN) AND (CLOSE > REF(CLOSE,1))));

多头持仓:STICKLINE((TT = 1),LOW,HIGH,0.8,0),colorFF;

STICKLINE((TT = 1),OPEN,CLOSE,8,0),colorFF;

STICKLINE((TT = 1),OPEN,CLOSE,5,0),colorFF;

{STICKLINE((TT = 1),OPEN,CLOSE,2,0),colorC6B6FE;

STICKLINE((TT = 1),OPEN,CLOSE,1,0),colorF9F7FF;}

空头持仓:STICKLINE((TT = (0 - 1)),LOW,HIGH,0.8,0),color00CC99;

STICKLINE((TT = (0 - 1)),OPEN,CLOSE,8,0),color00CC99;

STICKLINE((TT = (0 - 1)),OPEN,CLOSE,5,0),color00CC99;

{STICKLINE((TT = (0 - 1)),OPEN,CLOSE,2,0),colorF9F7FF;

STICKLINE((TT = (0 - 1)),OPEN,CLOSE,1,0),colorF9F7FF;}

持币观望:STICKLINE((TT = 0),LOW,HIGH,0.8,0),colorDDDDDD;

STICKLINE((TT = 0),OPEN,CLOSE,8,0),color808080;

STICKLINE((TT = 0),OPEN,CLOSE,5,0),color808080;

{STICKLINE((TT = 0),OPEN,CLOSE,2,0),colorF9F7FF;

STICKLINE((TT = 0),OPEN,CLOSE,1,0),colorF9F7FF;}

P:=1;

As:=(h+(h-(l-(h-l)))-LLV(l,12))/(HHV(h+(h-l),12)-LLV(l,12));

As1:=SMA(As,12,1);

As2:=SMa(As1,12,1);

As3:=3*As1-2*As2 ;

As4:=2*As3-0.5;

As5:=c*(1-(As4-As2)/30);

生命线◆:WMA(WMA(As5,30),3),ColorA6A9FF,pointdot,linethick7;

{a0:=SUM(IF(生命线◆>REF(生命线◆,1),VOL,IF(生命线◆

a1:=SUM(IF(生命线◆>REF(生命线◆,1),VOL,IF(生命线◆

a2:=dma(sum(生命线◆,p)/p,sum(a0,p)/p) ,colorwhite;

A◆:sum(a2,p)/p,coloryellow;

M:=dma(sum(生命线◆,p)/p,sum(a1,p)/p),COLORCYAN;

M◆:sum(M,p)/p,color00ff00;

PARTLINE(M◆>=REF(M◆,1),M◆),LINETHICK2,color0000ff;}

{-股票公式网站 }

s:=BARSSINCE(SYSPARAM(1)=BARPOS)+1;

s前:=BARSSINCE(SYSPARAM(1)=BARPOS+41)+1;

s后:=BARSSINCE(SYSPARAM(1)=BARPOS-104)+1;

jj:=AMOUNT/v/100;

{sum(jj,s)/s;

sum(h,s)/s;}

sum(l,s前)/s前,COLORYELLOW,LINETHICK2;

{sum(h,s后)/s后;}

VAR1:=VOL;

A:=AMOUNT/VAR1/100;

A1:=(EMA(A,4)+MA(A,8)+MA(A,16))/3;

A2:=(EMA(A,6)+MA(A,12)+MA(A,24))/3;

B:=(EMA(A,9)+MA(A,18)+MA(A,36))/3;

A4:=(EMA(A,13)+MA(A,26)+MA(A,52))/3;

A5:=(EMA(A,18)+MA(A,36)+MA(A,72))/3;

A6:=(EMA(A,24)+MA(A,48)+MA(A,96))/3;

短线利润:=A-A1;

中线利润:=A-A6;

水平线:=0;

大龙门线:=(CLOSE-中线利润)*0.3;

小龙门线:=(CLOSE-短线利润)*0.1;

反大:=-(CLOSE-中线利润)*0.3;

反小:=-(CLOSE-短线利润)*0.1;

中:=中线利润;

小:=小龙门线;

大:=大龙门线;

小压:MA(小-中+CLOSE,3),LINETHICK2;

大压:MA(大-中+CLOSE,3);

反小压:MA(CLOSE-小-中,3);

反大压:MA(CLOSE-大-中,3),colorred;

分水岭:(小压+大压+反小压+反大压)/4,LINETHICK2,colorgreen;

飞狐造福散户主图指标公式选股公式如下:

>股票指标网

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群