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.
Ordini simili
Hello, I need a developer and seasonal trader to help me automate my strategy as a new trader. I need really an expert in this field because I am new. Please message me and I will share more details
My Strategy is complex and requires a deep understnading of the market and coding knowledge. DO NOT MESSAGE IF YOU DONT HAVE THESE 2 THINGS. I will give more details of strategy during message. Pleasure doing business
Hello, I’m looking for an MQL5 or MQL4 EA that trades EURUSD (optionally other majors or XAUUSD). The broker applies a 4-pip spread on EURUSD and higher on other symbols. The sole objective is to generate at least 45–60 lots of volume within 2 weeks or max one month (more is better; a bonus is paid for every additional 10 lots traded). The account has 1000 USD starting balance. Capital preservation is not required
1. Project Overview Name : BB Channel Trading EA Objective : Execute reversal trades based on price action (engulfing patterns and liquidity sweeps) at the extremes defined by Bollinger Bands. Trades will be taken when price breaks volatility bounds, indicating potential exhaustion and reversal. 2. Functional Components 2.1 Bollinger Bands Channel Purpose : Identify overbought and oversold zones. Indicator : Custom
# Multi-Layer Probabilistic EA — Design Plan (MQL5) Author: Custom-Expert-Advisors Status: Draft v3 Scope: MQL5-only (no Python) ## 1. Purpose & Scope Design a robust, real-time, probabilistic Expert Advisor for MT5 that adapts to market regimes, filters noise using information theory, and sizes risk via Bayesian beliefs and fractional Kelly. The design prioritizes stability, latency control, and survivability in
I need MQL4 EA for a forex expert advisor to trade on MT4 that uses a reversal strategy with the following conditions: only pairs that will enter are USDJPY, EURJPY, CADJPY, NZDJPY, AUDJPY, GBPJPY, CHFJPY. Each pair can only be traded once a month. Will only enter the market on 1 hour timeframe. Lot size = 1.0. Risk:reward ratio is 1:2. Enter if there are at least 7 confirmations from the following signals: for the
Bainanan good f المؤشر. ينبغي إضافة نقطة صفراء عند أعلى نقطة في الشموع في منطقة ذروة الشراء - وهي نقطة H. ينبغي إضافة نقطة خضراء عند النقطة المنخفضة للشموع في منطقة ذروة البيع - وهي نقطة L. إذا وُجدت نقطة L واحدة على الأقل بين نقطتي H، فابحث عن نقطة LL في الفترة الفاصلة بينهما. ستكون الشمعة ذات أدنى سعر قاع هي نقطة LL. بشكل عام، لا تُعتبر نقطة LL بالضرورة نقطة L. ابحث عن الشموع ذات أدنى سعر قاع. إذا كانت هناك نقطة H
The robot must make me a large profits and it must be strategic.It must look for strategies and tell me whether to buy or sell the trade.And it must take a half of the profit and must give me the other half of the profit
I want a robot that will help me and trade the the robot will be very good I don’t want to loose money I repeat I don’t want to loose money
Use the Daily (D1) chart as the higher timeframe reference. On the H1 timeframe, monitor for a sweep of the previous day’s high or low. A sweep means that price takes liquidity above or below the previous day’s level and then shifts back inside. After a sweep on H1, drop to the M5 timeframe. On M5, wait for a Change of State in Delivery / Market Structure Shift (CHOCH/BOS) to confirm entry. If the sweep occurs above