Removing an "order to open" and replacing it with an instant order

MQL4 Göstergeler Uzmanlar

İş tamamlandı

Tamamlanma süresi: 5 saat
Müşteri tarafından geri bildirim
Unbelievable ! the guy is BRILLIANT! 5 STAR! My code was quite complex and he did it in record time. I would go back to him again anytime.
Geliştirici tarafından geri bildirim
Very nice and correct client

Şartname

I have an EA that takes trades based on the rules 
" First fractal above the redline ( or 50 MA ) and the Awesome Oscillator  (2 bars) is below the 0 line" .
This a simple version of the Fractal_MA_Trend_Martingale Method.
It also has a martingale method where if you set it to Wincash at   e.g £20 , the EA will close all trades once the Wincash is hit.

The additional functionality need is to allow for the Martingale method ( the mainlot)  to avoid an "order to open"  but to open instantly once the same current conditions are met.
So instead of the current " order to open '' , i will have a microlot of 0.01. This microlot will not be a martingale but a standard microlot order that follows exactly the same logic as the current logic that is there now.
Once the micro lot opens , at that very moment if the parameter to say <Mainlot Trigger = True> , I need the martingale lot size to open in the same direction as the micro lot . 
So if I have a buy stop of 0.01 , as soon as the order is triggered , a Mainlot trade of (example 1.0) opens instantly and at that moment , I will be having 2 orders , one 0.01 and another 1.0 . 
As soon as the 1.0 order hits Wincash ( as it is doing now) , it exits , but the micro lot continues and exits ( as per current logic) . 
The same applies for sell orders . 
The mainlot does not have a SL or TP  , it's existence is based on the existence of the microlot . 
If the microlot exits ( using the current logic) and the mainlot has not hit the wincash , it has to exit at that same time.
So the existence of the mainlot is bbased on the existence of the microlot.

Summary 
1.There is no order to open for mainlot
2.The mainlot does not have a buy or sell stop order , it only goes in AFTER the microlot has been triggered as an instant trade.
3.The mainlot DOES NOT have a SL or a TP , it's existence is based on the existence of the minilot OR when it has hit wincash.
4.The whole point of this is to make sure i don't have order to open on the mainlot but the trade will open instantly as soon as it detects a minilot running , and the mainlot opens a trade in the direction of the minilot .
5.The logic for the minilot , i.e the entry and exit is the logic that's currently there.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(50)
Projeler
54
43%
Arabuluculuk
3
0% / 100%
Süresi dolmuş
3
6%
Serbest
2
Geliştirici 2
Derecelendirme
(54)
Projeler
53
17%
Arabuluculuk
7
0% / 100%
Süresi dolmuş
5
9%
Serbest
3
Geliştirici 3
Derecelendirme
(39)
Projeler
55
13%
Arabuluculuk
5
20% / 20%
Süresi dolmuş
6
11%
Serbest
Benzer siparişler
Forex Hunter MT5 30 - 250 USD
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
My MQL5 Expert Advisor wins most trades with small profits, then suddenly takes one large loss that wipes out weeks of gains. This is the "picking up pennies in front of a steamroller" pattern. Required fix: Find the exact cause of the large losses in the code. Cap the loss on every trade with a fixed stop loss (no martingale or averaging down). Stop trading in dangerous conditions (high volatility, strong trends
//+------------------------------------------------------------------+ //| Durban Gold Hunter.mq5 (v3.00) | //| Multi-pair EA for MetaTrader 5 (Razor Markets, XM). | //| Strategy modules (each can be switched on/off): | //| 1. EMA crossover | //| 2. 714 method (EMA 7 + RSI 14) | //| 3. CRT (Candle Range Theory: range sweep and close back inside)| //| 4. Trend line breakout (auto-drawn from swing highs/lows) | //| 5
I want NinjaTrader to behave like Tradovate. When I hover over a candlestick, the cursor should automatically snap to the center of that candle across all open charts. For example, when I hover over a 30-minute candle, the cursor should align with the center of the corresponding candles on the 15-minute and other chart timeframes. I also want vertical lines drawn on one chart to automatically align with the center of
Hello, I already have an MT5 Expert Advisor for XAUUSD based on Fibonacci, market structure, BOS/CHoCH and swing trading. I need an experienced MQL5 developer to modify my existing EA, not develop a completely new one. Required modifications: Partial take-profit system with multiple TP levels. Keep profit targets conservative, using Fibonacci extension levels. Stop-loss placement beyond liquidity areas, not exactly
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 35% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5
The objective is to develop a custom technical indicator for MetaTrader 5 (MQL5) that replicates the exact visual structure, inputs, and features of the "AYN-Indicator by Snurk" as shown in the provided screenshot. The indicator must analyze price actions based on a flexible lookback period, plot dynamic trend filters, and render precise Buy/Sell breakout labels without any lagging or repainting
Requirements Specification: Debug & Error Fixing: Review the entire source code of the MQL expert advisor. Identify and fix all logical errors, bugs, and performance issues that cause trades to close prematurely or yield extremely low profits. Strategy Restructuring & Optimization: Fully analyze and optimize the current entry and exit strategy for USDJPY and GBPUSD. Modify, upgrade, or completely rewrite the entry
Winter 500+ USD
I am looking for an MQL5 developer to independently review an existing EA’s execution and position management logic. The review should focus on duplicate orders, trade isolation by symbol and magic number, broker price and volume constraints, error handling, and recovery after a terminal restart. This order is for an audit report. Please do not modify the source or change the trading strategy. For each finding
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements

Proje bilgisi

Bütçe
50 - 60 USD