Creat an EA with an indicator

작업 종료됨

실행 시간 6 시간

명시

The EA name will be "Everlong EA"
The EA should work from an indicator.  The indicator consists of 3 indicators.  Arrow, bar and trend line.
It must enter into operation when all 3 indicators send the order at the same time.  The output of the operation is customizable.
EA cannot interfere with manual orders and other EAs.
The first time the EA is inserted in the chart, it can only make the first entry into the operation after the time corresponding to the timeframe has passed.  For example, if you put in TF H1, it only gives the first entry after 1 hour.  And so for each timeframe.
Have field for Magic number and comments.

Lot management, choose from a list:
  1. Fix lot (put a field for the fixed lot value).
  2. Lot according to the established value (for example, if you put 1500, every 1500 in the account increases 0.01 lot. If the account has 3000, it will operate with 0.02, if it has 4000 lot, it will still be 0.02, until  arrive at 4500, where it becomes 0.03).
  3. Based on the risk (%) of the money in the account.

Trade entry criteria:
  1. Only enter if the 3 indicators (arrow, bar, trend line) indicate to buy or sell.

Output criteria:
  1. Take profit fixed.
    1. Defaultis 0. So the output will be by changing the indicator.  If you put a value here, the trade will end when it reaches that value, but close before the indicator changes the sign).
  2. Take profit if any of the indicators change the signal in relation to the entry, leave the following options:
    1. Arrow- active or inactive - if active, the first opposite sign of the input value already causes the trade to close.
    2. Bar- active or inactive - if active, the first opposite sign of the input value already causes the trade to close.
    3. Trendline- active or inactive - if active, the first opposite sign of the input value already causes the trade to close.
    4. If more than one option is actived, the indicator that changes the signal first will exit the operation.

Trailing Stop
  1. Active and inactive option.
  2. Place a field in pips for the moment you start the TS.
    1. If the value is 0, it will start at the moment of the Take profit signal.
    2. If you put a negative value here, -20, for example, it will set TS out 20 pips before Take profit.  This in order to avoid starting the TS and leaving the operation quickly.
    3. Place a field for the TS step.

Stop Loss
  1. Active and inactive option.
  2. Placea field in pips.

Option to enter multiple timeframe:
  1. M1 active / not active
  2. M5 active / not active
  3. M15 active / not active
  4. M30active / not active
  5. H1active / not active
  6. H4active / not active
  7. D1active / not active
In the trade comment, put the timeframe of the operation.  For example, "EA name_M5" in the comment.

EA opening hours:
  1. Define the start and end times of the EA operation.

파일:

응답함

1
개발자 1
등급
(345)
프로젝트
543
32%
중재
24
67% / 8%
기한 초과
15
3%
무료
2
개발자 2
등급
(2077)
프로젝트
2635
61%
중재
113
45% / 26%
기한 초과
418
16%
작업중
3
개발자 3
등급
(253)
프로젝트
407
38%
중재
85
42% / 19%
기한 초과
70
17%
로드됨
비슷한 주문
//+------------------------------------------------------------------+ //| SimpleEA.mq5| //| Copyright 2023, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "2023, MetaQuotes Software Corp." #property link " https://www.mql5.com " #property version "1.00" #property strict input int FastMAPeriod = 12; // Período da média

프로젝트 정보

예산
50+ USD
개발자에게
45 USD
기한
에서 1  10 일