量价无双 本指标是价量结合的一个波段指标

VAR1:=LLV(LOW,10);
VAR2:=HHV(HIGH,25);
趋势:= EMA((CLOSE-VAR1)/(VAR2-VAR1)*110,10),COLORFF00FF,LINETHICK5;
IF(趋势>=REF(趋势,1),趋势,DRAWNULL),COLORFF00FF,LINETHICK2;
IF(趋势< REF(趋势,1),趋势,DRAWNULL),COLOR00FFFF,LINETHICK2;
STICKLINE(趋势>=REF(趋势,1) ,趋势 ,REF(趋势,1),3 ,1),COLORRED,LINETHICK3;
STICKLINE(趋势< REF(趋势,1) ,趋势 ,REF(趋势,1),3 ,1),COLOR00FF00,LINETHICK3;
IF(趋势>=REF(趋势,1),0,13),COLORFF00FF,LINETHICK2;
DRAWICON(趋势>=REF(趋势,1),8,1);
DRAWICON(趋势< REF(趋势,1),2,2);
VOLUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
STICKLINE(MAVOL1>=MAVOL2,122,116,3,0),COLORFF00FF;
STICKLINE (MAVOL1<MAVOL2,122,116,3,0),COLOR00FFFF;
成交量叉:MAVOL1>MAVOL2,POINTDOT;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
STICKLINE (DIF>=DEA,114,108,3,0),COLORFF00FF;
STICKLINE (DIF<DEA,114,108,3,0),COLOR00FFFF;
MACD叉:DIF>DEA,POINTDOT;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE (K>=D,106,100,3,0),COLORFF00FF;
STICKLINE (K<D,106,100,3,0),COLOR00FFFF;
KDJ叉:K>D POINTDOT;
DRAWTEXT(CURRBARSCOUNT=3,119,'VOL'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=3,111,'MACD'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=3,103,'KDJ'),COLORFF0000;
 


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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