最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 公式编辑器错误提示问题

公式编辑器错误提示问题

来源:网络 点击: 时间:2023-01-04 02:42:33

编写要求:

解答:

?网友求助:

N:1,10,5;}
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250),COLORRED;
DTPL:=MA10>MA30 AND MA20>MA30 AND MA30>REF(MA30,1);
突破线:MIN(MA20*1.05,MA30*1.1),COLOR0066FF,POINTDOT;
差幅:=C/MIN(MA20*1.05,MA30*1.1)-1,COLOR0066FF,POINTDOT;
均线流:=(DTPL AND MA5>MA30 AND MA5 偏离率:=(CMA30)*0.1,COLORFF00FF,POINTDOT,LINETHICK0;
BDGD:=C=HHV(C,20);
GDSJ:=BARSLAST(BDGD);
REF(C,GDSJ),COLOR00FF00,POINTDOT;
{C/REF(C,GDSJ)-1,COLOR00FF00,POINTDOT;}
目标:IF(均线流=-0.1 AND 偏离率=0.1 AND GDSJ>=N,0.8,0),COLORWHITE,POINTDOT,LINETHICK0;
MBSJ:=BARSLAST(目标=0.8);
TP1:=CROSS(C,MIN(MA20*1.05,MA30*1.1)) AND REF(GDSJ,1)>=N;
TP2:=偏离率=0 AND REF(COUNT(偏离率=0.1,N)=N,1) AND C>REF(C,1);
突破:(TP1 OR TP2)*1,COLOR00FFFF,POINTDOT,LINETHICK0;
QSXS1:=MA5>REF(MA5,1);
LYHT:=DTPL AND MA5>MA10 AND NOT(QSXS1) AND REF(QSXS1,1);
MAV5:=EMA(V,5);
MAV10:=EMA(V,10);
LNMACD:=((V-MAV5)/MAV5*2+(V-MAV10)/MAV10)*10;
量坑:=LNMACD<=-10;
优选:目标 AND COUNT(量坑,3)>=1,COLORFF00FF,POINTDOT,LINETHICK0;
{以下设置主图显示方式}
{STICKLINE(均线流=-0.1,0,-0.2,5,1),color00FF00;
STICKLINE(偏离率=0.1,0,0.2,5,1),colorFF00FF;}
DRAWTEXT(目标=0.8,l,'△'),colorFFFFFF;
DRAWTEXT(突破,l,'★'),coloryellow;
{DRAWTEXT(突破,0,'突●破'),color00FFFF;}
DRAWTEXT(LYHT,(MA10+MA20)/2, '●'),COLORFF00FF;
DRAWTEXT(LYHT,(MA10+MA20)/2, '¤'),COLORFF00FF;
DRAWICON(优选,L,1);

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top