将(短线入场)指标整合为一个公式
2020/7/13 18:30:34
公式编写说明:
请老师帮忙将(短线入场)公式的红色柱加入‘第二个公式’谢谢!!!!!! (短线入场)公式: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<REF(VAR1,1),5),VAR1+5,''),COLOR00FF00;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)) 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<REF(VAR1,1),5),VAR1+5,''),COLOR00FF00;
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;
看股 吧公式 www.kan guba.com
其它股票公式列表