MA trending

MQL5 Experts

Job finished

Execution time 4 days
Feedback from customer
Very good programmer. Fast and skilled

Specification

 Please, read everything first and pay attention in every detail before agree.


The purpose of this EA is to work with various time frames with several Moving Average.


The following is the parameters that the EA will set:


-- General Settings -- 

1) Lot (Number greater than 0 with 2 digits, ex: 25.50)

2) Take Profit (Number greater than 0 with 2 digits, ex: 25.50)

3) Stop Loss (Number greater than 0 with 2 digits, ex: 25.50)


-- Break Even settings --

4) Break Even Enable (True or False)

5) Break Even Level (Number greater than 0 with 2 digits, ex: 25.50)

6) Break Even Profit (Number greater than 0 with 2 digits, ex: 25.50)


-- Time allow to trade -- 

7) Start Time (00:00 to 23:59)

8) End Time (00:00 to 23:59)

9) Close Positions (True or False) ** Do not trade with a different time and If there is a trading going, close the position. So if the time is different that was set, independently if the trade is positive or negative profit (gain zone or loss zone), close it.


-- Sending Orders Type and settings -- 

10) Market Price (True or False) ** Send order as market price

11) Pending Order (true or false)

12) Pending order points (Any number with 2 digits, including negative numbers) **This is a number to sum or subtract of the last close price.

      Ex 1: BUY case. If the close price was 103.50 and the number that set was 2.5, so the EA will send a pending order with the price equal to 105.00 (Stop order)

      Ex 2:  BUY case. If the close price was 105.00 and the number that set was -5.00, so the EA will send a pending order with a price equal to 100.00 (Limit order)

13) Reversal Order (True or false) ** Send oposite order 


-- Time Frame 01 -- 

14) Time frame (All Time frame allowed in MT5 like, 1m, 5m, 30m, 1H, etc..)

15) MA 01 Period (Integer number greater than 0)

16) MA 01 Type (Simple, exponential, etc..)

17) MA 02 Period (Integer number greater than 0)

18) MA 02 Type (Simple, exponential, etc..)

19) MA 03 Period (Integer number greater than 0)

20) MA 03 Type (Simple, exponential, etc..)

21) Candle Trend (True or false) ** Will be explained later


-- Time Frame 02 -- 

22) Time frame (All Time frame allowed in MT5 like, 1m, 5m, 30m, 1H, etc..)

22) MA 01 Period (Integer number greater than 0)

24) MA 01 Type (Simple, exponential, etc..)

25) MA 02 Period (Integer number greater than 0)

26) MA 02 Type (Simple, exponential, etc..)

27) MA 03 Period (Integer number greater than 0)

28) MA 03 Type (Simple, exponential, etc..)

29) Candle Trend (True or false) ** Will be explained later


-- Time Frame 03 -- 

30) Enable (True or false)

31) Time frame (All Time frame allowed in MT5 like, 1m, 5m, 30m, 1H, etc..)

32) MA 01 Period (Integer number greater than 0)

33) MA 01 Type (Simple, exponential, etc..)

34) MA 02 Period (Integer number greater than 0)

35) MA 02 Type (Simple, exponential, etc..)

36) MA 03 Period (Integer number greater than 0)

37) MA 03 Type (Simple, exponential, etc..)

38) Candle Trend (True or false) ** Will be explained later


-- Condition to trade -- 

39) BUY Power Trend (Integer number, greater than 0, positive)

40) SELL Power Trend (Integer number, less than 0, negative)


HOW IT WORKS:

The EA will analyse the power of the market trend, basing on several Moving Averages and candle trend at different time frames. Each MA and candle trend of each time frame will generate a number like:

Bear trend = -1

Neutral = 0

Bull Trend = +1

The EA will sum all this number and decide to BUY or SELL.

For example, If the sum of the conditions is greater than 12, EA will Buy. And if the sum of the condition is less than -10, EA will sell.

EA will work only with "Close prices" to decide if send and order or not.


*** Conditions to find the trend number:

  *Candle Trend

    If close price = open price, number is 0

    If the Close price > open price, number is +1

    If the close price < open price, number is -1

   

  *Crossing and trend MA rules (Only for MA 01 and MA 02)

    If MA 01 > MA 02 -> +1

    If MA 01 < MA 02 -> -1

    If MA 01 = MA 02 -> 0


    MA 01 last price [Bar (0)] is greater than MA 01 previous last price [Bar (-1)], AND MA 02 last price [Bar (0)] is greater than MA 02 previous last price [Bar (-1)], AND close price (market price) is greater than MA 01 and MA 02, the number is +1, ELSE, number is 0 

    MA 01 last price [Bar (0)] is less than MA 01 previous last price [Bar (-1)], AND MA 02 last price [Bar (0)] is less than ma 02 previous last price [Bar (-1)], AND close price (market price) is less than MA 01 and MA 02, the number is -1, ELSE, number is 0 

   

   P.S.: So to confirm the bull trend, MA 01 must crossing up MA 02 and the direction of the both moving averange (MA 01 and MA 02) must be higher (up).To confirm bear trend, the conditions will be the oposite.


  *MA 03 rules

    IF the last price (market price) is greater than MA 03 AND MA 03 last price [Bar (0)] is greater than previous last price [Bar (-1)], number is +1, ELSE, numer is 0

    IF the last price (market price) is less than MA 03 AND MA 03 last price [Bar (0)] is less than previous last price [Bar (-1)], number is -1, ELSE, numer is 0

 

If every conditions are bull trend, the maximum number will be 15. If every conditions are bear trend, the minimum number will be -15.


EXAMPLE:


 Time Frame 01 = 2 minutes

  MA 01 and MA 02 crossing = +1

  MA 01 Trend = +1

  MA 02 Trend = 0

  MA 03 Trend = +1

  Candle Trend = -1

 

 Time Frame 02 = 5 minutes

  MA 01 and MA 02 crossing = +1

  MA 01 Trend = +1

  MA 02 Trend = +1

  MA 03 Trend = 0

  Candle Trend = +1

  

 Time Frame 03 = 20 minutes 

  Enable = True

  MA 01 and MA 02 crossing = 0

  MA 01 Trend = +1

  MA 02 Trend = +1

  MA 03 Trend = 0

  Candle Trend = +1

     

         *** SUM = 9.

 

 Suppose that I set -> BUY Power Trend = 8 -> It means that if the sum of the conditions is greater than 8, EA will send a Buy order

 Suppose that I set -> SELL Power Trend = -6 -> It means that if the sum of the conditions is less than -6, EA will send a Sell order

 Neutral will be a value less than 8 and greater than -6. (EA will do nothing)


SO in that example case, EA must to send a buy order, if the other conditions like, time set, are ok.


To help to understand the idea of the EA, I include an indicator that works very similar of what I want, but the indicator just change the colors. 

Red tons means bear. Green and Blue means bull. Yellow means neutral.

Responded

1
Developer 1
Rating
(878)
Projects
1390
67%
Arbitration
117
32% / 42%
Overdue
215
15%
Free
2
Developer 2
Rating
(54)
Projects
64
42%
Arbitration
5
20% / 60%
Overdue
4
6%
Free
3
Developer 3
Rating
(1848)
Projects
3448
88%
Arbitration
73
40% / 15%
Overdue
265
8%
Free
4
Developer 4
Rating
(584)
Projects
913
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Working
5
Developer 5
Rating
(117)
Projects
138
41%
Arbitration
30
7% / 77%
Overdue
17
12%
Free
6
Developer 6
Rating
(61)
Projects
120
34%
Arbitration
17
18% / 41%
Overdue
51
43%
Free
Similar orders
Hello, I am a trader and I have a certain strategy I want to code to an automated EA , so I am seeking for an experienced developer to code a custom trading strategy into an Expert Advisor (EA) for MetaTrader 4 (MT4). The strategy is based on a meticulously backtested algorithm and requires precise execution in live market conditions. If you have the skills and experience to undertake this project, please reach out
Hey I need a proficient programmer to code a well automated expert advisor MT4 EA as per my strategy, you must be skilled and ready to turn my trading ideas into an algorithm that works exactly, kindly reach out to have a look at my trading strategy and let me know if you can turn it to an automated expert advisor in metatrader 4, thanks in advance
I am looking for superb amazing fast MT4 EA coding service from a reliable skilled programmer, If you are the type that used to attend to messages after it client has been waiting so long or paying attention in the beginning then disappear for a while, not ready to provide timely updates and pay attention to details, don't apply as not to waste both our time, I begged you with the power that keep you alive, this is
I have an EA that is based on an indicator and I need to fix and upgrade the EA a bit, The EA is based on a technical indicator of the mql5 store and the original indicator has been updated, therefore the EA is stuck
Hello, please let me know if any of these strategies can be turned into a bot (automation) and run 24/7 on a vps. Also note that they might not use the latest versions of indicators, if this matters, then please check for the latest versions. Thank you! Dan https://1drv.ms/f/s!Alr17W7ddJLYgYgiFKZYluOfokbfQg
Hello! Thanks for reading. I need an EA with an inbuilt/already made strategy that I can use for prop firms. The drawdown should be very low of only 2-4% max and another criteria is that no one else other than you are currently using it and if you happen to use it you must tell me which prop firm you are using it on to avoid us using the same EA on the same prop firm to get the account denied. As you know or may
I need a proven GOLD scalping ea with very low drawdown, SL&TP. The EA should not be martingale and grid strategy. Preferably low time frame scalping . If you have a personal scalping EA please message me for discussion. Preferably with investors account read me only to see the trade results or a demo backtest ea
Tomato EA 35+ USD
I want any development life robot to use with my mobile phone and and robot should be able to start to trade even 5 dollars and should provide signal all should be do via mobile device
Specific time EA 50 - 100 USD
EA must be able to enter Buy or Sell or Both trade(s) as a market order at a pre-determined time specified as HH:mm:ss using one of two options: regardless of what the price of the instrument is at that time or using the price as at the last closed minute as the reference eg, if specified time is 09:29:20 (HH:mm:ss), then the last reference price should be 09:29:00 If this option (1.b. / reference price) is selected
looking for a developer who can Design MT5 EA as per my Strategy based on Nadaraya [LuxAlgo] + RSI Multi Length [LuxAlgo] pine script indicator to MT5 (Mql5) Main Inputs 01) Indicator: Nadaraya [LuxAlgo] + RSI Multi Length [LuxAlgo] 02) CYCLE SETTINGS 03) LOT SIZE SETTINGS 04) TP, SL, TS SETTINGS 05) EQUITY PROTECTOR SETTINGS 06) CUSTOM TRADING SESSION TIMES 07) HIGH IMPACT NEWS FILTER Stratagy is : After identify

Project information

Budget
100 - 200 USD
For the developer
90 - 180 USD
Deadline
from 5 to 10 day(s)