Create a MT5 Robot - Clear instructions and Tradingview code provided

仕事が完了した

実行時間2 日
依頼者からのフィードバック
Very straightforward. Easy communication and the job was completed as discussed.
開発者からのフィードバック
Swift communication and clear specifications, looking forward to future collaborations.

指定

Hi dev,

I want to code a MQL5 EA as described below.

I can provide my custom tradingview pinescript v5 code as a reference.


*** Strategy description ***

The strategy looks for a specific 4 candle pattern to open long or short.

Current candle is candle 0, previous candle is 1 and so on.

For longs: Current candle closes above previous candle’s high (candle 1) and also closes above candle 3 high.

For shorts: Current candle closes below previous candle’s low (candle 1) and also closes below candle 3 low.

The candle pattern is only valid on bar close.


*** Entry conditions ***

Once a pattern is detected we will stop looking for new patterns until the trade is closed or cancelled. If the limit order is not triggered in X number of candles we cancel the limit order and restart looking for candle patterns. If before the trade is triggered we get a contrarian signal we also cancel the trade and open the last one to appear.

Here is the candle detection code in pinescript V5:

bool greenTriangle = close > high[1] and close > high[3] and not prevGreenTriangle

bool redTriangle = close < low[1] and close < low[3] and not prevRedTriangle

When the pattern is detected a limit order is set to X pips above the last candle for longs or under for shorts. This makes sure that the trade will only open if the price actually moves in the direction of the signal. If the price moves in the opposite direction we will end up canceling the order after X candles or a contrarian signal.

That’s all for the trigger conditions.


*** Exit conditions***

For exit we use a fixed stop loss value equal to X pips and a dynamic take profit that is a multiplier of the ATR value (period 7 candles and multiplier 0.7 for instance).

An open position should also be closed if we get an opposing candle pattern.


*** Position size ***

In terms of position size we risk losing 1% of the account per trade. If this results in a value bigger than the whole account we use 90% of the account as position size.



The strategy only keeps one long or one short open per time so there is no pyramiding.


It should be possible to define two time periods for opening trades per day. For instance from 08h00 UTC to 12h30 UTC and again from 14h30 UTC until 21h00 UTC.

Closing trades can be anytime since we defined the stop loss and take profit already.


We should have an icon indicating a long and one for short. Position entry price, stop loss and take profit should also be displayed.


Please see attached image for an idea of what it should do.


Thanks

ファイル:

PNG
example.png
89.3 Kb

応答済み

1
開発者 1
評価
(90)
プロジェクト
110
37%
仲裁
8
88% / 0%
期限切れ
0
仕事中
2
開発者 2
評価
(140)
プロジェクト
203
80%
仲裁
17
29% / 47%
期限切れ
10
5%
仕事中
類似した注文
I have back testing results from optimization on the MT5 strategy tester for various tests saved in different tabs on excel. I would like to generate an excel function to find the matching parameters that give the best results based on profit within all tabs (the left most column), so the function needs to find the matching parameters, calculate the sum of the profit of matching parameters (TOTAL PROFIT), and rank
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
So i have copier EA. The idea is the EA will triggered through manual OP by user via mobile or whatever platform. Let's say 0.01 lot to trigger it. After the EA takes master's position, the EA will be standby mode. If the master take more OP, the EA still not take the master's position (OP) until the user input manually once again via mobile for another 0.01 lot. Since this is a MT4 EA, Whenever user want to close
preciso de um robô com duas médias móveis, uma exponencial high e uma exponencial low. preciso também ter a opção de utilizar e todos os tempos gráficos e alterar os parâmetros das médias. entrada de compra será feita quando um candle de alta romper e fechar a cima da média high e fechará a posição quando um candle de baixa romper e fechar a baixo da média low. a venda será feita quando o candle de baixa romper e
I need a chart to replicate/track my equity + Balance Curve into my mt4. Also this chart i need to be able to add Stochastic / Bollingerband / Moving average on the equity/balance curve. Besides the equity curve i would like the indicator to show the Line-chart of my win + 1 and my loss -1 which results in a win-loss curve. ( i will discuss this with the choosen developer in depth. ) More information on what i want
Hi, I need a robot, which wil get instructions to trade in 3 symbols at the same time based on few parameters and calculations. Example: There is 1 symbol called Gold-Near and the rate for it is 1000-1002 If i specify that when the rate reaches 1050, it should sell 1 lot Upon execution it will have to sell 1 lot of cme gold, buy 3 lots of mcx gold and buy currently (lots will be based on calculation). All the
Trading bot 300+ USD
We need bot that trades when medium and low impact news hits It will release pending order both directions few min prior to news impact And will have certain risk management strategy attached Example If Monday and Tuesday news successful clears profits It will reduce risk for next news events until new week starts each week message on tg: Dstatewealthtrading NOTE: 4 YAERS OF EXPERIENCE UPWORD, YOU MUST BE A
are you aware of the Monday Range Strategy? https://www.youtube.com/watch?v=7B_yBBFx6z8 5pm EST time sunday - monday 5pm est and it has to be on the H1 chart , minimum 1:2 Risk to reward and break even function after 1:1

プロジェクト情報

予算
30+ USD
VAT(付加価値税) (23%): 6.9 USD
合計: 36.9 USD
開発者用
27 USD