PROTECTED SOURCE SCRIPT

Flip Flop

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

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。