Logistic Regression calculation

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #192063 quote
    deletedaccount051022deletedaccount051022
    Participant
    New

    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 quote
    NicolasNicolas
    Keymaster
    Legend

    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 quote
    deletedaccount051022deletedaccount051022
    Participant
    New

    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

    Logistical.png Logistical.png
    #192214 quote
    paisantraderpaisantrader
    Participant
    Senior

    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 quote
    NicolasNicolas
    Keymaster
    Legend

    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)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Logistic Regression calculation


ProOrder: Automated Strategies & Backtesting

New Reply
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by NicolasNicolas
4 years, 5 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/22/2022
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...