九毛八公式指标
请老师把流量基线改成飞狐可用。源码:轴:0,COLOR4B4B4B; PJJ:=DMA((H + L + C * 2) / 4,0.9); JJ:=REF(EMA(PJJ,3),1); QJJ:=VOL / ((H - L) * 2 - ABS(C - O)); XVL:=IF(C > O,QJJ * (H - L),IF(C < O,QJJ * (H - O + (C - L)),VOL / 2)) + IF(C > O,0 - QJJ * (H - C + (O - L)),IF(C < O,0 - QJJ * (H - L),0 - VOL / 2)); ZLL:=VOL / CAPITAL; HSL1:=IF(ZLL > 10,10,ZLL); HSL:=XVL / 20 / 1.15; 攻击流量:=HSL * 0.55 + REF(HSL,1) * 0.33 + REF(HSL,2) * 0.22; GJJ:=EMA(攻击流量,8); LLJX:=EMA(攻击流量,3); 流量: LLJX,COLORC875B7,NODRAW; STICKLINE(流量 > 0,流量,0,2.3,0)COLOR0000FF; STICKLINE(流量 < 0,流量,0,2.3,0),COLORFF4242; 流量基线:GJJ,COLOR00BBBB; STICKLINE(HSL * 0.4 >= 0,HSL * 0.4 * 1.5,0,0,1)COLORYELLOW; STICKLINE(HSL * 0.4 < 0,HSL * 0.4 * 1.5,0,0,1)COLORGREEN; ZJLL:=REF(LLJX,1); QZJJ:=(((LLJX - ZJLL) / ZJLL) * 100); 流量幅%:IF(((LLJX > 0) AND (ZJLL < 0)),ABS(QZJJ),IF((((LLJX < 0) AND (ZJLL < 0)) AND (LLJX < ZJLL)),(0 - QZJJ),QZJJ))COLORWHITE,NODRAW; 力度:HSL / 1000,COLOR9B37FF,NODRAW; 周流量:SUM(LLJX,5),COLORFFBFDF,NODRAW; BB:=REF(周流量,1); ZQZJJ:=(周流量-BB)/BB*100; 周幅%:IF(周流量>0 AND BB<0,ABS(ZQZJJ),IF(周流量<0 AND BB<0 and 周流量公式模块:
轴:0,color4b4b4b;
pjj:=dma((h+l+c*2)/4,0.9); jj:=ref(ema(pjj,3),1); qjj:=vol/((h-l)*2-abs(c-o)); xvl:=if(c>o,qjj*(h-l),if(c<o,qjj*(h-o+(c-l)),VOL/2))+if(c>o,0-qjj*(h-c+(o-l)),if(c<o,0-qjj*(h-l),0-vol/2)); zll:=vol/capital; hsl1:=if(zll>10,10,zll); hsl:=xvl/20/1.15; 攻击流量:=hsl*0.55+ref(hsl,1)*0.33+ref(hsl,2)*0.22; gjj:=ema(攻击流量,8); lljx:=ema(攻击流量,3); 流量:lljx,colorc875b7,linethick; stickline(流量>0,流量,0,5,0)color0000ff; stickline(流量<0,流量,0,5,0),colorff4242; 流量基线:gjj,color00bbbb; stickline(hsl*0.4>=0,hsl*0.4*1.5,0,0,1)coloryellow; stickline(hsl*0.4<0,hsl*0.4*1.5,0,0,1)colorgreen; zjll:=ref(lljx,1); qzjj:=(((lljx-zjll)/zjll)*100); 流量幅%:if(((lljx>0)and(zjll<0)),abs(qzjj),if((((lljx<0)and(zjll<0))and(lljx<zjll)),(0-qzjj),qzjj))colorwhite,linethick; 力度:hsl/1000,color9b37ff,linethick; 周流量:sum(lljx,5),colorffbfdf,linethick; bb:=ref(周流量,1); zqzjj:=(周流量-bb)/bb*100; 周幅%:if(周流量>0 and bb<0,abs(zqzjj),if(周流量<0 and bb<0 and 周流量<bb,-zqzjj,zqzjj))colorwhite,linethick;
0>