OPEN-SOURCE SCRIPT
Trinity Flow

Overview
This strategy is based on the trading method I used when I first entered the world of investing at age 20. While the original entry conditions and exit rules were quite rough, I've revived this approach with a sense of nostalgia, refining it into a modern form after years of experience.
Strategy Features
Trend Filter: Trend determination using three EMAs (8, 14, 50)
EMA alignment 8 > 14 > 50: Long condition (EMA line: White)
EMA alignment 50 > 14 > 8: Short condition (EMA line: Red)
Other alignments: Range/neutral (EMA line: Gray)
Entry Timing: Stochastic RSI (3, 3, 14, 14) crossover
Long entry on the bar following a confirmed golden cross
Short entry on the bar following a confirmed death cross
Risk Management: ATR (14) based fixed ratios
Stop Loss: ATR × 3
Take Profit: ATR × 2
Visual Design
White EMA line: Long opportunity zone
Red EMA line: Short opportunity zone
Gray EMA line: No clear trading opportunity
Light white box: Profit zone
Light red box: Loss zone
Parameters
All parameters (EMA periods, Stoch RSI settings, ATR period, SL/TP multipliers) are fully adjustable in the settings.
Disclaimer
Frequent false signals may occur in ranging markets
Works best in strong trending markets
Past performance does not guarantee future results
概要
このストラテジーは、私が20歳の頃、初めて投資の世界に入った時に使っていた手法を基にしています。当時は粗削りなエントリー条件と決済ルールでしたが、長年の経験を経て、懐かしさを感じながら現代的な形に復活させました。
手法の特徴
トレンドフィルター:3本のEMA(8, 14, 50)の並び順でトレンドを判定
EMAが8 > 14 > 50の順:ロング条件(EMAライン:白)
EMAが50 > 14 > 8の順:ショート条件(EMAライン:赤)
それ以外:レンジ状態(EMAライン:灰色)
エントリータイミング:Stochastic RSI(3, 3, 14, 14)のクロス
ゴールデンクロス確定後の次足でロングエントリー
デッドクロス確定後の次足でショートエントリー
リスク管理:ATR(14)ベースの固定比率
損切:ATR × 3倍
利確:ATR × 2倍
ビジュアルデザイン
白いEMAライン:ロング狙える状態
赤いEMAライン:ショート狙える状態
灰色のEMAライン:エントリーチャンスなし
薄い白ボックス:利益ゾーン
薄い赤ボックス:損失ゾーン
パラメータ
すべてのパラメータ(EMA期間、Stoch RSI設定、ATR期間、損切・利確倍率)は設定から調整可能です。
注意事項
レンジ相場では頻繁にダマシが発生する可能性があります
強いトレンド相場で最も効果を発揮します
バックテストの結果は過去のパフォーマンスであり、将来の結果を保証するものではありません
This strategy is based on the trading method I used when I first entered the world of investing at age 20. While the original entry conditions and exit rules were quite rough, I've revived this approach with a sense of nostalgia, refining it into a modern form after years of experience.
Strategy Features
Trend Filter: Trend determination using three EMAs (8, 14, 50)
EMA alignment 8 > 14 > 50: Long condition (EMA line: White)
EMA alignment 50 > 14 > 8: Short condition (EMA line: Red)
Other alignments: Range/neutral (EMA line: Gray)
Entry Timing: Stochastic RSI (3, 3, 14, 14) crossover
Long entry on the bar following a confirmed golden cross
Short entry on the bar following a confirmed death cross
Risk Management: ATR (14) based fixed ratios
Stop Loss: ATR × 3
Take Profit: ATR × 2
Visual Design
White EMA line: Long opportunity zone
Red EMA line: Short opportunity zone
Gray EMA line: No clear trading opportunity
Light white box: Profit zone
Light red box: Loss zone
Parameters
All parameters (EMA periods, Stoch RSI settings, ATR period, SL/TP multipliers) are fully adjustable in the settings.
Disclaimer
Frequent false signals may occur in ranging markets
Works best in strong trending markets
Past performance does not guarantee future results
概要
このストラテジーは、私が20歳の頃、初めて投資の世界に入った時に使っていた手法を基にしています。当時は粗削りなエントリー条件と決済ルールでしたが、長年の経験を経て、懐かしさを感じながら現代的な形に復活させました。
手法の特徴
トレンドフィルター:3本のEMA(8, 14, 50)の並び順でトレンドを判定
EMAが8 > 14 > 50の順:ロング条件(EMAライン:白)
EMAが50 > 14 > 8の順:ショート条件(EMAライン:赤)
それ以外:レンジ状態(EMAライン:灰色)
エントリータイミング:Stochastic RSI(3, 3, 14, 14)のクロス
ゴールデンクロス確定後の次足でロングエントリー
デッドクロス確定後の次足でショートエントリー
リスク管理:ATR(14)ベースの固定比率
損切:ATR × 3倍
利確:ATR × 2倍
ビジュアルデザイン
白いEMAライン:ロング狙える状態
赤いEMAライン:ショート狙える状態
灰色のEMAライン:エントリーチャンスなし
薄い白ボックス:利益ゾーン
薄い赤ボックス:損失ゾーン
パラメータ
すべてのパラメータ(EMA期間、Stoch RSI設定、ATR期間、損切・利確倍率)は設定から調整可能です。
注意事項
レンジ相場では頻繁にダマシが発生する可能性があります
強いトレンド相場で最も効果を発揮します
バックテストの結果は過去のパフォーマンスであり、将来の結果を保証するものではありません
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.