飞狐量价趋势优化版指标公式

[复制链接]
查看107 | 回复0 | 2021-8-21 11:29:54 | 显示全部楼层 |阅读模式

JgX:=(2*C+(H-L)/2+L+o)/4;
ajb:=IF(capital>20000000,capital*30/100,IF(capital>12000000,capital*25/100,capital*20/100));
AV:=if(INDEXC=C,amount/10000000000,100*V/(capital-ajb));
kk:=if(INDEXC=C,300,100);
SK:=IF(SUM(AV,0)<kk,BARSCOUNT(C),SUMBARS(AV,kk));
SV:=SUM(V,SK);
筹:=IF(INDEXC=c OR SV=0,MA(c,SK),SUM(AMOUNT,SK)/SV/100),LINETHICK1,color18A4FF,LINEDOT;
XS:=(ema(筹,55)+ema(筹,144)+ema(筹,233))/3;
SM:=EMA((((EMA(筹,1)-ema(xs,1))/ema(xs,1))*(0-100)),233);
航向线:=EMA(((SM/10)+ema(xs,1)),144),COLORRED,LINETHICK2;
散户:SUM(1-(EMA(JgX,1)-航向线)/航向线*100,3),COLORCYAN;
主力:SUM((EMA(JgX,1)-航向线)/航向线*100,2),COLORWHITE;
GG:eMA(主力,5),COLORMAGENTA;
MM:EMA(散户,2),COLORGRAY;
MAD:-2*(散户-MM),COLORSTICK,LINETHICK2;
HA:REF(HHV(散户,53),1),COLOR00bb00;
LA:REF(HHV(主力,53),1),COLORRED;
DLX:=V,COLORAAFF3D,LINETHICK0;
JX:=(13*DLX+12*REF(DLX,1)+11*REF(DLX,2)+10*REF(DLX,3)+9*REF(DLX,4)+8*REF(DLX,5)+7*REF(DLX,6)+ 6*REF(DLX,7)+5*REF(DLX,8)+4*REF(DLX,9)+3*REF(DLX,10)+2*REF(DLX,11)+1*REF(DLX,12))/(13+12+11+10+9+8+7+6+5+4+3+2+1),COLORRED,LINETHICK2;
M35:=(eMA(JX,13)+eMA(JX,24)+eMA(JX,35))/3;
M60:=(eMA(JX,24)+eMA(JX,35)+eMA(JX,46))/3;
m135:=(eMA(JX,35)+eMA(JX,46)+eMA(JX,57))/3;
a1:=sum((EMA(v,5)-m35)/m35*100,1);
a2:=sum((EMA(v,5)-m60)/m60*100,1);
a3:=sum((EMA(v,5)-m135)/m135*100,1);
动能:(a1+1*A2+1*a3)/3,COLORYELLOW;
弱:PARTLINE(主力<0,0),COLORGREEN;
强:PARTLINE(主力>0,0),COLORRED;

202108211125.jpg

202108211125.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则