İş tamamlandı

Tamamlanma süresi: 4 gün
Müşteri tarafından geri bildirim
Thank you Bartlomiej, Very effective. Very efficient. Pleasure to have worked with you. Until next time, take care. Giuseppe

Şartname

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


    Yanıtlandı

    1
    Geliştirici 1
    Derecelendirme
    (430)
    Projeler
    606
    55%
    Arabuluculuk
    48
    23% / 56%
    Süresi dolmuş
    176
    29%
    Serbest
    2
    Geliştirici 2
    Derecelendirme
    (349)
    Projeler
    463
    51%
    Arabuluculuk
    41
    24% / 49%
    Süresi dolmuş
    149
    32%
    Serbest
    3
    Geliştirici 3
    Derecelendirme
    (1931)
    Projeler
    3552
    88%
    Arabuluculuk
    73
    40% / 15%
    Süresi dolmuş
    268
    8%
    Serbest
    4
    Geliştirici 4
    Derecelendirme
    (574)
    Projeler
    945
    47%
    Arabuluculuk
    309
    58% / 27%
    Süresi dolmuş
    125
    13%
    Serbest
    5
    Geliştirici 5
    Derecelendirme
    (6)
    Projeler
    8
    13%
    Arabuluculuk
    1
    0% / 100%
    Süresi dolmuş
    0
    Serbest
    6
    Geliştirici 6
    Derecelendirme
    (772)
    Projeler
    1039
    44%
    Arabuluculuk
    50
    8% / 50%
    Süresi dolmuş
    116
    11%
    Serbest
    7
    Geliştirici 7
    Derecelendirme
    (365)
    Projeler
    507
    40%
    Arabuluculuk
    159
    17% / 74%
    Süresi dolmuş
    99
    20%
    Yüklendi
    8
    Geliştirici 8
    Derecelendirme
    (144)
    Projeler
    285
    42%
    Arabuluculuk
    19
    63% / 5%
    Süresi dolmuş
    29
    10%
    Serbest
    Yayınlandı: 2 kod
    9
    Geliştirici 9
    Derecelendirme
    (4)
    Projeler
    12
    0%
    Arabuluculuk
    0
    Süresi dolmuş
    3
    25%
    Serbest
    10
    Geliştirici 10
    Derecelendirme
    (26)
    Projeler
    34
    26%
    Arabuluculuk
    7
    14% / 43%
    Süresi dolmuş
    7
    21%
    Serbest
    11
    Geliştirici 11
    Derecelendirme
    Projeler
    0
    0%
    Arabuluculuk
    0
    Süresi dolmuş
    0
    Serbest
    12
    Geliştirici 12
    Derecelendirme
    (564)
    Projeler
    845
    73%
    Arabuluculuk
    15
    53% / 13%
    Süresi dolmuş
    193
    23%
    Serbest
    13
    Geliştirici 13
    Derecelendirme
    (225)
    Projeler
    285
    41%
    Arabuluculuk
    15
    13% / 47%
    Süresi dolmuş
    67
    24%
    Serbest
    14
    Geliştirici 14
    Derecelendirme
    (298)
    Projeler
    478
    40%
    Arabuluculuk
    105
    40% / 24%
    Süresi dolmuş
    82
    17%
    Yüklendi
    Yayınlandı: 2 kod
    15
    Geliştirici 15
    Derecelendirme
    (271)
    Projeler
    553
    50%
    Arabuluculuk
    57
    40% / 37%
    Süresi dolmuş
    227
    41%
    Çalışıyor
    16
    Geliştirici 16
    Derecelendirme
    (4)
    Projeler
    4
    0%
    Arabuluculuk
    5
    0% / 80%
    Süresi dolmuş
    1
    25%
    Serbest
    17
    Geliştirici 17
    Derecelendirme
    (22)
    Projeler
    18
    6%
    Arabuluculuk
    31
    3% / 65%
    Süresi dolmuş
    5
    28%
    Serbest
    18
    Geliştirici 18
    Derecelendirme
    (135)
    Projeler
    163
    40%
    Arabuluculuk
    11
    27% / 73%
    Süresi dolmuş
    24
    15%
    Serbest
    19
    Geliştirici 19
    Derecelendirme
    (69)
    Projeler
    146
    34%
    Arabuluculuk
    13
    8% / 62%
    Süresi dolmuş
    26
    18%
    Serbest
    Yayınlandı: 6 kod
    Benzer siparişler
    Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
    Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
    Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
    PHANTOM PROTOCOL V1 35 - 150 USD
    PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
    I need an experienced MQL5 developer to build a prototype MT5 Expert Advisor called RiskLock. The software should enforce user-defined trading risk rules before trades are executed. It should support risk percentage or fixed monetary risk, calculate position size using account equity, entry price, stop loss, tick value and contract specifications, block or reduce oversized trades, and include daily loss limits
    Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
    Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
    Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place
    Gold hunter v5 30+ USD
    *TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total
    I need an Expert Advisor (EA) developed for MetaTrader 5 (MT5) tailored for trading on Exness accounts. Account & Server Details: Trading Platform: MetaTrader 5 (MT5) Broker: Exness Execution Type: Market / Pending Orders Account Type: [Specify: Standard / Pro / Raw Spread / Zero] Target Instruments: [Specify pairs, e.g., XAUUSD, EURUSD, BTCUSD] Strategy Requirements: Entry Rules: [Insert your buy/sell entry

    Proje bilgisi

    Bütçe
    50 - 125 USD
    Son teslim tarihi
    from 1 to 10 gün