OPEN-SOURCE SCRIPT
Actualizado Greer Leap - Self-Optimizing XGBoost Approx & Stats

using the XGBoost for the competition as a test.
Only a test for the Leap competition
Only a test for the Leap competition
Notas de prensa
All Credit to fenyesk who created the XGBoost. I converted this to a strategy and removed the alerts since that was redundant and removed the long and short signals because the trades show up so also redundant and I plan on using this for the Leap competition. Feel free to copy this but make sure to give credit to fenyesk Notas de prensa
Added barstate.isconfirmed to help reduce the number of alerts when to buy and sell.Notas de prensa
Fix to use strategy strategy.position_size instead of current_pos. Hopefully this will reduce the false positives?Notas de prensa
Fixed the ta.crossunder and ta.crossover The "ta.crossunder()" call inside the conditional expression might not execute on every bar, which can cause inconsistent calculations because the function depends on historical results. For consistency, assign the call's result to a global variable and use that variable in the expression insteadNotas de prensa
this script is flawed medium.com/@techacademies/why-your-perfect-tradingview-strategy-fails-in-live-trading-30a875226d6b
read that medium post.
I'm going to continue to play around with this but be warned !!!!!
Notas de prensa
🚫 DEPRECATED — DO NOT USEThis script is no longer maintained and has been disabled.
It does not provide trading signals and should not be relied upon for analysis.
This publication is kept for historical/reference purposes only.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.