真正的上涨: 资金流向是正数 成交笔数大( 顶尖财经 股票学院: http://www.58188.com ) 才是真正的上涨,出箭头 提示公式源码,好像有一些问题,会公式的自己改改吧, WJ:=(H+L+C)/3; V1:=IF(H=L,1,H-MAX(0,C)); V2:=IF(H=L,1,MAX(C,0)-WJ); V3:=IF(H=L,1,MIN(0,C)-L); V4:=IF(H=L,1,WJ-MIN(C,0)); V5:=VOL/IF(H=L,4,H-L); V6:=(V1*V5); V7:=(V2*V5); V8:=(V3*V5); V9:=(V4*V5); 资金流入:(V9+V8),colorred; 资金流出:-(V6+V7),COLOR00FF00; 资金流向:资金流入+资金流出; 十日均:MA(VOL/VOLAMOUNT,10); 成交手数:VOL/VOLAMOUNT; 成交数差:成交手数-十日均; 零轴:0; 波段快闪: MA5:MA(CLOSE,5),ColorFFFFFF; MA10:MA(CLOSE,10),Linethick2,Color00FFFF; MA20:MA(CLOSE,20),Color00FF00; MA40:MA(CLOSE,40),ColorFF00FF; MA60:MA(CLOSE,60),Color0000FF; MA120:MA(CLOSE,120),ColorFFFF00; ANGEL:EMA(CLOSE,2),Color000000; DEVIL:EMA((SLOPE(CLOSE,21))*(20) + CLOSE,42),POINTDOT,Color000000; 买:=CROSS(ANGEL,DEVIL); SEL:=CROSS(DEVIL,ANGEL); DRAWTEXT(买,(LOW)*(0.97),'狂买'),Color00FFFF; DRAWTEXT(SEL,(HIGH)*(1.03),'快闪'),ColorFFFFFF; STICKLINE((ANGEL >= DEVIL),LOW,HIGH,0.1,0),Color0000FF; STICKLINE((ANGEL >= DEVIL),CLOSE,OPEN,4.5,0),Color0000AA; STICKLINE((ANGEL >= DEVIL),CLOSE,OPEN,3,0),Color0000CC; STICKLINE((ANGEL >= DEVIL),CLOSE,OPEN,2,0),Color0000DD; STICKLINE((ANGEL >= DEVIL),CLOSE,OPEN,1,0),Color0000FF; STICKLINE((ANGEL < DEVIL),CLOSE,OPEN,1,0),ColorEEEE00; STICKLINE((ANGEL < DEVIL),CLOSE,OPEN,2,0),ColorDDDD00; STICKLINE((ANGEL < DEVIL),CLOSE,OPEN,3,0),ColorCCCC00; STICKLINE((ANGEL < DEVIL),CLOSE,OPEN,4.5,0),ColorAAAA00; STICKLINE((ANGEL < DEVIL),LOW,HIGH,0.1,0),ColorFFFF00; STICKLINE(CROSS(ANGEL,DEVIL) OR CROSS(DEVIL,ANGEL),OPEN,CLOSE,3.5,0),Color00FFFF; 益盟BS点: 买线:EMA(C,2); 卖线:EMA(SLOPE(C,21)*21+C,42); B:=CROSS(买线,卖线); S:=CROSS(卖线,买线); DRAWTEXT(B,LOW-0.1,'B '); DRAWTEXT(S,HIGH+0.1,'S'); |