OPEN-SOURCE SCRIPT
Zaktualizowano 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
Informacje o Wersji
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 Informacje o Wersji
Added barstate.isconfirmed to help reduce the number of alerts when to buy and sell.Informacje o Wersji
Fix to use strategy strategy.position_size instead of current_pos. Hopefully this will reduce the false positives?Informacje o Wersji
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 insteadInformacje o Wersji
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 !!!!!
Informacje o Wersji
🚫 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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.