龙听期货论坛's Archiver

龙听 发表于 2018-10-19 11:39

[转载]★另类的观点股价被量除(源码、副图、贴图)

我们以另类的观点股看价被量除,就是量越大柱越短,一般认定量升价涨,一定有一段升势,那么把价升被升时的量除会是不是收到意想不到效果呢,【买卖点清晰可见】
我先解释一下免得你看不懂,【1】零上是股价涨,零下是股价跌【2】把股价的涨幅除以成交量【3】分三个不同周期比较【4】分时也可用参数用(5.15.30)日线参数用(5.10.20)
源码如下:----

[code]
{价与量比}
INPUT:M1(5,0,30),M2(10,0,60),M3(20,0,120);
DRAWGBK(C,Strip(RGB(0,40,0),RGB(0,0,60),1));0,COLOR00FFff;
MA1:=EMA(C,M1);
N1:=(MA1-REF(MA1,1))/REF(MA1,1)*100;
MV1:=EMA(V,M1);
价量比1:=100*N1/MV1*1.5;
STICKLINE(价量比1>0,价量比1,0,8,0),COLORRED,LAYER6;
STICKLINE(价量比1<=0,价量比1,0,8,0),COLOR00FF00,LAYER6;
MA2:=EMA(C,M2);
N2:=(MA2-REF(MA2,1))/REF(MA2,1)*100;
MV2:=EMA(V,M2);
价量比2:=100*N2/MV2*1;
STICKLINE(价量比2>0,价量比2,0,8,0),COLOR0598DF,LAYER3;
STICKLINE(价量比2<=0,价量比2,0,8,0),COLORFF9900,LAYER3;
MA3:=EMA(C,M3);
N3:=(MA3-REF(MA3,1))/REF(MA3,1)*100;
MV3:=EMA(V,M3);
价量比3:=100*N3/MV3*0.5;
STICKLINE(价量比3>0,价量比3,0,8,0),COLOR00FFFF,LAYER0;
STICKLINE(价量比3<=0,价量比3,0,8,0),COLORFF6600,LAYER0;

A1:=DYNAINFO(23) / DYNAINFO(22);
A2:=DYNAINFO(17);
DRAWTEXTABS(10,10,'能量(外盘比内盘):'+NUMTOSTRN(A1,2)+'  量比(当日):'+NUMTOSTRN(A2,2)+''),linethick2,color00FFFF;
[/code]


[attach]4604[/attach]

页: [1]