I need a Closing Script

Lavoro terminato

Tempo di esecuzione 4 giorni
Feedback del cliente
Very good programmer, fast and reliable.
Feedback del dipendente
Thank you for your trust and interesting work.

Specifiche

Hi Coders,

 

-I need a closing script to manage my EA open positions.

-The EA is Hedging with Martingale functions(Fibonacci sequence in ZigZag order).

-What i want from the Script, is to help me to AVOID to have too many big positions open, and i want to close them separetly-accordingly.

 

EXAMPLE:(look the attached picture)

 

"FIXED" POSITIONS CLOSE:

-Need to calculate the net position and when reach the TP, then close ALL position in the sequence.

           (The TP need to measured from the weighted average of the bigger positions side) 

 

"PARTIAL" POSITIONS CLOSE:

-If the "Partial" positions it is also opened, need to calculate AFTER the first 2 positions, the net position to reach BREAKEVEN.

                                                    (could be more positions, but need to be minimum two)

 The script also need to check what was the LAST opened position in "FIXED" positions sequence.

(IF  it was BUY, and the "partial" close is happend with Sell Side(The Bigger Side), then close also THIS LAST BUY from the "Fixed SEQUENCE")

(IF it was SELL, and the "partial" close is happend with the BUY SIDE(The Bigger Side),then close also THIS LAST SELL  from the "FIXED SEQUENCE)

 The reason for that, I WANT TO STAY IN THE TREND DIRECTION, AFTER THE "PARTIAL" POSITIONS  ARE CLOSED 

 

 

The Script need to monitor:

-Magic number to collect the positions in the same "basket"

-The Weighted Average of the Buy positions 

-The Weighted Average of the Sell positions 

-How many Buy and Sell is open in the sequence at the moment.

-How many of them "FIXED", and there is any "Partial Position"?

-If Yes, then calculate Separate Weighted Average for the "partial" positions (buy & sell)  (for the breakeven)

-What was the last position opened in the "FIXED SEQUENCE"?Buy or Sell?(Yellow arrow on the picture)

 

I Need Option for:

-Adjustable Magic number to  manage  the specific  EA positions

-How many positions will be in the "Fixed" Positions sequence

-TP option for the "FIXED" positions to close in pips

-The Net position SIZE, TYPE & net PIPS printed on the chart in one line, like this>>> 

(BUY > 0.34 > + - 23 Pips)

(adjustable color, font, wich window, & what position x, y value)

-Horizontal lines for >>Weighted Buy Average & the Weighted Sell AVERAGE (color & thickness adjustable)


See the attached picture.


File:

JPG
Capture.JPG
111.6 Kb

Con risposta

1
Sviluppatore 1
Valutazioni
(13)
Progetti
20
15%
Arbitraggio
2
50% / 50%
In ritardo
0
Gratuito
Pubblicati: 1 codice
2
Sviluppatore 2
Valutazioni
(14)
Progetti
21
24%
Arbitraggio
9
33% / 44%
In ritardo
8
38%
Gratuito
3
Sviluppatore 3
Valutazioni
(589)
Progetti
1070
50%
Arbitraggio
39
28% / 41%
In ritardo
49
5%
Gratuito
Pubblicati: 1 articolo, 8 codici
4
Sviluppatore 4
Valutazioni
(28)
Progetti
30
37%
Arbitraggio
0
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(144)
Progetti
285
42%
Arbitraggio
19
63% / 5%
In ritardo
29
10%
Gratuito
Pubblicati: 2 codici
7
Sviluppatore 7
Valutazioni
(137)
Progetti
167
35%
Arbitraggio
11
91% / 0%
In ritardo
0
Gratuito
Ordini simili
I have an existing working MQL5 Expert Advisor and require an experienced MQL5 programmer/trading-system analyst to independently analyse its historical performance. This is NOT initially a request to rewrite the EA or simply optimize parameters. Current strategy: - MetaTrader 5 - M15 timeframe - EMA / ADX / ATR based - Approximately 1,337 historical trades - Gross Profit approximately USD 271,000 - Gross Loss
Gold robot 30 - 1000 USD
Hello everyone, I’m looking for a developer who has an algorithm in their arsenal that generates quick profits over the long term. I’m interested in a scalping expert advisor—it can be a one-shot, averaging, or grid strategy, with or without TP/SL. Please share your ideas and results; I’ll consider all options. The most important thing is the result. Good luck
I need you to develop an MT5 Expert Advisor (EA) in MQL5 specifically for BTCUSD , primarily trading on the 1-minute timeframe (M1) . The goal is to build a professional, rule-based automated trading system that trades strong impulsive BTCUSD moves in the direction of the trend , while using strict risk and money management. 1. CORE STRATEGY The EA should NOT randomly buy or sell. The basic sequence should be: Trend
Expert Needs to integrate Volume Density ( Ticks Per Point ) Adaptive Volume Baseline ( Apply with experience ) , Order Flow Tick Volume Based ( required integration is for smooth execution ) , Every other requirement already exists by the expert , True Objective : To identify the true transition from Accumulation to Expansion/Distribution leading to Breakout capturing participation while eliminating false breakouts
Hi. I am looking for an experienced MQL5 developer for an advanced XAUUSD MT5 indicator. Before choosing a developer, I would like to see a small proof-of-concept or an example of a similar indicator you have already developed. My final indicator must be written from scratch in MQL5 and I must receive the complete .mq5 source code + compiled .ex5 . Main requirements: XAUUSD MT5 / MQL5 Indicator only — NO AutoTrading
I need a professional XAUUSD signal indicator for MetaTrader 5, written entirely in MQL5 (.mq5). IMPORTANT: This is NOT an auto-trading EA. It must never open, close or modify trades. It only analyzes XAUUSD and generates signals + MT5 push notifications. 1. Multi-timeframe analysis: H4 → H1 → M30 → M15 → M10 → M5 → M1. 2. Detect market structure: - Swing High / Swing Low - BOS - MSS - CHOCH - Bullish/Bearish HTF
We are looking for an experienced MQL5 developer who also has real trading experience to build our existing trading strategy into a fully automated MT5 Expert Advisor (EA). We already have our entry and exit trading rules documented . We are not looking for someone to invent a strategy for us. We need someone who understands trading well enough to understand our rules, discuss them with us in normal trading terms
i have indicator for Trading View, also copy for NT, i need someone to improve and check the NT version (indicator is simple is volume density koncept)…. when i put same settings on TV version and NT version i have diffrerent results, but this can be because diffrent market data or fact that TV sending tick info in blocks , not tick by tick like NT8 on both. I(ndicator base on counting volume) so besied that is it
Purpose Develop a transparent and conservative Expert Advisor for MetaTrader 5. Profit is not guaranteed; acceptance is based on correct implementation, risk controls and reproducible testing. 1. Platform and instruments - Native MQL5 Expert Advisor for MetaTrader 5. - Symbols: EURUSD and USDJPY. - Working timeframe: H1. Higher-timeframe trend filter: H4. - Must support standard broker symbol suffixes/prefixes and
I need a professional AI-assisted Forex trading Expert Advisor (EA) for MetaTrader 5. The EA should not be based on a simple single indicator strategy. I want a robust multi-factor trading system that can analyze market conditions, trend, momentum, volatility, price action and risk before entering a trade. Requirements: Forex trading on MT5 Automated analysis and trade execution Dynamic entry and exit decisions Stop

Informazioni sul progetto

Budget
50+ USD
Scadenze
a 5 giorno(i)