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
등급
(70)
프로젝트
99
52%
중재
24
21% / 54%
기한 초과
8
8%
작업중
3
개발자 3
등급
(9)
프로젝트
19
16%
중재
3
67% / 0%
기한 초과
0
무료
비슷한 주문
MetaTrader 5 Expert Advisor Manual Start – Auto Hedge – Dynamic Lot Sequence – Price-Based SL/TP 1. Platform & Account - Platform: MetaTrader 5 - Account type: Hedging - Broker: Exness - Must work on Cent and Standard accounts - Symbol: XAUUSD - Must support different symbol digits automatically 2. First Trade (Manual Only) - EA must NOT open the first trade - First trade is opened manually by the trader - Direction
SNIPER GOLD EA 50+ USD
اسكاليبنج سريع و اهداف ربح عاليه بدقه عاليه ساعات التداول من افتتاح السوق الى الساعه ٨ صباحاً ثم يغلق ويفتح تلقائياً من العصر الساعه ٦ عصراً الى الساعه ٨ صباحاً مع الحفاظ على راس المال دون استخدام تراينجل او جارد ولا يعنل وقت الاخبار ويقوم بتأمين الصفقات الرابحه بسرعه عاليه جداً والذقه في اختيار الصفقات اعتماداً على price action واقل drawdown التركيز على اوقات السيوله العاليه ادارة راس
Hello, I am looking for a good algo code for XauUSd trade any one good algo suggest me. Note:- 1. High winning rate 2. Min. 1 Year Back tested data required I pay good amount for this if any one selling this type algo
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
Hello, My budget is $30, for all job I have four expert advisors on MetaTrader 5. I want to add a trailing stop loss to all four experts in the same way, based on the stop loss percentage. For example, If I set the trailing stop loss percentage in the input menuto 100%, and the stop loss to 500 points, this means that if the price moves 10 points in profit, then the stop loss will also move 10 points, and so on. If I
Ai 1. Trend identify up or down through lMA 50 at daily time frame ( if market stay above LMA 50 is called up trend & stay down lMA is called Down trend. 2. Entry :for uptrend buy & down trend sell though cross over lMA 50by21 & 21 by 14or7 ( customisable )1m or 5m flexible time 3. Daily target Floating loss (DD) if over no entry as % - close all 4. TP, break even after 2 pips (customisable)& SL option
Scalper in life 100+ USD
//+------------------------------------------------------------------+ //| XAUUSD FULL AUTO SAFE BOT MT5 | //| Converted from Pine Script v5 | //+------------------------------------------------------------------+ #property copyright "Converted by ChatGPT" #property version "1.00" #property strict #include <Trade/Trade.mqh> CTrade trade; // === INPUT === input double LotPercent =
Zoroe 30+ USD
//+------------------------------------------------------------------+ //| XAUUSD H1 Auto Trading Bot | //| Works on MT5 Desktop / VPS | //+------------------------------------------------------------------+ #property strict input double LotSize = 0.1; input int StopLossPoints = 200; input int TakeProfitPoints = 400; input int MagicNumber = 777; int emaHandle;
Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event. When the event occurs, the robot checks the emergence of trading signals and acts accordingly. Before you decide to program or order a trading robot, you
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","

프로젝트 정보

예산
50+ USD