Logistic Regression calculation

Forums ProRealTime English forum ProOrder support Logistic Regression calculation

Viewing 5 posts - 1 through 5 (of 5 total)
  • #192063

    Hi,

    Was wondering if anyone has managed to produce a logistic regression within the PRT platform please?  Am trying to find a solution to migrate a strategy across from another platform but not had much success on the logistic regression yet.

    Thanks very much

    #192066

    Do you have source code or formula of a logistic regression please? What platform is your original code, so I can look for the exact same formula.

    #192084

    Hi Nicolas

    Thank you, appreciate you taking a look.  The platform uses python, I’ve taken a quick look and it calls a stored function.

    logisticRegr = LogisticRegression()

    However, I can re-create a close match in Excel but it requires the Solver Add-In to finish the process.  Will search for the complete formula.

    Thank you

     

    #192214

    I’ve come across it a few times in some articles, but never got around to using it. But here’s a few scripts that has the formula:

    Pine script: https://www.tradingview.com/script/49YIV1jW-Machine-Learning-Logistic-Regression/
    MT5: https://www.mql5.com/en/articles/10626

    #192219

    Seems ok to me to translate the pinescript code, but is it really that version (applied on price) that is needed in your strategy @samsampop ?

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

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