天地量指标和虚拟量提示(源码 副图 贴图)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-06-06 09:30:00
公式简介:
指标原码
VOLUME:VOL,VOLSTICK;
周换:SUM(V/CAPITAL*100,5),COLOR00FFFF;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2),COLORFFF000,LINETHICK2;
VAR2:=1*AMOUNT;
MA1:=1*MA(AMOUNT,5);
MA2:=1*MA(AMOUNT,10);
三十日天量:=HHV(VAR2,34)=VAR2;
六十日天量:=HHV(VAR2,60)=VAR2;
百日天量:=HHV(VAR2,100)=VAR2;
一年天量:=HHV(VAR2,250)=VAR2;
STICKLINE(三十日天量,VOLUME,VOLUME*0.1,4,0),COLORYELLOW;
STICKLINE(六十日天量,VOLUME,VOLUME*0.1,4,0),COLORMAGENTA;
STICKLINE(百日天量,VOLUME,VOLUME*0.1,4,0),COLORGREEN;
STICKLINE(一年天量,VOLUME,VOLUME*0.1,2,0),COLORFF8800;
地量:=VOL<LLV(VOL,34)*1.001;
STICKLINE(地量>0,0,VOL,7,0),COLORYELLOW;
{加到自用的成交量公式前面}
{⑤%:CAPITAL*5/100,linedot,colorgray;}
交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000,
if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,
if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);
日期差:=DATEDIFF(DATE,CURRENTDATE);
预测量:IF(BARSTATUS=2 and 日期差=0,VOL/交易分钟数*240,VOL),COLOR00FFFF,LINETHICK0;
{预测量2:IF(BARSTATUS=2,VOL*240/OPENMINUTES(CURRENTTIME),VOL),COLOR00FF00,LINETHICK0;}
STICKLINE(BARSTATUS=2,vol,预测量,7,1),COLOR00FFFF,POINTDOT;
A3:(HHV(VOLUME,60)+HHV(VOLUME,30))*0.52;
A2:(HHV(VOLUME,60)+HHV(VOLUME,30))*0.55;
B1:(LLV(VOLUME,60)+LLV(VOLUME,30))*0.45;
B2:(LLV(VOLUME,60)+LLV(VOLUME,30))*0.55;
M1------------------5
M2----------------60
[url=http://www.goodgupiao.com/gupiaogongshi/14103.html][B]天地量指标和虚拟量提示(源码 副图 贴图)[/B][/url]