[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GT] logarithmic values and scale.pm
Hi ras,
>i'm thinking it is caused by either plotting RSI or SMA curves on a log price
>plot.
When you plot the SMA the value should never be nevative as the SMA is calculated on the price and a negative price is not possible.
When plotting the RSI a logarithmic scale is normally not necessary because you use the log-scale to normalize the price-movement; but the RSI is already normalized by its formula so that it is between 0 and 100.
Maybe you can isolate a single case where your negaitve number occurs. We can then look if it is a bug in the indicator or if the indicator is right but the number produces should not be displayed on a logarithmic chart...
CU, Olf