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

Using Moving Averages with an EA (Sample Source Code) - MetaTrader 4용 expert

조회수:
8475
평가:
(4)
게시됨:
2023.09.16 14:50
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

1. ENTRY RULE

Long Entry: We will enter long positions on the Golden Cross.

  1. The value of the previous moving average is higher than the shorter-term moving average.
  2. The value of the moving average two periods ago is lower than the shorter-term moving average.
  3. The value of the moving average two periods ago is lower than the value of the previous short-term moving average.

If these three conditions are met, we consider it a Golden Cross and enter a long position.

Short Entry: We will enter short positions on the Dead Cross.

  1. The value of the previous moving average is lower than the shorter-term moving average.
  2. The value of the moving average two periods ago is higher than the shorter-term moving average.
  3. The value of the moving average two periods ago is higher than the value of the previous short-term moving average.

If these three conditions are met, we consider it a Dead Cross and enter a short position.

2. EXIT RULE

Entry orders are managed only with stop loss orders and take profit limit orders.

The stop loss point is set at a distance of Stoploss value from the mid-term MA.

Take profit Limit orders are set at the same distance as stop orders but on the positive side, also serving fairness.



3. BACKTEST RESULT



    MaybeAwo EA MaybeAwo EA

    a Versatile automated trading tool for the MetaTrader 4 platform. This EA is designed to assist traders in managing their positions effectively by offering features such as setting a breakeven point, trailing stop, stop loss, and take profit levels. It works with various input parameters, allowing you to customize its behavior to fit your trading strategy.

    Probability and Signals class Probability and Signals class

    With these classes you can create and test your signals runtime.

    Super Scalper EMAs Super Scalper EMAs

    Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator

    Breakout Martin Gale Expert Advisor for mql4 Breakout Martin Gale Expert Advisor for mql4

    This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.