N:=3;
MA20:=MA(C,20);
MA30:=MA(C,30);
QSXS:=MA20》MA30 AND MA20》REF(MA20,1) AND MA30》REF(MA30,1);
ZF:=(C/REF(C,1)-1)*100;
TDDF:=(L/REF(C,1)-1)*100《=-5 AND (REF(HHV(H,5),1)/L-1)*100》=10;
白银:TDDF AND QSXS,COLORFFFF00,POINTDOT,LINETHICK2;
N1:=BARSLAST(CROSS(C,MA(C,5)));
N2:=BARSLAST(CROSS(MA(C,5),C));
HM:IF(N1《N2,N1+1,0)*QSXS,COLOR00FFFF;
黄金:HM=1 AND ZF》=0 AND C》O AND QSXS,COLOR00FFFF,POINTDOT,LINETHICK2;
KX1:=ZF《=-N AND C《O;
XDSJ:=BARSLAST(KX1);
KX2:=ZF》=N AND C》O;
JBY:=KX2 AND XDSJ《=2 AND C》=REF(O*0.99,XDSJ) AND ZF》ABS(REF(ZF,XDSJ)*0.99);
金包银:IF(FILTER(JBY,1) AND QSXS,5,0),COLORFF00FF,LINETHICK2;
{以下设置副图显示方式}
STICKLINE(白银,-1,1,4,1),COLORFFFF00;
STICKLINE(黄金,0,1,4,0),COLOR00FFFF;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!