MA trending

MQL5 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 4 gün
Müşteri tarafından geri bildirim
Very good programmer. Fast and skilled

İş Gereklilikleri

 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.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(879)
Projeler
1394
67%
Arabuluculuk
117
32% / 42%
Süresi dolmuş
215
15%
Serbest
2
Geliştirici 2
Derecelendirme
(54)
Projeler
64
42%
Arabuluculuk
5
20% / 60%
Süresi dolmuş
4
6%
Serbest
3
Geliştirici 3
Derecelendirme
(1862)
Projeler
3465
88%
Arabuluculuk
73
40% / 15%
Süresi dolmuş
265
8%
Serbest
4
Geliştirici 4
Derecelendirme
(600)
Projeler
935
46%
Arabuluculuk
31
39% / 29%
Süresi dolmuş
93
10%
Serbest
5
Geliştirici 5
Derecelendirme
(117)
Projeler
138
41%
Arabuluculuk
30
7% / 77%
Süresi dolmuş
17
12%
Serbest
6
Geliştirici 6
Derecelendirme
(61)
Projeler
120
34%
Arabuluculuk
17
18% / 41%
Süresi dolmuş
51
43%
Serbest
Benzer siparişler
Hello my developer colleagues, am also a developer like you but i just hear about this mql site and i will like to sell, develop and build bots for buyer. But i don't know how to become a seller here please i need help in helping me to create a seller account on mql and i will be very glad if you can help me out and i will appreciate you
Preciso de um EA que abra ordens a mercado a partir de um indicador, Ele precisa obter take e stop loss fixos, spread máximo, horários de início e final das operações, meta e stop diário, martingale, painel e a função no script para que eu possa ceder o EA apartir do id do mt4 de terceiros
Hello Investors, I'm selling a profitable and stable expert advisor trading on the Gold (XAUUSD) pair using a cutting-edge scalping strategy. The EA is able to generate a stable monthly income without using martingale strategy, and with an optional cut loss in place. Particularly the average monthly gain can go from 2-3% (at a relatively low risk, with an historical max DD of 6%) to 20-30% (with an aggressive style
Atomic Analyst Indicator to EA. I have an mt4 indicator called Atomic Analyst. The indicator gives buy/sell signals as shown in the screenshot. I want to know if you can take this indicator, and create an EA that automatically takes the signals. The indicator puts in the SL and TP1, TP2, TP3, TP4, TP5 automatically. I would like the option to put in my lot size parameter and I would also like an automatic trail stop
can you help me with Ctrader i need modification on the linkhttps://docs.google.com/document/d/1fggk49xWbnwahtfOlE-U7G6muZB1FT8eWmftGiY7R-s/edit?usp=sharing can you assist with cTrader modifications to enhance functionality and improve performance. do text me if you a professional on it i will be looking forward to your response best regards
MT4 Expert Advisor 30 - 120 USD
EA sittings The EA utilises the concept of grid and hedging by creating a zone for recovering losing trades It is a continues trading EA without any stop loss. The EA initially aims to trade continually without the need to hedge. The EA enter the first trade following the direction of the moving average (when price is above or below the moving average), and only hedge when, the trade goes against the trend and reach
Would I honestly need is someone who can make a profitable EA for me that can at least make me around $80 a day starting with $50 and the EA must be able to work with exness the EA should automat trades 24/7. Broker = Exness Pairs = USD/JPY XAU/USD and etc Chart time frames = M1 M15 History = last month till last 6 months. Lot size 0.10 take profit at $2 stop
Hello i am seeking a skilled MetaTrader 5 (MQL5) developer to modify an existing Telegram signal copier. The goal is to enhance the copier's functionality, reliability, and user experience. kindly bid this job to get started immediately
Hello, I’m looking for assistance with creating or customizing a TradingView indicator to suit my trading needs. If you have experience in this area, please reach out. Your help would be greatly appreciated. Thanks
# MT4 Expert Advisor Development Rules ## Time Period Definition 1. Allow user to define a specific time period (e.g., 10:00 to 15:00). 2. Identify and store the high and low prices within this period. ## Price Breakout Detection 3. Monitor current price for breakouts above the period high or below the period low. ## Signal Confirmation (signals will be taken on m5 timeframe) 4. After a breakout, wait for a signal

Proje bilgisi

Bütçe
100 - 200 USD
Geliştirici için
90 - 180 USD
Son teslim tarihi
from 5 to 10 gün