9-20 EMA Crossover: This script tracks the crossover of the 9-period EMA and the 20-period EMA.
When the 9 EMA crosses above the 20 EMA, a buy signal is triggered. When the 9 EMA crosses below the 20 EMA, a sell signal is triggered. Take Profit and Stop Loss Levels:
The take profit for a long position is set at 3% above the entry price (close * 1.03). The stop loss for a long position is set at 1% below the entry price (close * 0.99). The take profit for a short position is set at 3% below the entry price (close * 0.97). The stop loss for a short position is set at 1% above the entry price (close * 1.01). Leverage: The strategy uses 20x leverage for both long and short positions (leverage=20).
Alerts: Alerts are set up for the buy signal when the 9 EMA crosses above the 20 EMA and the sell signal when the 9 EMA crosses below the 20 EMA. These alerts can be used with a webhook to trigger trades on Binance Futures.
Strategy:
For long trades: The strategy enters a long position and sets a take profit at 3% above the entry price and a stop loss at 1% below the entry price. For short trades: The strategy enters a short position and sets a take profit at 3% below the entry price and a stop loss at 1% above the entry price.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.