거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

Viral MACD Strategy (3.5M+ Views) — Recreated and Automated - MetaTrader 4용 expert

조회수:
2767
평가:
(2)
게시됨:
업데이트됨:
\MQL4\Include\ \MQL4\Indicators\
Box.mq4 (9.29 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동


This Expert Advisor is based on a simple MACD strategy that combines multiple technical conditions. It is designed to test how well the strategy performs in real trading environments.

Main Features

  • Standard MACD crossover (buy if the mainline crosses above the signal line below zero and sell if the main line crosses below the signal line above zero) parameters are:
    • Fast EMA: 12
    • Slow EMA: 26
    • Signal line: 

  • 200-period moving average for trend filtering. If the price is above the moving average, only buys are allowed, if the price is below the moving average only sells are allowed.

  • The Strategy also uses price action: A touch of a support level is needed for a buy trade and for the sell condition, price has to go above the resistance. This is made possible with a custom Box.mq4 indicator, which is a custom indicator, that displays support and resistance levels. It's important to note, that support and resistance levels are subjective.

  • The Risk Management of the strategy is the following. The Stop Loss is always placed above the MA for sell trades and below the MA for buy trades. The SL level will be calculated based on an input parameter called SLPointDistanceFromMA. The Take Profit of the trade is 1.5 times the SL of the trade.

MACD and support/resistance signals do not need to happen at the same time. The SignalValidity input defines how many candles these conditions remain valid.

Input Parameters

Parameter Description
SignalValidity (int) Number of candles a signal remains valid after appearing (default: 7)
Lotsize (double) Trade volume for each order
SLPointDistanceFromMA (int) Distance (in points) between the MA and the stop loss level

The backtest results on EURUSD for the last year

Input parameters of the EA

A visualization of the strategy



LotSize Calculation LotSize Calculation

This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.

Eliot Waves Eliot Waves

"Eliot Waves" EA draws 2 Trend Lines with "zigzag" on chart and trades When a Eliot retracement is formed,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

Three Colors Three Colors

Example: Moving Average indicator filling by different colors

MACD Sample MACD Sample

Classical MACD Sample.