Translation request: Stochastic Close/Close

Forums ProRealTime English forum ProBuilder support Translation request: Stochastic Close/Close

Viewing 3 posts - 1 through 3 (of 3 total)
  • #63132

    Hi,

    In MT4 Stochastic implementation there are two options for “Price Field”:

    Low/High

    Close/Close

    It looks like only first option (Low/High) is implemented in ProRealtime Stochastic. Can I ask for Close/Close option to be implemented as well? (or translated).

    Following the article in https://www.forexfactory.com/showthread.php?t=36225

    “As far as I can tell, High/Low uses the following formula to calc %K:
    100 x (Recent Close – Lowest Low*) / (Highest High* – Lowest Low*)
    [* for the last N periods, where N is the %K parameter]

    whereas Close/Close uses the following formula to calc %K:
    100 x (Recent Close – Lowest Close*) / (Highest Close* – Lowest Close*)”

    Not sure if this is correct but I have not found alternative source with correct formula.

    Thanks.

    #63160

    Here is the stochastic code with Close/Close:

     

    #63321

    Many thanks Nicolas, that was really quick! will check it now.

    🙂

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login