OPEN-SOURCE SCRIPT
Win-Loss Streak Plotter

Win-Loss Streak Plotter
This indicator tracks the win/loss streaks of moving average crossovers (using simple moving averages for illustration purposes). It calculates the price change after each crossover, marking each as a win (green) or loss (red). The win rate is shown separately.
Inputs:
Source: Price series (default: open)
Fast MA: Fast moving average (default: open)
Slow MA: Slow moving average (default: open)
Total Crosses to Analyze: Number of crossovers to track
Crosses per Row: Number of crossovers per row in the table
Output:
A table displays each crossover’s result (win/loss).
A separate win rate table shows the percentage of wins.
Suggestions are always welcomed!
This indicator tracks the win/loss streaks of moving average crossovers (using simple moving averages for illustration purposes). It calculates the price change after each crossover, marking each as a win (green) or loss (red). The win rate is shown separately.
Inputs:
Source: Price series (default: open)
Fast MA: Fast moving average (default: open)
Slow MA: Slow moving average (default: open)
Total Crosses to Analyze: Number of crossovers to track
Crosses per Row: Number of crossovers per row in the table
Output:
A table displays each crossover’s result (win/loss).
A separate win rate table shows the percentage of wins.
Suggestions are always welcomed!
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.