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
(588)
Progetti
1065
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
Alphapipfx 30+ USD
Sniper Strategy EA -Presicion Forex Trading Bot for MT4 and MT5 Sniper Strategy EA is a fully automated Expert Advisor that executes high-probability forex trades using EMA 50/200 trend detection, RSI 14 momentum filtering, and automatic Support and Resistance zone identification. This bot does not chase price — it waits for price to come to key levels and confirms with multiple indicators before entering, just like
I already have an MT5 trading bot called Omega Bot and I am looking for a marketer / seller who can help me find real buyers. Commission: 100 USD per successful sale Bot details: - MT5 only - Gold and Silver - M15 - ORB strategy - Asia and New York sessions - Automatic risk management - Break-even - Trailing stop - Spread filter - Beginner friendly - Ready settings file - Trial version available - Support after sale
I am looking for an experienced MQL5 developer to improve an existing forex EA, not build a completely new robot from zero. Important note: I use GPT to help me write because my English is limited. The wording may be assisted by GPT, but the trading issues, testing observations, and improvement goals are real from my side. I need a developer who is patient, understands strategy logic well, and can explain the
Fair Value Gap Expert , Optimize the core logic for live chart . [Filters are working] Lets ace the trailing stop . Change points to pip . Project will start from next week
Hi, Before ordering, I want to verify the quality of your ICT/SMC logic. Do you have an existing indicator or strategy (your own work) that I can test on TradingView? If yes, please provide: 1. A demo (invite-only script or video) 2. Proof it is NON-repainting (explained clearly) 3. Live or replay demonstration (not static screenshots) Specifically I want to see: * Clean swing structure (no consecutive highs/lows) *
Project Overview ​I am looking for a high-level Algorithmic Trader / Developer to build a sophisticated, fully automated scalping system for the Nasdaq-100 Future (NQ) . The system must integrate institutional order flow logic with market structure analysis. ​The core logic must be written in Python , acting as a central hub that bridges ATAS (as the primary data source for Order Flow) and MetaTrader 5 (as the
Profitable EA for sell 200 - 1000 USD
I am having 2 very proven and profitable EA which will give you profit and at the end of week you are always in profit. 1 This bot is safe bot and it generates handsome amount of profit with very less drawdown and high accuracy of 75-85%. 2. This bot is very aggressive and will suggest to go with only when you are having big capital and wanted to take more risk. It can make your account multiple fold
The strategy is already fully defined with exact logic, scoring system, entry rules, risk management, and execution protection (spread, slippage, deviation). The strategy is already fully defined with exact logic, scoring system, entry rules, risk management, and execution protection (spread, slippage, deviation). Please follow the specification strictly without any discretionary interpretation
EA MACENIC PRO V12L 30 - 50 USD
Ready made robot for executing trades because don't have PC or laptop does it come as license key that allows straight extension to be a ready made of change your mind and the match is still hustling and I recommend exness broker on any. Strategy of a mobile robot arrena that execute trades it self and 24/7 operational system that enhances power of electronic art technology with automatic EA optimization
Società di investimento con attività tra Sanremo e Monaco ricerca un giovane collaboratore con esperienza nell’utilizzo avanzato di MetaTrader 5. Si richiede la conoscenza della lingua ITALIANA e INGLESE. Si richiede una chiamata conoscitiva. Il collaboratore si occuperà di: • eseguire backtest di strategie di trading su MT5 • effettuare ottimizzazioni parametri tramite Strategy Tester • analizzare risultati e

Informazioni sul progetto

Budget
50+ USD
Scadenze
a 5 giorno(i)