The TTF (Tradingview Heikin Ashi Smoothed v4) strategy is designed for backtesting trading strategies on a backtesting website. It utilizes the Heikin Ashi Smoothed V4 indicator to generate buy and sell signals. Here's a brief explanation of how the strategy works:
The strategy uses the 5-minute timeframe for trading and obtains additional information from the 1-hour timeframe (informative pair).
The strategy defines a minimal ROI (Return on Investment) of 10% and a stop loss of -0.9 (9% loss).
It employs a trailing stop loss feature with a positive offset of 0.03 (3%).
The strategy only processes new candle data to optimize performance. It enables the use of sell signals and considers the entire ROI when generating buy signals. The TTF indicator is calculated using the provided length parameter (default is 15). It uses the high and low prices to determine buy and sell power. Buy signals are generated when the TTF indicator crosses above the lower trigger value and the volume is greater than 0. Sell signals are generated when the TTF indicator crosses below the upper trigger value and the volume is greater than 0. Overall, the TTF strategy aims to identify potential buying opportunities when the TTF indicator suggests strong buying power and selling opportunities when there is a shift in the TTF indicator indicating potential selling pressure.