“短线操作”副图通不过的问题
2020/2/17 18:41:04
公式编写说明:
求解决:“短线操作”副图通不过的问题
公式源码回答:
N1:=21;
N2:=7;
X1:=HHV(OPEN,N1);
X2:=LLV(OPEN,N2);
X3:=(X1+X1)/2;
TMP:=X3-C;
DRAWLINE(TMP>0.00001,HIGH,TMP>0.00001,OPEN,1),COLORCYAN;
DRAWLINE(TMP>0.00001,LOW,TMP>0.00001,CLOSE,1),COLORCYAN;
DRAWLINE(TMP<-0.00001,HIGH,TMP<-0.00001,CLOSE,1),COLORRED;
DRAWLINE(TMP<-0.00001,LOW,TMP<-0.00001,OPEN,1)COLORRED;
DRAWLINE(ABS(TMP)<0.00001,HIGH,ABS(TMP)<0.00001,OPEN,1),COLORWHITE;
DRAWLINE(ABS(TMP)<0.00001,LOW,ABS(TMP)<0.00001,OPEN,1),COLORWHITE;
STICKLINE(TMP>0.00001,OPEN,CLOSE,2,0),COLORCYAN;
STICKLINE(TMP<0.00001,OPEN,CLOSE,2,0),COLORRED;
投股票 网 www.tou18. cn
股市公式下载推荐