MQL5: Open buy & sell trade at particular times(user input) based on recent market activity

MQL5 전문가 Forex

작업 종료됨

실행 시간 9 일
피고용인의 피드백
Great client. Understanding of problems and willing to work together to find a way around them.

명시

Hi,

Would like to order an MQL5 Expert script to perform the following.

At the date/time specified open a buy and a sell pending order, which entry points are defined by the last X minutes of activity (based on high/low). All this is based on M1 time frame. If either order is filled, the other order is cancelled. Also the ability to cancel both orders if neither is filled within XX time.

Variables (Example only)

Variable

Definition

u_EntryTime

UserInput: This is the date/time that the buy/sell trade will open. eg "17.11.17 22:30"

u_CurrencyPair

UserInput: What currency pair the trade should be against. eg. "AUDUSD"

u_EntryTimeHistory

UserInput: Number of points to read up to the u_EntryTime (Eg is set to 2, then read the high/low from 17.11.17 22:29 & 22:28).

i_HighPoint

InternalVar: the High from the EntryTimeHistory

i_LowPoint

InternalVar: the low from the EntryTimeHistory

i_BuyAt

InternalVar: This is the entry point for the Buy order eg. i_StopLossHigh + u_EntryLevelPips

i_SellAt

InternalVar: This is the entry point for the Sell order eg. i_StopLossLow - u_EntryLevelPips

u_ProfitPips

UserInput: Take profit level (eg 100)

i_BuyProfit

InternalVar: Exit point for Buy Profit (i_BuyAt+u_ProfitPips)

i_SellProfit

InternalVar: Exit point for Sell profit (i_BuyAt+u_ProfitPips)

u_EntryLevelPips

UserInput: Value above Stop Loss to entry the market at; eg 10

u_CloseIfNotOpened

UserInput: Close all trades after XX minutes if orders are still pending eg. 5 = if neither order has been filled after 5 mins, close them both.

u_Volume 

UserInput: Trade volume eg 0.01

u_StopLossPips

UserInput: The stoploss adjuster eg 10

i_StopLossHigh

InternalVar: i_HighPoint+u_StopLossPips

i_StopLossLow

InternaVar: i_Lowpoint-u_StopLossPips

 

 

Conditions

  • If either buy or sell is completed, then close the other pending trade.
  • If neither are opened after u_ClosedIfNotOpened then close both pending trades.
  • Must be able to work with JPY as well

Would like the ability to be able to input multiple trades, eg if there were 5 in a day or the same trade against multiple currencies at the same.

I have attached a basic spreadsheet with how the calculations should work, please let me know if you have any questions at all. The spreadsheet is only basic and only works for AUDUSD (doesn't work for JPY).



응답함

1
개발자 1
등급
(88)
프로젝트
143
39%
중재
21
19% / 48%
기한 초과
30
21%
무료
2
개발자 2
등급
(3)
프로젝트
8
13%
중재
10
10% / 70%
기한 초과
2
25%
무료
비슷한 주문
This is not an EA that actually opens/closes trades. Instead this project involves creating a dashboard where the user can create a grid trade scenario with initial entry and scale trade pip distances, lot sizes for each trade, and draw down amount. It then calculates the break-even + profit level where all trades would close. For each new scale trade the BE+ point is recalculated which is then displayed on the
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader, I wanted this indicator in NT bcs I chart in NT, and if the indicator could also have been an automated strategy even better. Please confirm that it will be an indicator and Automated Trading Strategy
Hello potential Freelancers I’m very new to trading so please bear with me as I try to explain what ‘m looking for. I'm currently getting signals ( XAUUSD )sent to me and I’m looking to find a person who can look at the data either watch account live, or I send the trade history. The bot my provider is using makes 100’s of trades a day and does very well on average. I’m also looking to have the following features
function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (B) Add the function (false) or (true) INTO THE EXISTING FUNCTION: TradeSize = 0.01; (true) Function (C)
Hi guys I would like to k ow if someone has experience with machine learning models? I would like to train a model to identify if there is a range market or trendy market based on several parameters like EMA and ATR for example. If we use for example a 20 and 50 EMA and we measure the distance between both lines the algo should oearn if the trend is strong or weak. If it‘s steong it keeps trending and if it‘s weak
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello I need a very simple indicator This indicator should show the highest floating or history drawdown of the account It means that it can display the highest number that the account drawdown to be displayed on the chart in this format max drawdown account(xxxx$$) ...date(00/00/00)time:(00:00) max drawdown currency ..( currency name with max drwadown) . (xxxx$$) date(00/00/00)time:(00:00) thanks
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA. THREE TYPES OF ENTRIES 1: AGGRESSIVE 2: DIVERGENCE 3
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how
Hello, I‘m interested in an indicator to predict the next candles probability (bullish or bearish). But honestly I have no idea how to do this. Would be interested in your opinion how we can create such an indicator. Please let me know if you‘ve done similar work

프로젝트 정보

예산
30+ USD
개발자에게
27 USD