编写要求:
{---------------☆功能数钱----------------} INPUT:GU1(6,1,100),GU2(27,1,200),GU3(5,1,100); LX_JW1:=100*(CLOSE-REF(CLOSE,GU1))/REF(CLOSE,GU1); LX_JW2:=MA(LX_JW1,(2*GU1))*2.5; LX_JW3:=(CLOSE-LLV(LOW,GU2))/(HHV(HIGH,GU2)-LLV(LOW,GU2))*100; LX_JW4:=3*SMA(LX_JW3,5,1)-2*SMA(SMA(LX_JW3,5,1),3,1); LX_JW5:=EMA(LX_JW4,GU3); LX_JW6:=REF(LX_JW5,1); FILLRGN(50,50+LX_JW2,LX_JW2 <0),COLORGREEN; FILLRGN(50,50+LX_JW2,LX_JW2>=0),COLORDD22DD; 界线:STICKLINE(C>0,49,51,10,0),COLOR999999; STICKLINE(LX_JW5>=REF(LX_JW5,1),LX_JW5,LX_JW6,8,0),COLOR0000DD; STICKLINE(LX_JW5<=REF(LX_JW5,1),LX_JW5,LX_JW6,8,0),COLORDDDD00; 文线:10,COLORF505F5; 估线:90,COLOR0088F5; {-----------【数钱图解】-----------} DRAWTEXT(FILTER(CROSS(LX_JW5,10),5),3,'¥'),ALIGN0,COLORRED; DRAWTEXTREL(1,80,'界文自用'),COLOR00FF00; STICKLINE(FILTER(CROSS(LX_JW5,10),5),10,50,8,0),COLOR6A00EE; STICKLINE(FILTER(CROSS(90,LX_JW5),5),92,50,8,0),COLOREE6A00; DRAWICON(FILTER(CROSS(90,LX_JW5),5),95,8); DRAWICON(CROSS(LX_JW5,50),43,7);
解答:
?GU2:=27;
GU3:=5;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!