Script to create a grid of Limit Orders up or down from current order on chart, if buy, then set Buy Limits in a Grid below the order, if sell, then set Sell Limits in a Grid above the order

MQL5 スクリプト その他

仕事が完了した

実行時間22 時間
依頼者からのフィードバック
Great job, got it done quick, and also exactly what I wanted!
開発者からのフィードバック
Friendly, courteous, and communicated requirements very clearly. Pleasure working with him.

指定

1. I want a script, that will first determine if I have a trade on the chart, is it a buy or sell, and the size of the trade in lots to be used in the calculations of the grid of limit orders being created:

a. If no trade is on chart, tell me "You need to first place a trade" then the script takes no further action

b. If multiple trades are already on chart, tell me "Can can have only one trade on chart to run this script" then the script takes no further action

c. If one trade is on chart, the script will take actions below

2.  User input: Ask me lot size of each grid level  "Spacing of grid levels:  ____"  and then I enter a number, example 5,

3.  User input: Ask me how many grids to place on the chart "How many grid levels below price:  ____" and then I enter a number, example 3

4.  Using data about the existing trade on the chart, and the two user inputs, take the following action:

a. If buy is on chart, place a number of limit orders equal to what user entered on number of grid levels, below current order, at spacing specified in pips by user

b. If sell is on chart, place a number of limit orders equal to what the user entered on the number of grid levels, above current order, at spacing specified in pips by user

5.  Size of each grid level will be in increasing increments depending upon the size of the original trade on the chart

a.  If trade on chart is 0.50 lots, 

(1) 1st Limit order placed will be 1.00 lots

(2) 2nd Limit order placed will be 1.50 lots 

(3) 3rd Limit order placed will be 2.00 lots

etc... to the number of levels indicated by the user

b. If trade on chart is 1.00 for example

(1) 1st Limit order placed will be 2.00 lots

(2) 2nd Limit order placed will be 3.00 lots

(3) 3rd Limit order will be 4.00 lots

c. So each grid level will have limit orders that are incrementally larger than the previous level, based upon the existing trade size on the chart

Example from a chart



応答済み

1
開発者 1
評価
(52)
プロジェクト
66
41%
仲裁
1
0% / 100%
期限切れ
7
11%
2
開発者 2
評価
(70)
プロジェクト
83
11%
仲裁
13
62% / 23%
期限切れ
6
7%
パブリッシュした人: 16 articles, 6 codes
3
開発者 3
評価
(132)
プロジェクト
178
39%
仲裁
4
25% / 50%
期限切れ
14
8%
4
開発者 4
評価
(252)
プロジェクト
462
26%
仲裁
139
20% / 60%
期限切れ
100
22%
5
開発者 5
評価
(65)
プロジェクト
96
52%
仲裁
3
33% / 67%
期限切れ
24
25%
6
開発者 6
評価
(493)
プロジェクト
1022
58%
仲裁
30
27% / 23%
期限切れ
133
13%
仕事中
7
開発者 7
評価
(169)
プロジェクト
204
30%
仲裁
25
40% / 44%
期限切れ
12
6%
8
開発者 8
評価
(119)
プロジェクト
169
38%
仲裁
9
78% / 22%
期限切れ
15
9%
類似した注文
Hello, I’m a profitable MT4/MT5 trader specializing in Prop Firm accounts. What makes me different: I actually trade with 3% Daily DD / 5% Overall DD rules, so I know what blows accounts and what passes. Services I offer: 1. EA Backtesting + Detailed Reports - Winrate, Profit Factor, Max DD, Best Pairs/Timeframes 2. Strategy Documentation - I’ll write clear rules for your EA so any coder can build it 3. Prop Firm
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into
Looking for A verifiable, disciplined XAUUSD analyst with controlled drawdown, consistent stop-loss use, clear communication and the capacity to service a live community. To send daily London and New York signals exclusively in my channel on Telegram
I am looking for an experienced MQL5 or MQL4 developer with a strong background in low-latency algorithmic trading, market data integration, arbitrage and execution optimization. The project involves developing a high-performance HFT Expert Advisor (EA) for XAUUSD or US30 on IC Markets that is designed for robust execution in both demo and live environments. The EA may use market data feeds (such as lmax,one zero or

プロジェクト情報

予算
100+ USD
締め切り
最低 1 最高 7 日