Distance to the High- and Low-Value

 

Hi,

how can I put an arrow a small distance over the High- or below the Low-Value of an bar?

It should work on different underlyings.

f.e.:

downarrow[i] = iLow(Symbol(),0,i) - ?????;

 
#define gap 10


downarrow[i] = iLow(Symbol(),0,i) - gap*Point;
but since you are using the same chart and Symbol you might as well use Low[i] rather than iLow(Symbol(),0,i)
 
sunshineh:

Hi,

how can I put an arrow a small distance over the High- or below the Low-Value of an bar?

It should work on different underlyings.

f.e.:

downarrow[i] = iLow(Symbol(),0,i) - ?????;

Multiply some integer with Point
 
sunshineh:

Hi,

how can I put an arrow a small distance over the High- or below the Low-Value of an bar?

It should work on different underlyings.

f.e.:

downarrow[i] = iLow(Symbol(),0,i) - ?????;

Normally I do like

double distance = (Ask-Bid)/2;
downarrow[i] = iLow(Symbol(),0,i) - distance;
Reason: