algozinitech

MACD Strategy AZT

MACD Pine script Strategy for TradingView


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 12 Period EMA is above the 26- Period EMA Send LE

Long Exit: Either when SL or Target is hit. If SL/TGT is not hit and 12-period EMA is below the 26-period EMA. Send LX, SE

Short Entry: When 12-period EMA is below the 26-period EMA. Send SE

Short Exit: Either when SL or Target is hit. If SL/TGT is not hit and 12 Period EMA is above the 26- Period EMA Send SX, LE

MACD Strategy Parameters for TradingView Charts

FastLength : 12-period EMA

SlowLength : 26-period EMA

Intraday Trade Session : Entry Trade Will be Taken only on 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

보호된 스크립트입니다
이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.
면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?