INVITE-ONLY SCRIPT
eFkolos Tech Indicator

Machine learning-enhanced SuperTrend indicator that uses k-means clustering to adaptively optimize SuperTrend parameters based on historical performance. Let me break down what makes this unique:
Key Innovation
Instead of using a single fixed SuperTrend factor, this indicator:
Calculates multiple SuperTrends simultaneously (with factors from 1 to 5 by default, stepped at 0.5)
Tracks performance of each variant using exponential smoothing
Clusters them into 3 groups (Best/Average/Worst) using k-means algorithm
Adapts by selecting the average factor from your chosen cluster
Clever Technical Aspects
Performance Metric: Uses a smart approach where performance = EMA of (price_change × signal_direction), giving positive values when the SuperTrend correctly predicts direction.
K-means Implementation: Properly initializes centroids using quartiles and iterates until convergence - this is solid unsupervised learning.
Adaptive MA Layer: The perf_ama that adapts faster when the performance index is high (more confidence) and slower when low.
Memory Management: Uses UDTs (User Defined Types) efficiently with arrays to handle multiple SuperTrend instances.
Key Innovation
Instead of using a single fixed SuperTrend factor, this indicator:
Calculates multiple SuperTrends simultaneously (with factors from 1 to 5 by default, stepped at 0.5)
Tracks performance of each variant using exponential smoothing
Clusters them into 3 groups (Best/Average/Worst) using k-means algorithm
Adapts by selecting the average factor from your chosen cluster
Clever Technical Aspects
Performance Metric: Uses a smart approach where performance = EMA of (price_change × signal_direction), giving positive values when the SuperTrend correctly predicts direction.
K-means Implementation: Properly initializes centroids using quartiles and iterates until convergence - this is solid unsupervised learning.
Adaptive MA Layer: The perf_ama that adapts faster when the performance index is high (more confidence) and slower when low.
Memory Management: Uses UDTs (User Defined Types) efficiently with arrays to handle multiple SuperTrend instances.
招待専用スクリプト
こちらのスクリプトにアクセスできるのは投稿者が承認したユーザーだけです。投稿者にリクエストして使用許可を得る必要があります。通常の場合、支払い後に許可されます。詳細については、以下、作者の指示をお読みになるか、sbagdaiに直接ご連絡ください。
スクリプトの機能を理解し、その作者を全面的に信頼しているのでなければ、お金を支払ってまでそのスクリプトを利用することをTradingViewとしては「非推奨」としています。コミュニティスクリプトの中で、その代わりとなる無料かつオープンソースのスクリプトを見つけられる可能性もあります。
作者の指示
Machine learning-enhanced SuperTrend indicator that uses k-means clustering to adaptively optimize SuperTrend parameters based on historical performance. Let me break down what makes this unique:
Key Innovation
Instead of using a single fixed SuperTrend
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
招待専用スクリプト
こちらのスクリプトにアクセスできるのは投稿者が承認したユーザーだけです。投稿者にリクエストして使用許可を得る必要があります。通常の場合、支払い後に許可されます。詳細については、以下、作者の指示をお読みになるか、sbagdaiに直接ご連絡ください。
スクリプトの機能を理解し、その作者を全面的に信頼しているのでなければ、お金を支払ってまでそのスクリプトを利用することをTradingViewとしては「非推奨」としています。コミュニティスクリプトの中で、その代わりとなる無料かつオープンソースのスクリプトを見つけられる可能性もあります。
作者の指示
Machine learning-enhanced SuperTrend indicator that uses k-means clustering to adaptively optimize SuperTrend parameters based on historical performance. Let me break down what makes this unique:
Key Innovation
Instead of using a single fixed SuperTrend
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。