编写要求:
请老师帮忙编写一个根据斐波那契数列天数来选股的公式。 ZL:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3); F11:=ZIG(3,15); FXX:=IF((F11> REF(F11,1)),5,105); 转向:=CROSS(ZL,FXX); 高点:=CROSS(FXX,ZL); VARZT:=BARSLAST(转向); STICKLINE(VARZT=2,L*0.97,L*0.98,8,0),COLOR0000FF; DRAWTEXT(VARZT=2,L*0.95,'3'),COLORYELLOW; STICKLINE(VARZT=4,H*1.03,H*1.02,8,0),COLOR9966FF; DRAWTEXT(VARZT=4,H*1.06,'5'),COLORYELLOW; STICKLINE(VARZT=7,L*0.97,L*0.98,8,0),COLOR00FFFF; DRAWTEXT(VARZT=7,L*0.95,'8'),COLORYELLOW; STICKLINE(VARZT=12,H*1.03,H*1.02,8,0),COLORFF33FF; DRAWTEXT(VARZT=12,H*1.06,'13'),COLORYELLOW; STICKLINE(VARZT=20,L*0.97,L*0.98,8,0),COLOR0066FF; DRAWTEXT(VARZT=20,L*0.95,'21'),COLORYELLOW; STICKLINE(VARZT=33,H*1.03,H*1.02,8,0),COLOR9932CD; DRAWTEXT(VARZT=33,H*1.06,'34'),COLORYELLOW; STICKLINE(VARZT=54,L*0.97,L*0.98,8,0),COLOR006600; DRAWTEXT(VARZT=54,L*0.95,'55'),COLORYELLOW; STICKLINE(VARZT=88,H*1.03,H*1.02,8,0),COLOR00FF00; DRAWTEXT(VARZT=88,H*1.06,'89'),COLORYELLOW; STICKLINE(VARZT=143,L*0.97,L*0.98,8,0),COLORCCFFFF; DRAWTEXT(VARZT=143,L*0.95,'144'),COLORYELLOW; STICKLINE(VARZT=232 ,H*1.03,H*1.02,8,0),COLORFF0033; DRAWTEXT(VARZT=232,H*1.06,'233'),COLORYELLOW; DRAWTEXT(VARZT=377,H*1.06,'377'),COLORYELLOW; STICKLINE(VARZT=377,L*0.97,L*0.98,8,0),COLORFF9966; DRAWTEXT(VARZT=610,H*1.06,'610'),COLORYELLOW; STICKLINE(VARZT=610,L*0.97,L*0.98,8,0),COLOR6B4226; 根据此公式只想选出当日是7、8或20、21天的股票。感激不尽!
解答:
?zl:=ema(100*(c-llv(low,34))/(hhv(h,34)-llv(low,34)),3);
f11:=zig(3,15);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!