九毛八公式指标
VAR1:=MA(HHV(HIGH,485),17); VAR2:=MA(HHV(HIGH,222),17); VAR3:=MA(HHV(HIGH,96),17); VAR4:=MA(LLV(LOW,485),17); VAR5:=MA(LLV(LOW,222),17); VAR6:=MA(LLV(LOW,96),17); VAR7:=MA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558) /6,17); VAR8:=MA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,17); VAR9:=MA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,17); VARA:=MA((VAR7*3+VAR8*2+VAR9)/6*1.738,17); VARB:=IF(DATE<=1341231,VARA,VARA*DAY); VARC:=LOW; VARD:=REF(LOW,1); VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),3,1)*100; VARF:=MA(IF(CLOSE*1.35<=VARB,VARE*10,VARE/10),3); VAR10:=LLV(LOW,30); VAR11:=HHV(VARF,30); VAR12:=1341231; TJ:=IF(DATE<=VAR12,MA(IF(LOW<=VAR10,(VARF+VAR11*2)/2,0),3),100000000); 挖坑:REF(TJ,2)>REF(TJ,3)AND TJ 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; DRAWTEXT(流量 > 0 AND REF(流量 <=0,1),-52,'财富'); STICKLINE(流量 > 0 ,-50,0,2.3,0)COLORYELLOW; 流量基线: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,NODRAW; STICKLINE(流量 > 0,流量,0,2.3,0)COLOR0000FF; STICKLINE(流量 < 0,流量,0,2.3,0),COLORFF4242; DRAWTEXT(流量 > 0 AND REF(流量 <=0,1),-52,'财富'); STICKLINE(流量 > 0 ,-50,0,2.3,0)COLORYELLOW; 流量基线: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 周流量<BB,-ZQZJJ,ZQZJJ))COLORWHITE,NODRAW; 周K:="kdj.K#WEEK"; 周D:="kdJ.D#WEEK"; 周金叉:=crOSS(周K,周D); 周DIFF:="macd.DIF#WEEK"; 周DEA:="MacD.DEA#WEEK"; 周DIF金叉:=CROSS(周DIFF,周DEA); JC:=周金叉 AND 周DIF金叉; DRAWICON(JC,0.1,13); VAR1:=MA(HHV(HIGH,485),17); VAR2:=MA(HHV(HIGH,222),17); VAR3:=MA(HHV(HIGH,96),17); VAR4:=MA(LLV(LOW,485),17); VAR5:=MA(LLV(LOW,222),17); VAR6:=MA(LLV(LOW,96),17); VAR7:=MA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558) /6,17); VAR8:=MA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,17); VAR9:=MA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,17); VARA:=MA((VAR7*3+VAR8*2+VAR9)/6*1.738,17); VARB:=IF(DATE<=1341231,VARA,VARA*DAY); VARC:=LOW; VARD:=REF(LOW,1); VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),3,1)*100; VARF:=MA(IF(CLOSE*1.35<=VARB,VARE*10,VARE/10),3); VAR10:=LLV(LOW,30); VAR11:=HHV(VARF,30); VAR12:=1341231; TJ:=IF(DATE<=VAR12,MA(IF(LOW<=VAR10,(VARF+VAR11*2)/2,0),3),100000000); 挖坑:=REF(TJ,2)>REF(TJ,3)AND TJ<REF(TJ,1); DRAWTEXT(挖坑,流量基线,'△'),COLORMAGENTA;
0>