Guide
How does the PresentTrend - Strategy [presentTrading] strategy work ?
The PresentTrend strategy leverages a unique approach combining custom indicators based on the RSI or MFI with the Average True Range (ATR) to follow market trends. This dual approach captures both shorter-term moves and broader market trends, increasing its efficacy across different market scenarios.
- Using a PresentTrend value derived from the RSI or MFI, the strategy identifies potential trend reversals through crossover and crossunder patterns.
- The ATR aids in determining the strength of the trend, complementing the primary indicator.
- Trades are executed only when both the custom indicator and the ATR signal a buy for a long position, or a sell for a short position—aligning short-term trends with long-term momentum.
- Flexibility is key; users can fine-tune the strategy for long, short, or both directions, catering to various trading styles and market conditions.
For strategy execution:
- Input desired parameters for trend detection, such as source, length, and multiplier.
- Select between RSI or MFI for the PresentTrend indicator’s base.
- Set the trade direction parameter to initiate trades that are long, short, or both.
- The strategy processes these preferences to signal optimal entry points.
- Users then execute the trade accordingly, aligning with the generated signals.
Default settings are calibrated for a balanced strategy, including a 'Both' trade direction for versatility and predefined inputs for source ('hlc3'), length (14), and a golden ratio-based multiplier (1.618). Positioned to accommodate momentum-based trading, the strategy defaults to MFI and emphasizes user customizability for unique market contexts.