编写要求:
DRAWGBKlast(DATE>900101,strip(RGB(0,0,160),RGB(0,20,10),0)); cyc5:=cyc(5); cyc0:=MAXCYC; aa:(cyc5-cyc0)/cyc0; STICKLINE(aa>0.12,0,aa,8.10,0),COLORRED; STICKLINE(aa<0,0,aa,8.10,0),colorgreen; STICKLINE(aa<0.12 and aa>0,0,aa,8.10,0),coloryellow
解答:
{控盘公式}
P1:=1;
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));
CYC0:=IF(JJJT,0.01*EXPMA(AMOUNT,P1)/EXPMA(VOL,P1),EMA((HIGH+LOW+CLOSE)/3,P1));
CYC5:=CYC(13);
AA:(CYC0-CYC5)/CYC0,NODRAW;
STICKLINE(AA>0.12,0,AA,1,0),colorred;
STICKLINE(AA<0,0,AA,1,0),colorgreen;
STICKLINE(AA<0.12 AND AA>0,0,AA,1,0),coloryellow;
0;?
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!