Histogram for true range of price

#1
Hi,

I am looking for an AFL which will draw 'True Range ' histogram for price in a sepearte pane based on the following:

The True Range is defined as the largest of three measures:

• Today’s High less Today’s Low

• The absolute value of Today’s High less Previous Close

• The absolute value of Today’s Low less Previous Close

We use the absolute value, which means the number will always be positive.

If anyone share the AFL code if he has the same, I will be obliged.

Regards,

Addadutta
 

KelvinHand

Well-Known Member
#2
Hi,

I am looking for an AFL which will draw 'True Range ' histogram for price in a sepearte pane based on the following:

The True Range is defined as the largest of three measures:

• Today’s High less Today’s Low

• The absolute value of Today’s High less Previous Close

• The absolute value of Today’s Low less Previous Close

We use the absolute value, which means the number will always be positive.

If anyone share the AFL code if he has the same, I will be obliged.

Regards,

Addadutta
DIY:: Plot ATR(1) with styleHistogram will meet your requirement of TRUE RANGE.
Simple right!
 

Similar threads