MA trending

MQL5 エキスパート

仕事が完了した

実行時間4 日
依頼者からのフィードバック
Very good programmer. Fast and skilled

指定

 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.

応答済み

1
開発者 1
評価
(879)
プロジェクト
1393
67%
仲裁
117
32% / 42%
期限切れ
215
15%
仕事中
2
開発者 2
評価
(54)
プロジェクト
64
42%
仲裁
5
20% / 60%
期限切れ
4
6%
3
開発者 3
評価
(1858)
プロジェクト
3462
88%
仲裁
73
40% / 15%
期限切れ
265
8%
仕事中
4
開発者 4
評価
(599)
プロジェクト
932
46%
仲裁
31
39% / 29%
期限切れ
93
10%
5
開発者 5
評価
(117)
プロジェクト
138
41%
仲裁
30
7% / 77%
期限切れ
17
12%
6
開発者 6
評価
(61)
プロジェクト
120
34%
仲裁
17
18% / 41%
期限切れ
51
43%
類似した注文
I need a modification on my existing Ea if you can Can fixed risk management to lot size instead of percentage. don’t want strategic risk management input to be based on percentage Instead lot size. The strategic risk management function I need turned from percentage to lot based And I need sells and buys to have separate tps and sl options Budget:$100 Day: 1 day
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
I need to get a trading forex robot based on support and accurate resistance and moving avarage more details will be provided on the video links I want a situation where by once I put the robot on the chart and choose buy or sell and the number to open then it will only buy or sell in that particular direction only
NADGIO 30+ USD
I need a developer that can convert two Buy and Sell indicators into a trading robot. the indicators has an input parameter, this should be made available for adjustment. Features 1. Break Even 2. Trailing Stop 3. Global TP and SL 5. Time Filter 6. News Filter (If possible)
I need a developer who can convert trading view indicator in to mt5 expert advisor with some modifications. The other details will shared once chosen the developer. Looking for someone who has good knowledge of forex, mql5,and pine script
Hello, i hope you all well. I am looking or a good developer who can understand SCM/ICT concepts so that can modify an existing EA to trade against that. The EA is already there with code and it was trading based on Breakouts zones. Now i want the EA to be modified so that it trades based on inducements and liquidity. The EA should use Pending orders on those zones instead. I do not want new developers to apply
EA for index trading using ATR % of 5day 1 Give Average true range for the past 5 day so 5day ATR also for ref use the indicator "atr value indicator " my entries will be based on a % of this NO. NO. TO BE SHOWN IN TOP CORNER The Expert im looking for is 1.AT X TIME (ie 8:am ) 2.IF price moves X % of the 5 day atr( either up or down ) within Y TIME (IE 5MINUTES ) (if PRICE moves say 30% of the 5 day atr down i buy or
I want to create an Expert Advisor (EA) that can be set to open either buy or sell trades, depending on user preference (buy-only or sell-only mode). The EA will initiate trades when the market reaches (or is equal to or less than) a specified DeMarker value (e.g., DeMarker value = 0.3). The user will set both the DeMarker value for starting trades and another DeMarker value to stop opening new trades. - **DeMarker
Create a mql5 expert advisor for forex/commodities trading based on modified candlestick formation. If modified bullish engulfing appears, EA will open buy position at closing of last candle area with martingale until opening of last candle area and set stop loss at open last candle area. Trailing stop appears when half of all buy positions running profit then when all buy positions running profit, and so on. If
I want to grid based robot such like CM Manual Grid for mt 5 Snap of that attached. like The expert Advisor helps set a network of pending orders and collect profit from any price movement. I can use it to trade many grid strategies. I can also use it to track open positions. "Buy Stop — - open a network of pending stop orders for sale "Sell Stop" - open a network of pending stop orders for purchase "Buy Limit" -

プロジェクト情報

予算
100 - 200 USD
開発者用
90 - 180 USD
締め切り
最低 5 最高 10 日