Moving Average indicator to send Buy/Sell Alerts & EA to change the trades Stop Loss

MQL5 Indicators Experts

Job finished

Execution time 9 days
Feedback from employee
Good customer, I like working for him.
Feedback from customer
He asked several questions in advance - which gave the confidence and helped finalise the requirement. Delivered in time, fixed gaps quickly. Very good developed. Good attitude.

Specification

Indicator Indicator to alert when criteria met on Moving Average on a chosen symbol(s)/ timeframe(s)

The user would have the ability to apply this indicator to any time frame/ symbol.

EA to change Stop Loss when criteria is met.

Please quote 3 prices, along with

1.     Indicator ONLY

2.     EA Only

3.     Indicator + EA

  • You will be required to share the code with me for both EA and Indicator
  • While I have tried my best to describe the requirement, in case of any questions, let us have discuss in order to save time at the earliest. It saves our time

  • Indicator

    Criteria

    • User will choose one of the 3 options/ selections  in the parameters 1. First Candle Formed 2. MA Crossed 3.Both
    • Option 1: First Candle Formed
      • When a first candle forms above or below moving average– open price and closing price either above or below moving average. Please note : Only for FIRST Candle

     

    Example 1:

     

    In the above example – Black line is SMA. Arrow marks in above picture indicate when the criteria has been met.

     

    • Option 2: MA Crossed
      • When price touches Moving Average.

    In the below example 2– where highlighted in yellow is when moving average line ( in black) has been touched.

    Example 2

     

    • Option 3: Both
      • When either of the options 1 or 2 are met. In example candle in red circles are when option 1 criteria has been met. Highlighted in yellow is when option has been met.

    .


    Input Parameters : User would have the ability to modify the parameters below: 

    • All Symbols : Indicator to work for any chosen symbol – by dropping the indicator on the chart of a symbol
    • Timeframes: Select time frames; Default – D1, H4, H1, M30

    • MA Criteria Option : 1. First Candle Formed 2. MA Crossed 3. Both
    • Disable Indicator: Yes/ No; Once indicator is loaded on a symbol, if disabled, alerts will stop’ Default : No

     

    • Show Arrows : Yes/ No : Arrows will be formed on chart when option yes is chosen. When No is chosen : no arrows will be formed. If option is changed to “No”, any previously placed arrows will disappear.

     

    • MA inputs
      • Period ( enter a number); Default 14
      • Method ( Simple, exponential); Default Simple
      • Apply to ( Close/ Open); Default Close

     

    • Alert: (True or False) ; Default True
    • Push: (True or False) ; Default True
    • Email: (True or False) ; Default False

    Requirement

    1. Platform : MT5 
    2. Alert when criteria is met for any number of chosen timeframes regardless what is on the screen of MT5.  
      • If H4 and 30 are chosen in input parameters, If on MT5,  30 Min time frame is being watched, but if a H4 candle is formed meeting the below criteria – it should still alert.
    3. An alert needs to be sent and an arrow needs to be placed – facing North for BUY and Facing south for Sell.

    4.      Place an arrow on the candle - where criteria is met. Buy arrow in green and sell arrow in red. An option to remove arrows should be provided – refer parameters

     

    5.     Alert Message: <Date – Time>, <Buy/Sell> on <SYMBOL> on <Time Frame>,  < Chosen Option Message>

    o   Chosen Option Message:

    §  Option 1 : First Candle Formed

    §  Option 2: Price Touched MA

    o   Buy/ Sell

    §  Buy: When the candle either forms above MA or price goes above MA

    §  Sell: When the candle either forms below MA or price goes below MA

    §   

    6.      Email and push notifications should only be sent after the completion of the candlestick – for any of the 3 options

    Expert Advisor – Trade Order Stop Loss Change

    1.      Requirement : When the above criteria of option 1 ( First Candle) is met, EA gets activated If EA is Enabled for any chosen trade on any chosen symbol.

    2.      When should EA Execute: In below Example 3, I may have manually placed a order to sell at first arrow- when a first candle has been formed below MA ( black line). After a candle forms on opposite direction, EA should get executed – that is on second candle as shown with an arrow.

    3.      What should EA do: EA should set the stop loss to First candle close price + input pips.

    4.      Parameters : Number of Pips : Default 100;

    o   Other parameters as applicable from indicator above.

    5.      EA is not active by default

    6.      User to enable EA when needed. User enables when away from screen

    7.      Once enabled, user has the option to disable. Once back to screen, user does not want EA and will disable.

    8.      Can I choose to enable EA only for selected active trades

    9.      Alert: When EA changes the SL – alert message : Stop Loss of <Symbol>, <Buy/Sell> changed to <Value>

     

    Example 3:

     

     

       


      Responded

      1
      Developer 1
      Rating
      (236)
      Projects
      418
      34%
      Arbitration
      52
      37% / 40%
      Overdue
      153
      37%
      Busy
      2
      Developer 2
      Rating
      (38)
      Projects
      68
      9%
      Arbitration
      18
      11% / 56%
      Overdue
      17
      25%
      Working
      3
      Developer 3
      Rating
      (408)
      Projects
      536
      75%
      Arbitration
      9
      44% / 0%
      Overdue
      24
      4%
      Free
      4
      Developer 4
      Rating
      (41)
      Projects
      88
      14%
      Arbitration
      30
      30% / 53%
      Overdue
      36
      41%
      Working
      5
      Developer 5
      Rating
      (137)
      Projects
      167
      35%
      Arbitration
      11
      91% / 0%
      Overdue
      0
      Free
      6
      Developer 6
      Rating
      (196)
      Projects
      318
      35%
      Arbitration
      64
      13% / 56%
      Overdue
      82
      26%
      Free
      7
      Developer 7
      Rating
      (18)
      Projects
      24
      54%
      Arbitration
      0
      Overdue
      2
      8%
      Free
      8
      Developer 8
      Rating
      (142)
      Projects
      280
      42%
      Arbitration
      18
      61% / 6%
      Overdue
      29
      10%
      Free
      9
      Developer 9
      Rating
      (84)
      Projects
      149
      31%
      Arbitration
      32
      34% / 41%
      Overdue
      43
      29%
      Free
      10
      Developer 10
      Rating
      (3)
      Projects
      2
      0%
      Arbitration
      7
      0% / 86%
      Overdue
      0
      Free
      11
      Developer 11
      Rating
      Projects
      0
      0%
      Arbitration
      1
      0% / 100%
      Overdue
      0
      Free
      12
      Developer 12
      Rating
      (27)
      Projects
      43
      7%
      Arbitration
      18
      6% / 78%
      Overdue
      26
      60%
      Free
      13
      Developer 13
      Rating
      (253)
      Projects
      407
      38%
      Arbitration
      85
      42% / 19%
      Overdue
      70
      17%
      Loaded
      14
      Developer 14
      Rating
      (54)
      Projects
      65
      52%
      Arbitration
      5
      40% / 60%
      Overdue
      22
      34%
      Working
      15
      Developer 15
      Rating
      (5)
      Projects
      7
      43%
      Arbitration
      4
      0% / 75%
      Overdue
      3
      43%
      Free
      Similar orders
      Trading bot 300+ USD
      We need bot that trades when medium and low impact news hits It will release pending order both directions few min prior to news impact And will have certain risk management strategy attached Example If Monday and Tuesday news successful clears profits It will reduce risk for next news events until new week starts each week message on tg: Dstatewealthtrading NOTE: 4 YAERS OF EXPERIENCE UPWORD, YOU MUST BE A
      I need someone the create a supertrend indicator based on Heikin Ashi candles instead of normal candles. Needs to be exactly the same as the supertrend (original one) + ha from tradingview. In m1,m5,m15 the indicator must have the same values ​​found with the tradingview. Work that meets this requirement will be accepted ( depending on the broker and spread, however, a few pips of difference will be accepted)
      Here is a detailed instruction for the coder to implement the vertical lines based on the BrainTrainSignalAlert indicator: --- **Task: Implement Vertical Lines for Alerts from BrainTrainSignalAlert Indicator** **Objective:** Create a system that adds vertical lines on specified timeframes (M5 or M30) whenever an alert is generated by the BrainTrainSignalAlert indicator on the H1, H4, and D1 timeframes. The lines
      Hello Guys! I want to modify/fix the indicator that uses sequential type of entries (it calculates from 1 to 9) and if the conditions are met it provides an arrow (signal) with alert. The problem is that, sometimes (for unknown for me reasons) it repaints arrow signal. Like on the picture: Signal 1 - correct signal Signal 2 - correct signal Signal 3 - correct signal Signal 4 - repaints (signal 3 arrow dissapeared
      Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need
      Hello, i am searching for an experienced, professional software engineer, who can convert three Indicators from MQL4 to MQL5. This may sound like an easy job, but one indicator is like a trading system and therefore a bit complex. So you need to have a very good understanding of both languages. You should also be able to code MQL5 classes ( https://www.mql5.com/en/docs/basis/oop ). The intention is to code MQL5
      I came across an indicator that's perfectly good in catching spikes in boom amd crash but i would want it to be modified and to improve accuracy As a professional you will have to go through the indicator and explain to me the strategy with which the indicator was buid and tell me the possibility of improving it better
      An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
      I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1
      Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should

      Project information

      Budget
      30 - 120 USD
      For the developer
      27 - 108 USD