PROTECTED SOURCE SCRIPT
Flip Flop

Flip Flop is a visual trend-flip indicator built around two Hull Moving Averages (HMAs): a fast “Short” HMA and a slower “Long” HMA. It plots both HMAs with user-selectable colors, thickness, and line styles, and can shade the area between them to highlight trend bias (green when the short HMA is above the long HMA, red when below).
When the HMAs cross, the script can:
• Color the crossover candle (bullish or bearish)
• Print BUY/SELL labels at the crossover bar
• Trigger alert conditions for both bullish and bearish crosses
A compact on-chart dashboard summarizes the current short/long HMA values, market status (BULLISH ▲ / BEARISH ▼), and the most recent crossover date.
Optional performance tracking simulates a simple long-only system: it “enters” on bullish crosses and “exits” on bearish crosses, tracking equity, total P&L (and %), trade count, win rate, and average win/loss based on your initial capital and position sizing percent.
When the HMAs cross, the script can:
• Color the crossover candle (bullish or bearish)
• Print BUY/SELL labels at the crossover bar
• Trigger alert conditions for both bullish and bearish crosses
A compact on-chart dashboard summarizes the current short/long HMA values, market status (BULLISH ▲ / BEARISH ▼), and the most recent crossover date.
Optional performance tracking simulates a simple long-only system: it “enters” on bullish crosses and “exits” on bearish crosses, tracking equity, total P&L (and %), trade count, win rate, and average win/loss based on your initial capital and position sizing percent.
Script protégé
Ce script est publié en source fermée. Cependant, vous pouvez l'utiliser librement et sans aucune restriction – pour en savoir plus, cliquez ici.
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 protégé
Ce script est publié en source fermée. Cependant, vous pouvez l'utiliser librement et sans aucune restriction – pour en savoir plus, cliquez ici.
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.