Need EA for MQL5

전문가

작업 종료됨

실행 시간 2 일

명시

I have writtern this EA for MQL4 but I'm having a difficult time with MQL5. I need someone's help.

 

Inputs

TakeProfit, StopLoss (in pips)

TradingTimeFrame - the chart's period

   IndicatorBuffer - using the chart's timeframe, IndicatorParam1,IndicatorParam2,IndicatorParam3, I can add params if needed later

   Example:  iMACD(NULL,TradingTimeFrame,IndicatorParam1,IndicatorParam2,IndicatorParam3,PRICE_CLOSE,MODE_MAIN)

OtherTimeFrame - some other timeframe,

   OtherIndicatorBuffer - using the OtherPeriod's timeframe + OtherIndicatorParam1, OtherIndicatorParam2, OtherIndicatorParam3

MaxSpread (in pips) - if current spread is bigger, stop trading until spread is back to normal

Leverage - multiplier of Balance to get lots, example: Leverage 10, Balance 1000, should trade 10,000 or 0.1 lots

MaxSingleDayLossCount, example if set to 2, after 2 losing trades in the same day, trading should stop until next day

WaitInMinutes - after a trade has reached SL or TP, wait before placing another trade based on new signal, also wait for next order if trading multiple based on new signal

MultipleTrades - bool, true or false.  If true, will add to position in the same direction but must use WaitInMinutes and new Signal 

StartHour - start of trading for the week, Sunday at 17:00PST

StopHour - stop trading, close all open positions, Friday at 12:00PST (implicit, no trading on Saturday)

AllowClose - bool.  If true will close open positions based on opposite signals

 

OnInit

Write all parameters above to file, Symbols()+params.csv if not present

Read all parameters above to file, Symbols()+params.csv (useful because a recompile sets all params back to default)

If Optimizing or Testing, do not read nor write params files 

Set MagicNumber by converting Symbol() to number.

   for(int i=0;i<6;i++){
      MagicNumber += MathAbs(StringGetChar(Symbol(),i));
   }
 

OnTick

Alert if TradingTimeFrame != Period() and stop EA or just return(0)

Check dayofweek and hour of day use TimeLocal()

if Sat = no trading

if Sun and 17:00, start trading

if Fri and 12:00, stop trading and close all open positions

Signals: 

   bool TrendUp = OtherIndicator[0]>OtherIndicator[1]

   bool SignalUp = Indicator[0]>Indicator[1]

   bool TriggerUp =  Ask>Previous bars high, TradingTimeFrame or chart's Period()

   OpenBuy = TrendUp && SignalUp && TriggerUp

   OpenSell = TrendDn && SignalDn && TriggerDn (need 3 more bools opposite of Up bools)

   CloseBuy = OpenSell && AllowClose

   CloseSell = OpenBuy && AllowClose 

GetLots = Leverage * Balance (converted to lots)

GetLastClosedTradeTime - used with WaitInMInutes, I think this must be TimeCurrent()

GetLastOpenTradeTime - used with WaitInMinutes and Multiple, also TimeCurrent()

Trading:

   GetSignal

   check loss count (from history)

   check lots

   check wait and direction of open position if trading Multiple (GetLastOpenTradeTime)

   check wait with GetLastClosedTradeTime 

   SendOrders - market orders only, then modify to add SL and TP

     Symbol().Refresh after successfull send order. 

 

That's it for now, I think I got all my requirements in.  Let me know if you're interested and an estimate of cost.  I can give you snippets of my MQL4 code if you are chosen.

 

 

 

 

 

 

 

 

 

 

 

응답함

1
개발자 1
등급
(473)
프로젝트
1138
44%
중재
51
31% / 33%
기한 초과
500
44%
무료
비슷한 주문
hello i have some questions about renko. aswell have som ideas for a renko expert who create renko bricks. i need somebody who know the renko wroking and behavior aswell has much experinces with it. i have renko builder as mql4 file but i need some etxra options... lets talk about
Hello, I am looking to develop an EA that recognizes Engulfing patterns on multiple time frames, take Bias and signal from Higher time frames and Entry from Lower time frame. I would also like to add features like stop loss, opposite trade in case of stop loss and arrow signal at the point of entry
1. Overview The bot is designed to execute a dual grid trading strategy with both buy and sell orders placed at predefined grid intervals. It is non-directional , meaning it does not follow any signals or trends. The bot operates continuously, opening new orders as soon as a TAKEPROFIT or STOPLOSS is triggered. It is optimized for synthetic indices but can be adapted to other assets. 2. Core Features Dual Grid
Hello All 4 EA have 100% same setting just indicators are different I need 4 EA with 4 different different indicators, in the pictures I mention 3 EA but there are 4 But make sure all setting all data built in EA and able to modify indicator setting directly from EA no need to attach indicator EA must show Arrow TP SL etc.... which indicator show on chart EA's Panel work perfectly and auto calculate all previous TP
I’m in need of a professional developer to review and test my MQL5 file. It’s essential to ensure that the code is optimized, error-free, and functioning as intended for trading purposes. A qualified developer can thoroughly analyze the file, identifying any issues or inefficiencies and suggesting improvements. They can also run comprehensive tests to validate performance under various scenarios. This support is
I need a forex Robot that will trade based on the order block and candle stick pattern, the robot should scalp and swing. It should open trades on Order block and continue to open more trades as per candle stick in order of time frames. The robot should buy and sell. If the Market is buying the robot should open buy trades only, if the Market is selling, sells only and each trades open if the last candle stick was
Hi! Do you have a highly profitable Expert Advisor (EA) forex trading robot that’s compatible with both MT4 and MT5? If so, I’d love to see any supporting details about the EA’s performance. This includes backtesting results—either screenshots or videos—as well as a demo version to test the algorithm’s accuracy so as to make a purchase. Additionally, a brief explanation of the trading strategy used to develop the EA
Hi Everyone, I am looking to hire a developer to create an Expert Advisor (EA) for MetaTrader 5, utilizing two custom indicators: HalfTrend and Squeeze Momentum . The EA should be designed based on specific trading conditions which I will detail below, and it should also include comprehensive optimization and backtesting. Project Details: Indicators to be Used: HalfTrend Indicator : Should generate buy/sell
I have a complex indicator which is made by another coder before , but if i open a chart and run the indicator, then after some times i open new chart the same as before and run indicator on new chart again, the the recent signals on new chart is diffrent from the chart which was opened before!!! if anyone can solve it message me
Hi, Thanks for looking at the requirement. This job is like adding few rules and CSV export to signals generated in an indicator. please look at the specs and let me know if u have any queries. Thanks :) 1. Filters Candles Based on Open: True/False Buy candles arrows should have the open above the EMA Sell Candles arrows should have the open below the EMA 2. Limit Placement Criteria: True/False When an

프로젝트 정보

예산