编写要求:
持股线本身是成交额与成交量的关系,并不含未来,变为红色粗线时用到了流通盘大小这个函数。线上持股,线下持币,出现红色粗线并结合持股线的角度坚定持股。
解答:
均价:=(0.618*(0.809*C+0.191*o)+0.382*(if(H=C,C,H)+if(L=C,C,L))/2);
lj:=(AMOUNT/(V*100)+均价)/2;
HS1:=SUMBARS(V,CAPITAL*0.382),LINETHICK;
HS2:=SUMBARS(V,CAPITAL*1.618),LINETHICK;
HSC:=3*MA(lj,HS1)-2*MA(lj,HS2),COLORDD8758;
价线:=(WMA(HSC,1)*0.618+(WMA(HSC,3)+WMA(HSC,6))/2+WMA(HSC,8)*0.382)/2,COLOR1318FF;
HSV:=3*MA(V/CAPITAL*100,HS1)-2*MA(V/CAPITAL*100,HS2),COLORWHITE;
换手线:=(WMA(HSV,1)*0.618+(WMA(HSV,3)+WMA(HSV,6))/2+WMA(HSV,8)*0.382)/2,COLORMAGENTA;
资金线:=(SUM(AMOUNT,5)*0.618+(SUM(AMOUNT,11)+SUM(AMOUNT,15))/2+SUM(AMOUNT,21)*0.382)/2;
量线:=(SUM(v,5)*0.618+(SUM(v,11)+SUM(v,15))/2+SUM(v,21)*0.382)/2;
持股线:(WMA(资金线/(量线*100),5)*0.618+(WMA(资金线/(量线*100),11)+WMA(资金线/(量线*100),15))/2+WMA(资金线/(量线*100),21)*0.382)/2;
PARTLINE((HSC>价线 OR HSV>换手线) AND C>持股线,持股线),COLOR1318FF,LINETHICK2;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!