编写要求:
{犀牛} VAR1:=MA(AMOUNT/(100*VOL),5); VAR2:=MA(AMOUNT/(100*VOL),13); VAR3:=MA(AMOUNT/(100*VOL),34); VAR4:=DMA(CLOSE,VOL/CAPITAL); VAR5:=WINNER(CLOSE)*100; VAR6:=100*VOL/CAPITAL; 成交额:(CLOSE-VAR2)/VAR2*100,LINETHICK,COLORYELLOW; Y0:=ABS(WINNER(C)-WINNER(OPEN))*70; Y7:=IF(VAR5>=90 AND VAR6<3,15.82,成交额); {控制} 高:=MAX(MAX(成交额,ABS(WINNER(C)-WINNER(O))*70),15.82); 低:=MIN(MAX(-成交额,-ABS(WINNER(C)-WINNER(O))*70),-15.82); STICKLINE(C>REF(C,1),0,Y0,3,1),COLORRED; STICKLINE(C<=REF(C,1),0,Y0,3,0),COLORCYAN; STICKLINE(成交额<=0,0,成交额,2,0),COLOR005C00; STICKLINE(成交额>0,0,成交额,2,0),COLORBLUE; STICKLINE(CROSS(C,VAR3),0,15.82,2,0),COLORRED; STICKLINE(CROSS(C,VAR4),0,15.82,2,0),COLORRED; STICKLINE(CROSS(VAR2,VAR4),0,15.82,2,0),COLORRED; STICKLINE(Y7>0,0,Y7,1,0),COLORWHITE; STICKLINE(Y7<=0,0,Y7,1,0),COLORWHITE;
解答:
?VAR2:=MA(AMOUNT/(100*VOL),13);
VAR3:=MA(AMOUNT/(100*VOL),34);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!