|
TMP:=OPEN-CLOSE;
DRAWLINE(TMP>0.0001,HIGH,TMP>0.0001,OPEN,COLORCYAN);
DRAWLINE(TMP>0.0001,LOW,TMP>0.0001,CLOSE,COLORCYAN);
DRAWLINE(TMP<-0.0001,HIGH,TMP<-0.0001,CLOSE,COLORRED);
DRAWLINE(TMP<-0.0001<CLOSE,LOW,TMP<-0.0001,OPEN,COLORRED);
DRAWLINE(ABS(TMP)<0.0001,LOW,ABS(TMP)<0.0001,OPEN,COLORWHITE);
DRAWLINE(ABS(TMP)<0.0001,HIGH,ABS(TMP)<0.0001,OPEN,COLORWHITE);
STICKLINE(TMP>0,OPEN,CLOSE,COLORCYAN,0);
STICKLINE(TMP<=0,OPEN,CLOSE,COLORRED,1);
VAR1:=HIGH>=REFX(HIGH,1) && HIGH>=REFX(HIGH,2) && HIGH=HHV(HIGH,3);
VAR2:=LOW<=REFX(LOW,1) && LOW<=REFX(LOW,2) && LOW = LLV(LOW,3);
DRAWTEXT(VAR1,HIGH,'----');
DRAWTEXT(VAR2,LOW,'----');
|
|