Order Creating EA (Buy Limit, Buy Stop, Sell Limit, Sell Stop)

MQL4 EA

명시

EA funciton

Create Limit and Stop orders at Multiple of the Order Distance to form a Grid. & Maintain the Grid All the time


Example

Order distance pips = 2,500 = $25, Use Buy Limit=True,  TP_[Buy_Limit] =5000, Current Price=995,  Max_Orders_[Buy_Limit]=5, Order_Gap_Pips=500=$5

Then,


1) At the beginning of the EA, Create buy Limit orders -> 975,950,900,925,900 --> Each one should have the Take Profit of 5000 since  TP_[Buy_Limit] =5000

2) When to place new limit order? When the price moves up and touches the grid+order gap [Example, if price moves upto 1005 (ie. 1000+ Order_Gap of $5 = 1005 , then place buy limit order of 1000]

3) Don't create duplicate pending order, if there is a Market order Exists (Eg. Suppose price comes down and converts the 975 pending order into buy order, and then moves up   Order_Gap_Pips of 500=$5, then, the EA will not create a pending order at 975, because a Buy order exists at 975)

4) Maintain the Grid all the time by Filling the Grid Gap - Suppose, a Buy order gets closed by Take Profit, the EA should place a pending order in it's place (eg. suppose order 975 hit by take profit at 1020, then the EA shd place a pending order to fill the gap of the grid at 975)



INPUTS
Stopout_Margin_Level 300% Must close all the open limit orders if margin level reaches X% & Should not create any new Limit order (Stop the EA and not create any Limit Orders)
Restart_Margin_Level 500% Restart the process of creating Limit orders once the margin level is greater than Y%
Use Buy_Limit True/False
Use Sell_Limit True/False
Use Buy_Stop True/False
Use Sell_Stop True/False
Order_Gap_Pips 500 Once this pips is hit, the pending order will be placed.
Eg. Order_Gap_pips=500, then if price touches 1005, pending order of 1000 will be placed
Lot_Size_[Buy_Limit] 0.01
Lot_Size_[Sell_Limit] 0.01
Lot_Size_[Buy_Stop] 0.01
Lot_Size_[Sell_Stop] 0.01
Order_Distance_[Buy_Limit] 2500
Order_Distance_[Sell_Limit] 2500
Order_Distance_[Buy_Stop] 2500
Order_Distance_[Sell_Stop] 2500
Max_Orders_[Buy_Limit] 25
Max_Orders_[Sell_Limit] 25
Max_Orders_[Buy_Stop] 25
Max_Orders_[Sell_Stop] 25
Lot_Size_Multiplier_[Buy_Limit] 1.06
Lot_Size_Multiplier_[Sell_Limit] 1.06
Lot_Size_Multiplier_[Buy_Stop] 1.06
Lot_Size_Multiplier_[Sell_Stop] 1.06
TP_[Buy_Limit] 5000
SL_[Buy_Limit] 5000
TP_[Sell_Limit] 5000
SL_[Sell_Limit] 5000
TP_[Buy_Stop] 5000
SL_[Buy_Stop] 5000
TP_[Sell_Stop] 5000
SL_[Sell_stop] 5000
TP_Order_Distance_Multiple_[Buy_Limit] 2 If TP Buy Limit is set, it will be taken, else this multiple will be taken as TP Buy Limit
SL_Order_Distance_Multiple_[Buy_Limit] 3 If If SL Buy Limit is set, it will be taken, else this multiple will be taken as SL Buy Limit
TP_Order_Distance_Multiple_[Sell_Limit] 3 If If TP Sell Limit is set, it will be taken, else this multiple will be taken as TP Sell Limit
SL_Order_Distance_Multiple_[Sell_Limit] 5 If If SL Sell Limit is set, it will be taken, else this multiple will be taken as SL Sell Limit
TP_Order_Distance_Multiple_[Buy_Stop] 1 If If TP Buy Stop is set, it will be taken, else this multiple will be taken as TP Buy Stop
SL_Order_Distance_Multiple_[Buy_Stop] 2 If If SL Buy Stop is set, it will be taken, else this multiple will be taken as SL Buy Stop
TP_Order_Distance_Multiple_[Sell_Stop] 3 If If TP Sell Stop is set, it will be taken, else this multiple will be taken as TP Sell Stop
SL_Order_Distance_Multiple_[Sell_stop] 1 If If SL Sell stop is set, it will be taken, else this multiple will be taken as SL Sell stop


응답함

1
개발자 1
등급
(42)
프로젝트
47
30%
중재
12
17% / 75%
기한 초과
6
13%
무료
2
개발자 2
등급
(64)
프로젝트
83
28%
중재
9
33% / 56%
기한 초과
9
11%
무료
게재됨: 1 코드
3
개발자 3
등급
(195)
프로젝트
395
28%
중재
155
20% / 52%
기한 초과
112
28%
무료
4
개발자 4
등급
(5)
프로젝트
9
11%
중재
5
40% / 60%
기한 초과
1
11%
무료
5
개발자 5
등급
(43)
프로젝트
66
12%
중재
12
58% / 42%
기한 초과
1
2%
무료
6
개발자 6
등급
(6)
프로젝트
10
10%
중재
9
0% / 89%
기한 초과
1
10%
무료
7
개발자 7
등급
(317)
프로젝트
564
35%
중재
81
31% / 44%
기한 초과
204
36%
무료
8
개발자 8
등급
(3)
프로젝트
3
67%
중재
1
0% / 0%
기한 초과
0
무료
9
개발자 9
등급
(471)
프로젝트
489
75%
중재
6
67% / 17%
기한 초과
0
작업중
10
개발자 10
등급
(26)
프로젝트
34
26%
중재
7
14% / 43%
기한 초과
7
21%
무료
11
개발자 11
등급
(69)
프로젝트
146
34%
중재
13
8% / 62%
기한 초과
26
18%
무료
게재됨: 6 코드
비슷한 주문
Description: I am looking for an experienced MQL5 developer to build a fully automated Expert Advisor (EA) for MT5 tailored for Prop Firm challenges and funded accounts. I need a robust, plug-and-play solution with rigorous risk controls. Key Requirements: Platform: MT5 Trading Logic: I am looking for a reliable strategy based either on a Breakout Strategy (e.g., London session breakout) or a Mean Reversion Strategy
I need someone to develop a very simple and basic Expert Advisor for MetaTrader 5. The EA should open and close trades based on a custom trading time schedule. I am a student and I do not have a budget, so I am kindly asking if someone can help me for free or as a beginner-friendly project. The EA does not need to be complicated. I only need basic settings for start time, end time, buy/sell option, lot size, stop
Profitable EA 50 - 5000 USD
I have been tired of losing money in forex for several years, I decided to buy an EA directly from the programmer , I am ready to put the right price for a real winning strategy, no matter which strategy is used. The main thing is that the strategy is profitable Send me a demo, I'll put it on the VPS. The most profitable strategy will be chosen after a week
I really like this platform. I am interested in trading and need funds for it. I enjoy both crypto and forex trading.I"really appreciate this platform. I am keen on trading and am looking for trading funds. I enjoy trading in both cryptocurrency and forex."
Titan Quantum Algo Engine V2 is an advanced MT5 Expert Advisor designed to identify high-probability market opportunities using trend analysis, breakout detection, and intelligent risk management. The EA automatically executes trades, manages stop-loss and take-profit levels, and helps traders maintain disciplined trading with optimized entry and exit strategies
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
//+------------------------------------------------------------------+ //| Simple XAUUSD EA | //+------------------------------------------------------------------+ input double LotSize = 0.01; input int StopLoss = 500; // in points input int TakeProfit = 1000; // in points input int MAPeriod = 20; int maHandle; int OnInit() { maHandle = iMA(_Symbol, PERIOD_H1, MAPeriod, 0, MODE_SMA
Hello, I need a Python-based MT5 forex trading bot developed. The bot should connect to MetaTrader 5, execute trades based on a predefined strategy, and support standard risk management features such as stop loss, take profit, and position sizing. Requirements: MT5 integration using Python Automated trade execution based on provided strategy rules Configurable risk management settings Support for major forex pairs
### ** Main EA File** - `InstitutionalTrendPullbackScalper.mq5` **Core Features Implemented:** **Multi-Timeframe Analysis** - M15 trend filter (EMA20 > EMA50 for uptrends) - M5 entry signals with 5-condition confirmation - Independent indicator sets for both symbols **Advanced Entry Logic** - RSI reversal detection (crosses thresholds) - Price pullback zone validation - Bullish/bearish candle close confirmation -
I need developer who Can perfectly build me a layout of Ninjatrader 8 (NT8) to look and feel the same on SierraCharts? I currently use NT8 but I want to start using SierraCharts because its more robust than NT8, but I don't want to have to worry about programming SierraCharts. How much would this cost? Thank you

프로젝트 정보

예산
30 - 50 USD
기한
 2 일