PureBytes Links
Trading Reference Links
|
Randall_Gary@xxxxxxxx wrote:
> I have a US Bonds chart with 1/32 units set in DownLoader. The OHLC prices
> show in 1/32s in the data window, but price indicators show in decimals.
> This is probably because an indicator could plot any number, not just
> prices.
>
> Is there any way to get an indicator value to show in other units?
>
> Gary Randall -- Brunswick, Maine
Gary/Al,
This may help:
You can display moving averages in 1/32's by writing a custom formula using the
Integer and Fraction functions.
Here is an example of a 3 ma of the highs:
{ 3maHfrac }
Int(Mov(H,3,S)) + (Frac(Mov(H,3,S)) * .32)
Here is an example of a RSI(9):
Int(RSI(9)) + (Frac(RSI(9))*.32)
Here is an example of a HHV(H,20):
Int(HHV(H,20)) + (Frac(HHV(H,20))*.32)
Here is an example of aATR(10):
Int(ATR(10)) + (Frac(ATR(10))*.32)
Plot the fractional indicator on your chart with it's decimal counterpart.
You'll notice right away that the frac ind does not line up with the decimal
ind. The fractional indicator plots at the value displayed in the Status Bar
window rather than at the correct 1/32 value displayed on the chart. Why I
don't know. But the important thing is that the fractional indicator DOES seem
show the correct value in the Data Window. Please verify for yourself and let
me know if there's a problem. So this means that you'll want to plot the
fractional ma purely for reading 1/32's in the Data Window...but make it
invisible. Next plot the decimal ma purely for your visual aid. Hope this is
makes lifesimpler. <g>
Regards,
Ken
mailto:divenfish@xxxxxxxxxxxxx
|