Trading Script That Sets New Orders Every Indicated Pips and Closes all Orders on Indicated Net Pips.

MQL4 Experts Scripts

Job finished

Execution time 1 day
Feedback from customer
Great work, dedicated, and friendly

Specification

A trading Script that is set manually initially on every Buy or Sell.


After activated, the Script sets from Initial Entry Price pending orders of Buy or Sell respectively. These orders are a set amount of pips apart from each other (the amount of pips is indicated by user). The orders only activate if price is reached on the individual orders. 


The amount of levels/orders is also set by the user. 


If the initial trade is a Buy order, the pending orders are Below the Initial Price. If the initial trade is a Sell Order, the pending orders are above the Initial Price. 


The script has to close all trades when the Net Pips between all orders is equal to one set by the user. (Ex: Net 20 Pips) 


Example:


Buy EUR/USD @ 1.3204 (Activate Script by User)


User Sets in Script the following Parameters:

- Number of Levels: 5 levels;

- Distance between Levels (pips): 25 pips;

- Net Pips to Close Orders: 20 pips; 

- Buy/Sell: Buy;

- Lots per Level: 0.1;



This opens a Market Buy Order @ 1.3204, and 5 pending orders @ 1.3179, 1.3154, 1.3129, 1.3104, and 1.3079.


If after initial position, price goes up 20 pips from first order, all open orders and pending orders are closed (Net 20 Pips Profit).


If after initial position, price goes down 25 pips, 2nd order @ 1.3179 is activated.


If after 2nd position is activated at @ 1.3179, price goes up, and there is 20 Net Pips between Positive Pips from Order 2 and Order 1 (Example: 22.5 Pips Positive from 2nd Order, and 2.5 Pips Negative -> 22.5-2.5=20pips) then all open and pending orders are closed with Net 20 Pips Profit.


And so on. Until 5th Level is reached, if price goes up, between all levels #1,#2,#3,#4,#5 and so on, when Net Pips of 20 is met between all orders, then all orders are closed.


Responded

1
Developer 1
Rating
(34)
Projects
60
23%
Arbitration
11
73% / 9%
Overdue
3
5%
Free
2
Developer 2
Rating
(68)
Projects
81
11%
Arbitration
12
67% / 25%
Overdue
5
6%
Free
Published: 14 articles, 6 codes
3
Developer 3
Rating
(618)
Projects
1428
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
Similar orders
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
I am looking for a developer to build a robust MetaTrader 5 Expert Advisor for Gold (XAUUSD) scalping on the M5 timeframe. The EA must be optimized for small accounts ($200 - $1,000). Technical Requirements: Primary Strategy: Mean Reversion using Bollinger Bands (20, 2.0) and RSI (14). Buy: Price closes below lower band + RSI < 30 + Trend Filter. Sell: Price closes above upper band + RSI > 70 + Trend Filter. Trend
Olá amigos possuo um indicador que não tem o código fonte mas tenho a licença para usar esse indicador que está me trazendo bons resultados no meu operacional desejo automatizar as suas entradas através de um robô funciona mais ou menos da seguinte forma o indicador gera um sinal de compra ou venda e também gera um nível de take profit stop loss.O robô deve fazer a leitura dos sinais e definir TP e SL nos mesmos
An additional indicator signal will be added to the existing EA. The existing mechanical system will NEVER be changed. I will send you the necessary documents and codes. I will send you the necessary documents and codes. thank you
Need MT5 Expert Advisor base on my strategy XAUUSD Fast scalping, Grid , Martingale, TP, SL trailing buy sell both also add magic number fully atumated advance strategy Pro version 24 hours running trades close in profit directly open new trade
Freeallfree 400 - 800 USD
Professional MT5 EA – XAUUSD I need a professional Expert Advisor for MT5 (MQL5) to trade XAUUSD only. This is not a random scalping bot. The EA must trade only high-probability liquidity breakouts during active sessions and avoid ranging or low-volatility markets. Symbol: XAUUSD Timeframe: M15 (optional H1 confirmation) Session filter (Dubai GMT+4): Trade only London and New York sessions Adjustable session times No
Hi Developers, I am looking for a EA based on EURUSD where EA is taking multiple trades in a day with small profits in each trade. Looking for some EA based on HFT trading, scalping
My EA has serious problems and needs full improvement and optimization. Problems: No Stop Loss and Take Profit No risk management system High drawdown and losses Opens multiple trades at same entry (overtrading) No maximum trades per day limit No maximum open trades per symbol No trailing stop Poor entry logic and weak signals Trades open very late (after many days) No equity protection system No daily loss limit No

Project information

Budget
30+ USD