Job finished

Execution time 4 days
Feedback from customer
Thank you Bartlomiej, Very effective. Very efficient. Pleasure to have worked with you. Until next time, take care. Giuseppe

Specification

Shifting MA's

MQL4
Any currency pair

Any time frame

 Slippage function

Spread function

LONG:  (Must have its own input fields as the variables/criteria will be different to SHORT):
MA Period - input field
MA Shift - input field

MA Method - input field
MA Apply to - input field

Max Deals for Consecutive Time Frames - input field (example 5 or 15)

Only one Buy open within the same Time Frame  
Lot size - input field
Take Profit - input field

Trailing stop - input field (function on each order separately)
Trailing stop - On/Off selection
PM = Previous Move and must always be a positive value.

-       If previous candle was up, the “Move” will be Close less Open

-       Example Close = 1300 & Open = 1290 so “Move” = 10 (positive)

-       If previous candle was down, the “Move” will be Close less Open * -1

-        Example Close = 1300 & Open = 1315 so “Move” = (-15 * -1) (positive)



Methodology - BUY:
A) Open Buy’s in the following order:

1.    Previous candle close is below previous MA, and

Current High moves higher than current MA + PM, then

Open at level current MA + Previous Move

Example:

-       Previous Close is 1900

-       Previous MA is 2000

-       Previous Move (PM) is 20

-       Current MA is 2010

-       Current High is 2040

-       Open Buy at 2030 (2010 + 20)

2.    Buy if No 1 above did not trigger

Previous candle close is below previous MA, and

Current High moves lower than current MA + PM, and

Current candle closes above current MA, then

Open at close of current candle

Example:

-       Previous Close is 1900

-       Previous MA is 2000

-       Previous Move (PM) is 20

-       Current MA is 2010

-       Current High is 2025

-       Current Close is at 2022

-       Open Buy at 2022

 

3.    Buy if No 1 or No 2 above has already triggered, and

Current candle closes above or equal to Current MA

Repeat for every candle until “Max Consecutive Deals” is reached

 

 

B) Close when one of the following is triggered whichever first:

  1.  Take Profit, OR
  2.  Stop Loss (has two criteria - see next step)

Two criteria for Stop Loss

- Current Low < (Previous Close less Previous Move), AND

Current Low < Current MA, OR


 3. Trailing Stop, OR
 4.     Price closes below current MA

     

    SHORT  (Must have its own input fields as the variable/criteria will be different to LONG):
    MA Period - input field
    MA Shift - input field

    MA Method - input field
    MA Apply to - input field

    Max Deals for Consecutive Time Frames - input field (example 5 or 15)
    Only one Sell open within the same Time Frame  
    Lot size - input field
    Take Profit - input field

    Trailing stop - input field (function on each order separately)

    Trailing stop - On/Off selection

    Methodology:
    Same as for LONG but just to the opposite


    Responded

    1
    Developer 1
    Rating
    (430)
    Projects
    606
    55%
    Arbitration
    48
    23% / 56%
    Overdue
    176
    29%
    Free
    2
    Developer 2
    Rating
    (349)
    Projects
    463
    51%
    Arbitration
    41
    24% / 49%
    Overdue
    149
    32%
    Free
    3
    Developer 3
    Rating
    (1931)
    Projects
    3552
    88%
    Arbitration
    73
    40% / 15%
    Overdue
    268
    8%
    Free
    4
    Developer 4
    Rating
    (574)
    Projects
    945
    47%
    Arbitration
    309
    58% / 27%
    Overdue
    125
    13%
    Free
    5
    Developer 5
    Rating
    (6)
    Projects
    8
    13%
    Arbitration
    1
    0% / 100%
    Overdue
    0
    Free
    6
    Developer 6
    Rating
    (772)
    Projects
    1039
    44%
    Arbitration
    50
    8% / 50%
    Overdue
    116
    11%
    Free
    7
    Developer 7
    Rating
    (365)
    Projects
    507
    40%
    Arbitration
    159
    17% / 74%
    Overdue
    99
    20%
    Loaded
    8
    Developer 8
    Rating
    (144)
    Projects
    285
    42%
    Arbitration
    19
    63% / 5%
    Overdue
    29
    10%
    Free
    Published: 2 codes
    9
    Developer 9
    Rating
    (4)
    Projects
    12
    0%
    Arbitration
    0
    Overdue
    3
    25%
    Free
    10
    Developer 10
    Rating
    (26)
    Projects
    34
    26%
    Arbitration
    7
    14% / 43%
    Overdue
    7
    21%
    Free
    11
    Developer 11
    Rating
    Projects
    0
    0%
    Arbitration
    0
    Overdue
    0
    Free
    12
    Developer 12
    Rating
    (564)
    Projects
    844
    73%
    Arbitration
    15
    53% / 13%
    Overdue
    193
    23%
    Free
    13
    Developer 13
    Rating
    (225)
    Projects
    285
    41%
    Arbitration
    15
    13% / 47%
    Overdue
    67
    24%
    Free
    14
    Developer 14
    Rating
    (297)
    Projects
    476
    40%
    Arbitration
    105
    40% / 24%
    Overdue
    81
    17%
    Busy
    Published: 2 codes
    15
    Developer 15
    Rating
    (271)
    Projects
    553
    50%
    Arbitration
    57
    40% / 37%
    Overdue
    227
    41%
    Working
    16
    Developer 16
    Rating
    (4)
    Projects
    4
    0%
    Arbitration
    5
    0% / 80%
    Overdue
    1
    25%
    Free
    17
    Developer 17
    Rating
    (22)
    Projects
    18
    6%
    Arbitration
    31
    3% / 65%
    Overdue
    5
    28%
    Free
    18
    Developer 18
    Rating
    (135)
    Projects
    163
    40%
    Arbitration
    11
    27% / 73%
    Overdue
    24
    15%
    Free
    19
    Developer 19
    Rating
    (69)
    Projects
    146
    34%
    Arbitration
    13
    8% / 62%
    Overdue
    26
    18%
    Free
    Published: 6 codes
    Similar orders
    Early Killer EA 30+ USD
    It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
    Bring in your expertise for specific symbol Prepare expert for Live chart Creating .set for specific symbol Live Chart Optimization , symbol specific Everything is coded already therefore needs Implementations
    The basic idea of CRO is to simulate coral colonies that develop and compete for space on a reef, ultimately forming an optimal structure. Each coral in the reef represents a potential solution to the optimization problem under consideration. The reef is modeled as a two-dimensional N×M grid. Each grid cell can either be occupied by a coral or left empty. A coral is a coded solution to an optimization problem. For
    Hi everyone, I am hoping that you would be able to help me with possibly an easy fix. I have exhausted all avenues to try and optimise a 3 min US100 / USTEC and convert from line script to MQL5 so I can automate through MT5. The trades are not correlating and there is a clear consistent discrepancy of approximately 123 minutes between a significant number of trades when comparing the same time period. I really hope
    Mk 30+ USD
    I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
    1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
    I already have an MT5 trading bot called Omega Bot and I am looking for a marketer / seller who can help me find real buyers. Commission: 100 USD per successful sale Bot details: - MT5 only - Gold and Silver - M15 - ORB strategy - Asia and New York sessions - Automatic risk management - Break-even - Trailing stop - Spread filter - Beginner friendly - Ready settings file - Trial version available - Support after sale

    Project information

    Budget
    50 - 125 USD
    Deadline
    from 1 to 10 day(s)