algozinitech

4 EMA Algo Strategy AZT

Strategy Premise

A moving average can be a very effective indicator. Many traders use exponential moving averages, an effective type of moving average indicator, to trade in a variety of markets.

An exponential moving average strategy, or EMA strategy, is used to identify the predominant trend in the market. It can also provide the support and resistance level to execute your trade.

Strategy Logic

Long Entry: When Closing Price Crossover 21 Days EMA, Send LE

Long Exit: Either when SL or Target is hit. If SL/TGT is not hit and Closing Price Cross Under 21 Days EMA Send LX, SE

Short Entry: When Closing Price Cross Under 21 Days EMA , Send SEShort Exit: Either when SL or Target is hit. If SL/TGT is not hit and Closing Price Crossover 21 Days EMA Send SX, LE

4 EMA Strategy Parameters for TradingView Charts

EMA Length : EMA lengths, such as 10-day, 50-day, and 200-day moving averages.

Intraday Trade Session: Entry Trade Will be Taken only in this session.

EXIT Session: Trades will be squared off in this timeframe

Quantity: This is used to specify the trade quantity

Custom Stop Loss in Points: Movement in chart price against the momentum which will trigger exit

Custom Target in Points: Movement in chart price against the momentum which will trigger exit

Setting Up Alert

Before setting up an alert make sure that You have selected the desired script, timeframe, strategy settings, API bridge is configured and running. Click in settings add alert and paste {{strategy.order.comment}} in message box.

Important: do not change any settings during live trading.

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

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.

Want to use this script on a chart?