chiến lược đơn giảnThe example strategy is a simple moving average crossover system designed to identify potential buy and sell signals. It calculates a 50-period simple moving average (SMA) and monitors the price movements relative to this indicator. When the closing price crosses above the SMA, the strategy enters a long position. Conversely, when the closing price crosses below the SMA, it closes the long position. This approach aims to capture trends by following the price momentum. The strategy is implemented using Pine Script in TradingView and can be optimized by adjusting the SMA period or adding risk management parameters.