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.
Commandes similaires
Hi there developer, I need someone who can create an trading ea that place order in points using an. Vps with an stop loss in 2 point behind the order price automatically it close order in 1 point if the market reverse
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
1. The general process is: Automated online forex marketing to find potential clients -> Answering potential clients' questions -> Converting them into actual clients -> Opening accounts, depositing funds, and copying trades. 2. Developers could implement an AI Digital Twin/Shadow Agent to answer customer questions, eliminating the need for me to answer customer inquiries. 3. I have a CTA website and I'm manually
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
Custom MT5 EA for buy stop and sell stop breakout strategy.’ ‘Requirements, develop a custom Expert Advisor for MetaTrader 5 that places buy-stop and sell-stop pending orders based on defined breakout rules.’ ‘All important values adjustable via inputs.’ ‘Includes stop loss, take profit, trailing stop, and configurable risk management.’ ‘One trade at a time, works on demo before live.’ Provide source code and
A good trend predicting indicator is the one which can identify the trend change as soon as it happens on the chart. when a new candle is formed it should tell whether its going to go up or down. I have already seen a lot of repainting trend predictors so if your indicator is repainting then please don't bother contacting. I would like to see the demo version and then if satisfied , I would want the source code too
Platform MetaTrader 5 (MT5) MQL5 Source Code Required Compatible with Exness MT5 both standard and cent accounts/ICMarket accounts Works on EUR/USD only (initial version) ⸻ Objective Develop a fully automated AI Expert Advisor based on ICT Smart Money Concepts (SMC). The EA must only execute high-probability trades that satisfy all required conditions before opening a position. The EA must avoid overtrading and
Bonjour, je recherche un développeur MQL5 expérimenté pour créer un Expert Advisor pour MetaTrader 5 basé sur une stratégie de trading intégrant des principes de gestion des risques rigoureux et d'intelligence financière. Le robot doit être capable de gérer plusieurs paires de devises et d'optimiser automatiquement les entrées et sorties en fonction de conditions de marché prédéfinies."
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the