浪子缠精品系列:原创作品:《通达信版量王精选》
经过三次改版,万众期待,隆重登场!
从量王到量王叠现再到量王精选,经典就是经典!无法超越!
叠加量王活跃、量王天数、天量成头信号!
{公式名称: 量王精选
公式描述: 浪子缠量王精选V2.2
参数数量: 4
参数1: AOV, 最小: 1, 最大: 2, 缺省: 1
参数2: M1, 最小: 0, 最大: 600, 缺省: 5
参数3: M2, 最小: 0, 最大: 600, 缺省: 30
参数4: M3, 最小: 0, 最大: 600, 缺省: 120
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:
请设置计算参数:
AOV: Param#0 (1.00--2.00)
M1: Param#1 (0.00--600.00)
M2: Param#2 (0.00--600.00)
M3: Param#3 (0.00--600.00)
用法注释:无
公式源码:}
X_1:=IF(AOV=1,AMOUNT,IF(AOV=2,VOL,AMOUNT));
AORV:X_1,VOLSTICK;
MA1:MA(AORV,M1),COLORWHITE;
MA2:MA(AORV,M2),COLORYELLOW;
MA3:MA(AORV,M3),COLORMAGENTA;
X_2:=AORV>REF(AORV,1)*1.9;
X_3:=AORV>MA(AORV,60)*5;
X_4:=AORV>MA(AORV,250)*2;
X_5:=AORV>(MA(AORV,5)+MA(AORV,30)+MA(AORV,250)+MA(AORV,120))/4*2;
X_6:=FORCAST(EMA(CLOSE,16),7);
X_7:=IF(MA(CLOSE,5)>X_6 OR CLOSE>X_6,1,0);
X_8:=BETWEEN(BARSSINCE(AORV>0),60,250) AND X_7>0;
倍量:X_2 AND CLOSE>REF(CLOSE,1),NODRAW,COLORMAGENTA;
爆量柱:X_3,NODRAW,COLOR0066FF;
X_9:=X_7=1 AND AORV>MA(AORV,250);
X_10:=X_7=0 AND AORV>MA(AORV,250);
活跃:AORV>MA(AORV,250) AND X_7<1,NODRAW,COLORMAGENTA;
STICKLINE(活跃,0,AORV*0.8,3,0),COLORMAGENTA;
X_11:=MA(AORV,5)>MA(AORV,30) AND MA(AORV,5)>MA(AORV,60) OR AORV>MA(AORV,60)*2 AND X_8;
X_12:=MA(AORV,5)>MA(AORV,30) AND MA(AORV,5)>MA(AORV,250) AND MA(AORV,30)>MA(AORV,250) AND X_9;
X_13:=X_9 AND MA(AORV,30)>MA(AORV,250) AND BETWEEN(MA(AORV,5),MA(AORV,30),MA(AORV,250));
X_14:=X_4 AND MA(AORV,5)>MA(AORV,30) AND MA(AORV,5)>MA(AORV,250) AND X_9;
X_15:=X_12 OR X_13 OR X_14 OR X_11;
X_16:=1;
STICKLINE(倍量,0,AORV,3,1),COLORMAGENTA;
量王:BARSLAST(X_15<1),NODRAW,COLORRED;
STICKLINE(X_11,0,AORV,3,0),COLORRED;
STICKLINE(X_15 AND X_16,0,AORV,3,0),COLORRED;
X_17:=AORV=HHV(AORV,BARSCOUNT(CLOSE)) AND X_16;
天量:BARSLAST(X_17<1),NODRAW,COLORYELLOW;
STICKLINE(X_17,0,AORV,3,0),COLORYELLOW;
|