OPEN-SOURCE SCRIPT
已更新

Greer Leap - Self-Optimizing XGBoost Approx & Stats

2 040
using the XGBoost for the competition as a test.
Only a test for the Leap competition
版本注释
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
版本注释
Added barstate.isconfirmed to help reduce the number of alerts when to buy and sell.
版本注释
Fix to use strategy strategy.position_size instead of current_pos. Hopefully this will reduce the false positives?
版本注释
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 instead
版本注释
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 !!!!!
版本注释
🚫 DEPRECATED — DO NOT USE

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

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。