编写条件:
编写方法:
网友求助:
写个出倍量后1天出缩量做个预警
源码
倍量2:V>=REF(V,1)*2,COLOR00FFFF,LINETHICK0;
STICKLINE(倍量2 ,0,V,3,0),COLOR00FFFF,LINETHICK2 ;
DRAWTEXT(倍量2,vol*1.05,'倍量' ),COLORRED,LINETHICK1 ;
缩量2:V<=REF(V,1)/2,COLOR00FF00,LINETHICK0;
STICKLINE(缩量2 ,0,V,3,0),COLOR00FF00,LINETHICK2 ;
DRAWTEXT(缩量2,VOL*1.2,'缩量' ),COLOR00FFFF,LINETHICK1;
解答如下:
倍量2:=V>=REF(V,1)*2;
缩量2:=V<=REF(V,1)/2;
barslast(倍量2)>=1 and barslast(倍量2)<=7 and 缩量2;
缩量2:=V<=REF(V,1)/2;
barslast(倍量2)>=1 and barslast(倍量2)<=7 and 缩量2;