Hi Tommaso,
I've been wondering about the stochs, they never looked to me as if they behaved like stochs I'm used to. See below for difference to standard
stoch.
Standard settings alone are not doing it.
Looking at the code can you explain the impact of :
1) Moving Average method. Exactly how is Smoothed averaging MODE_SMMA calculated? and it shouldn't matter if you are using %K as the output correct?
2) Price field parameter. Can be one of these values: 0 - Low/High or 1 - Close/Close. How does this affect the formula below:
The formula for %K is:
%K = (CLOSE-LOW(%K))/(HIGH(%K)-LOW(%K))*100
Where:
CLOSE — is today’s closing price;
LOW(%K) — is the lowest low in %K periods;
HIGH(%K) — is the highest high in %K periods.
3) Indicator line index. It can be any of the Indicators line identifiers enumeration value (0 - MODE_MAIN, 1 - MODE_SIGNAL). I assume it is taking the %K value?
You do not have the required permissions to view the files attached to this post.