编写要求:
请老师帮忙将(短线入场)公式的红色柱加入‘第二个公式’谢谢!!!!!! (短线入场)公式: VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3; 短底:STICKLINE(VAR1<-9 AND VAR1> REF(VAR1,1),VAR1-16,0,2,0),COLORRED; DRAWTEXT(VAR1>20 AND FILTER(VAR1REF(VAR1,1),18),VAR1-2,''),,COLOR0000FF; DRAWTEXT(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,'底'),; DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),1,''); 第二个公式: N:=90;M:=3; 低:=REF(LLV(L,N),M); 低点:=REFDATE(低,DATE); XG:低点=L AND ((C-L)>(O-C) OR (O-L)>(C-O)) COLOR00FF00,LINETHICK5,STICK;
解答:
?VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
短底:STICKLINE(VAR1<-9 AND VAR1> REF(VAR1,1),VAR1-16,0,2,0),COLORRED;
DRAWTEXT(VAR1>20 AND FILTER(VAR1
DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),VAR1-2,''),,COLOR0000FF;
DRAWTEXT(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,'底'),;
DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),1,'');
N:=90;M:=3;
低:=REF(LLV(L,N),M);
低点:=REFDATE(低,DATE);
XG:低点=L AND ((C-L)>(O-C) OR (O-L)>(C-O)),LINETHICK0;
STICKLINE(XG,0,25,2,0),COLOR00FFFF;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!