量价结合彩柱副图用法详解源码分享




换手:=V/CAPITAL*100;

STICKLINE(换手,0,换手,2,1),COLORRED;

VA:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);

obv:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);

MAOBV:=MA(OBV,30);

STICKLINE((OBV>REF(OBV,1) AND OBV>MAOBV),0,换手,2,1),COLORLIRED;

STICKLINE(NOT(OBV>REF(OBV,1) AND OBV>MAOBV),0,换手,2,0),COLORCYAN;

JJ:=(HIGH+LOW+CLOSE)/3;

QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);

买1:=QJ0*(MIN(OPEN,CLOSE)-LOW)*2;

买2:=QJ0*(JJ-MIN(CLOSE,OPEN))*2;

卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ)*2;

卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE))*2;

DT:=((买1+买2)-(卖1+卖2))/10000*6;

STICKLINE(DT>0,0,换手*0.5,0.5,0),COLOR0000FF;

STICKLINE(DT< 0,0,-换手*0.4,0.5,0),COLORGREEN;

TD1:=QJ0*(MIN(OPEN,CLOSE)-LOW);

DD1:=QJ0*(JJ-MIN(CLOSE,OPEN));

DD2:=QJ0*(HIGH-MAX(OPEN,CLOSE));

TD2:=QJ0*(MAX(CLOSE,OPEN)-JJ);

TD:=TD1-TD2;

DA:=DD1-DD2;

XD1:=1-(TD1+DD1);

XD2:=1-(TD2+DD2);

TZ:=V/SUM(V,60)*100;

DTA:=((XD1-XD2)/10000)/TZ;

DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26));

DEA:=EMA(DIF,9);

ACB11:=MA(HHV(HIGH,485),17);

ACB21:=MA(HHV(HIGH,222),17);

ACB31:=MA(HHV(HIGH,96),17);

ACB41:=MA(LLV(LOW,485),17);

ACB51:=MA(LLV(LOW,222),17);

ACB61:=MA(LLV(LOW,96),17);

ACB71:=MA((ACB41*0.96+ACB51*0.96+ACB61*0.96+ACB11*0.558+ACB21*0.558+ACB31*0.558)/6,17);

ACB81:=MA((ACB41*1.25+ACB51*1.23+ACB61*1.2+ACB11*0.55+ACB21*0.55+ACB31*0.65)/6,17);

ACB91:=MA((ACB41*1.3+ACB51*1.3+ACB61*1.3+ACB11*0.68+ACB21*0.68+ACB31*0.68)/6,17);

ACBA:=MA((ACB71*3+ACB81*2+ACB91)/6*1.738,17);

ACBB:=ACBA;

ACBC:=LOW;

ACBD:=REF(LOW,1);

ACBE:=SMA(Abs(ACBC-ACBD),3,1)/SMA(MAX(ACBC-ACBD,0),3,1)*100;

ACBF:=MA(IF(CLOSE*1.35<=ACBB,ACBE*10,ACBE/10),3);

ACB10:=LLV(LOW,30);

ACB111:=HHV(ACBF,30);

SS:=MA(IF(LOW<=ACB10,(ACBF+ACB11*2)/2,0),3);

STICKLINE(SS,换手,换手*0.5,0.5,0),COLORBLUE;

N:=3;

M1:=10;

ACB1:=(C-EMA(C,6))/EMA(C,6)*100;

ACB2:=(C-MA(C,24))/MA(C,24)*100;

ACB3:=(C-MA(C,32))/MA(C,32)*100;

ACB4:=(ACB1+ACB2+ACB3)/3;

量价结合:MEMA(ACB4,N),COLORWHITE,LINETHICK2;

波段操作:MEMA(量价结合,3),COLORGREEN,LINETHICK2;

IF(量价结合>REF(量价结合,1),量价结合,DRAWNULL),COLORRED,LINETHICK2;

IF(波段操作>REF(波段操作,1),波段操作,DRAWNULL),COLORFF00FF,LINETHICK2;

QDZ:=DT>0 AND crOSS(DIF,DEA) AND OBV>REF(OBV,1) AND OBV>MAOBV AND 量价结合>REF(量价结合,1);

DRAWICON(QDZ,DEA,9);



未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图