algozinitech

MACD AZT

Strategy Premise

Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price MACD is calculated by subtracting the long-term EMA (26 periods) from the short-term EMA (12 periods) The MACD has a positive value whenever the 12-period EMA is above the 26-period EMA and a negative value when the 12-period EMA is below the 26-period EMA.

Strategy Logic

Long Entry: When Signal Length Cross over MACD, Send LE

Long Exit: Either when SL or Target is hit. If SL/TGT is not hit and SE

Short Entry: When Signal Length Cross under MACD, Send SE

Short Exit: Either when SL or Target is hit. If SL/TGT is not hit and LE

MACD Strategy Parameters for TradingView Charts

FastLength : 12-period EMA

SlowLength : 26-period EMA

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.

Script protegido
Este script se publica con código cerrado, pero puede utilizarlo libremente. Márquelo como favorito y podrá usarlo en un gráfico. El código fuente no se puede ver ni modificar.
Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?