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
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.
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
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
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 ?