EA on base of candle chart

MQL4 전문가

명시

I'm looking for an EA which is opening after definated candle numbers in a row and trend, on a definated Mode (there are 3 possible modes) a Pending or Pendings orders, which will be then good for xhours (example 23 hours- after that Pending orders will be deleted - if not executed).
EA should then restart and wait for the next possible candle numbers in the row. EA is trading just the mode which is in setup.
EA should have a magic number to trade other modes on other chart.

We have three different order modes on which EA is placing the orders under defenated criteria:

EA should not open Trades on Thursday

Order mode should be selected in sets
Normal Mode 
Hedge mode

Third mode is place orders against trend

Note, on all order modes, orders will be placed as pending orders and there will be good for xhours.


Normal Mode

EA is opening after defined candles "x numbers of candles in a row in trend" in direction (+xpips over high or low) a pending order.
Order must be placed in trend direction.  on Higho or Low (depends Trend) +xpips
And a second order, in direction of candle trend but xpips better (but only in the trend direction). If this order xpips better is in market, the first order stays. Only if the normal order (first order) is executed, the order xpips better will be deleted.
A third order can be set activ or inactiv will be placed just on High or Low +xpips on basis of candle before,  in other direction
So if we have a buy trend, EA is placing on High +xpips a buy order - and a second order buy + xpips better order. So if third order is executed - orders stay under pending till Order will be canceled of hours expire.

If the normal order is executed, the order xpips better should be deleted.

Pharamters for Normal Mode:
Candels in trend - Number
+xpips on first order
Xpips better second order - entry should be (price high and low of candle befor /2 = xpips better)

set activ or inactiv third order

Expire hours can be defined for each mode.
After Expire or orders are done, EA starts again with strategy and does wait for new placing of the three pending orders.

Example for Normal Mode - set 3 candels in trend (for example buy trend) - so EA is using the last candel (third high) High was 1.2020 
We have plus Xpips example 5 pips EA is placing a pending buy at 1.2025 and a buy order Xpips better if we have normal mode with fix lots.
So a buy order example 40 pips better . So 1.1985- this is second order.

The first buy order is executed, the second buy order (in this example) will be deleted.

If second order Xpips better is executed - first order stay


Second Mode - EA should also have a Hedge mode - so order will be only open in Hedge direction, with the same second order as in Normal mode and same handling  (xpips better) and always only in Hedge direction. After definated candls in a row. Order is not only in Trend direction and good for xhours.
EA is placing if there is xcandles in a row if there are already orders in Market (only the Hedge volume). EA is placing the hedge volume in open Hedge direction +xpips better or worse on basis of candle before.

If we have Hedge mode, EA is placing the right amount as Pending order on definated limits in Hedge directionon high or low +xpios of candle before.

Order is good for x hours.

Plus second order first as pending xPips better as in Normal mode. Also if second order is executed the first order stay in Market - but if the first order is executed the Second order will be deleted.

Again Hedge Mode:Note EA does placing a Pending order in Hedge direction (if there is a Hedge - plus the order xpips better) if there are already a volume in Terminal. If nothing in Marke - so no order.
Note - EA is also placing a Order Xpips better. If the order Xpips better is executed - the first order stay in Markegt till god as. If first order is in the Market, the second order must be deleted.

Parameter: same candles in a row - example 2 Candles - EA placing after the definated candles a pending order in direction with fewer Lotsorder in direction of lower order sice (hedge) Order will be placed on High or Low on candle before +xpips . On side depends on where is fewer lot amount. Placing on high xpips better, or on low xpips worser - on low always a sell and on high always a buy.

Example: We have 6 lots long and 4 Lots short - the order volume is 2 lots If now 2 candles long in a row came - EA does open an low of candle befor 2 lots short. And second Order on bais of this order xpips better.

If second order will be executed - first order stay in market - Pending orders ar good for xhours.


Third mode is place against trend
This mode has no SL - does work as normal mode, but places order after definated Rows against trend.
Same as normal mode - EA is placing the order just against trend.
If we have an trend of xcandels- can be definated under sets.

EA is placing on High or low (depends on existing candl trend) xlots against trend of trend candels.
Pending orders are good till - xhours


Example - we have 3 candles logng in a row - on high of 3 candel high EA is placing a sell order




Lot definition:
Fix lot - EA is always using the fix lots only for normal mode
Or Hedge amount - EA checks all open trades and does placing the right size for hedge - updating every x hoursUpdating ever x hours
EA does only place the pending order in direction of fewer lots - so if the order is in Market, the orders in Terminal are hedged.

Depends on Pips candle before - If candel before opening order High low is in range of Xpips. EA should juse second lots. 

The definated Lots at fix or Hedge - I want a partial closing or if not Possible EA should place the volume /4
For each closing I want to definated the TP

Closing of the Order:
We have partial close of the order. If we can not make partial closing - EA has to open for fix lots just 4 orders - were I can definated in sets the Percent of Fix lots for each order.

  1. Closing 20 Percent of the order at xpips TP
  2. Closing 20 Percent of the order at xpips TP
  3. Closing 20 Percent of the order at xpips TP
  4. Closing 20 Percent of the order at xpips TP
SL - will be updated after actual candle is closed

Is other side High or Low of candle - +xpips - but minimum xpips - so for example 60pip
Only third mode does have no SL
After first candl trade is done: SL will updating to next candel (high or low +xpips.

EA does also close orders on closing of candle before. - Set activ or inactiv


Expiere of pending order - xhours


Pharameter:

Mode selection 1, 2 or 3
Hours which will be pending good till -xhours

Mode activafter xcandles - number of candles
Xpips better normal mode - xpips

Minimum SL - xpip

Xpips which will be calculated on the order high and low - so if low ist - 1.2020 - sell liit will be placed 1.2020 - xpips 



응답함

1
개발자 1
등급
(10)
프로젝트
4
0%
중재
11
0% / 82%
기한 초과
0
무료
2
개발자 2
등급
(72)
프로젝트
101
51%
중재
24
21% / 54%
기한 초과
8
8%
로드됨
3
개발자 3
등급
(9)
프로젝트
19
16%
중재
3
67% / 0%
기한 초과
0
무료
비슷한 주문
Trade copier 100+ USD
hello great developer This is what I need: I need a local trade copier solution to transmit trades from MT4 and MT5 to NinjaTrader 8 instantly for arbitrage purposes, with ultra-low latency and no cloud services involved. Scope of work - Develop MT4/MT5 EA or script for detecting and sending trades locally. - Create NT8 NinjaScript for listening to and executing trades. - Support market orders and lot size
Hello I want to copy the trades from a cTrader Strategy Provider (Copy Trading system) to a MT5 Account. At the moment cTrader allow me only the copy the trades from the strategy provider if i allocate funds to a subaccount which cTrader opens for me automatically without account number and without password if i follow the trades from strategy provider. It copies the trades from strategy provider account to my
I will send the source code privately Note that the tradingview indicator is profitable so should be the conversion to mql5 ea... ONE WORD EA SHOULD BE PROFITABLE when fully converted.. I created the source code of the indicator and fully analyzed the data.... I NEED A WELL COOKING CODER TO FULLY WORK WITH URGENT let's work towards the future
I need a reliable, clean-coded Expert Advisor built for both MetaTrader 4 and MetaTrader 5 platforms. Main trading behavior: The EA follows buy and sell arrows produced by my custom indicator. Whenever a buy arrow shows up on the chart: if a sell position is currently open → close that sell immediately and enter a buy trade in its place. Whenever a sell arrow appears: if a buy position exists → close the buy and
Hello I'm looking for professional to create a robot to me that will enter us30 or nasdaq around 16H29-minute55-Second New York session opening Monday to Friday and put stop loss 3800 points away from entry hedging strategy
hello every one i have a sample strategy i need a expert for automatical trade on vps pls let me know if every one can summer of expert : mixed 2 EMA and hicenashi + money managment i will need test befor pay
Looking for an experienced developer to build an AI-driven trading system for MetaTrader 5. The bot should be able to: Analyze market structure (accumulation, manipulation, distribution) and 45-min pullback zones (25%, 50%, 70%) for trade decisions Integrate with Bookmap via API for real-time order flow, liquidity, and footprint data
*I am looking for an experienced MQL5 developer to build a custom Expert Advisor (EA) for MetaTrader 5 based on my proprietary trading strategy. The full strategy details will be shared privately with the selected developer after agreement. The EA must be designed for automated trade execution with a strong focus on accuracy, speed, and stability. It should support flexible input settings and allow for future
Hello, I am seeking assistance in setting up a trade copier or bridge to facilitate the copying of trades from MetaTrader 5 to the Tradovate platform. I am looking for someone who can help automate my trading process, allowing trades generated by my Expert Advisor in MT5 to be copied to different accounts on Tradovate using their API.Something like in the attached image
📋 Project Description I am looking for an experienced MT5 (MQL5) developer to code a fully automated Expert Advisor for NASDAQ (US100) based on a fixed, rule-based opening range breakout strategy. The strategy is mechanical, uses no discretionary logic, and must be coded exactly as specified below. 🕒 Time & Session Rules Market: NASDAQ (US100) Trading days: Monday–Friday Session open: 9:30 EST EA must convert

프로젝트 정보

예산
50+ USD