OPEN-SOURCE SCRIPT

Buy/Sell Signals: SMA + Volume + Trade Profit

870
This indicator generates buy and sell signals using SMA 150, SMA 50, candle color, and volume conditions.
A buy signal appears when a green candle closes above the SMA 150, remains within the selected maximum percentage above it, closes above the SMA 50, and has above-average volume.
A sell signal appears on the first candle that closes below the SMA 50 after a buy signal.
The indicator tracks each completed trade and displays the profit/loss percentage on the sell candle. It also includes a summary table showing trade count, average profit, total compounded profit, average yearly profit, time spent in trades, and yearly capital-efficiency adjusted for exposure time.
The checked time period is configurable in years.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.