An Expert Advisor based on Price Action Needed

Spécifications

write me an MQL code that will work on mt4 and mt5 and follow these specific instructions...

 

This code is for forex trading EA and will work in any time frame, using the candle sticks formed on that time frame to make its trading decisions. it should work with all forex pairs, indices and commodities. The instructions are as follows:

 

Entry Condition: when there are two or more consecutive bearish close (price opens higher and closes lower) candle, then followed by a bullish close (price opens lower and closes higher) candle stick on the time frame to be traded, set a stop order(sell-stop) at the opening price of the first bullish candle. this should be set only at the close of the bullish candle. Also, when there are two or more consecutive bullish close candles, and followed by a bearish close candle, set a buy stop order at the opening price of the first bearish close candle. This should also be set at the close of the bearish candle.

 

Risk Management conditions: for the sell stop order, set stop loss at the opening price of the most recent previous bearish candle opening price that is higher than the highest price of the candle which the opening price was used to set the pending/stop order. for the buy stop order, set stop loss at the opening price of the most recent bullish candle which is lower than the lowest price of the candle which its opening price was used to set the pending /stop order...

 

Number of Trades to be Opened: Always set two pending orders at a time (as soon as the conditions for setting the orders are met). for one of the trades, set a R;R of 1:2, and set the R:R for the second trade to 1:5.

 

Trade will be managed as follows: If the stop order is triggered, and the price hits the 1:2 target, the remaining open trade should move its stop loss to BE, and secure 0.5%R. This strategy does not require any indicators.

NB

All parameters should be adjustable.

 

Lot size: lot size should be calculated from the account balance, so that the risk on each of the trades should be 0.25%.  the default lot size for entry to be 0.01 lots.

 

 the EA is not allowed to open any other trade until the first 2 trades opened have been closed in profit or loss.

 

 All trades ( Opened pending orders) opened, but not executed should be closed after 1 hour, and then the search for a new trade setup should begin.


Répondu

1
Développeur 1
Évaluation
(190)
Projets
311
15%
Arbitrage
20
40% / 35%
En retard
16
5%
Occupé
2
Développeur 2
Évaluation
(141)
Projets
166
22%
Arbitrage
7
29% / 43%
En retard
4
2%
Travail
3
Développeur 3
Évaluation
(50)
Projets
71
15%
Arbitrage
2
50% / 0%
En retard
7
10%
Chargé
4
Développeur 4
Évaluation
(22)
Projets
28
11%
Arbitrage
6
33% / 50%
En retard
4
14%
Chargé
5
Développeur 5
Évaluation
(157)
Projets
222
22%
Arbitrage
15
60% / 20%
En retard
1
0%
Occupé
6
Développeur 6
Évaluation
(10)
Projets
25
28%
Arbitrage
1
0% / 0%
En retard
1
4%
Chargé
7
Développeur 7
Évaluation
(349)
Projets
548
32%
Arbitrage
24
67% / 8%
En retard
16
3%
Travail
8
Développeur 8
Évaluation
(68)
Projets
76
32%
Arbitrage
2
0% / 0%
En retard
1
1%
Travail
9
Développeur 9
Évaluation
(338)
Projets
357
71%
Arbitrage
4
100% / 0%
En retard
0
Travail
10
Développeur 10
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
hi. I hv a strategy on tradingview need to convert to MT4/MT5 expert advisor for algo trading. would like to add some tradingview strategy setting to the EA(not included in my tradingview code): recalculate after order is filled, order size: xx% of equity
Hello great developer i need a great developer that can help me to do the modification on Ninjatrader https://forum.ninjatrader.com/forum/ninjatrader-7/general-development/44785-real-time-data-feed-from-excel-sheet Need a simple tool to connect rt data from excel to Ninjatrader- Already a free tool available which extracts data from trading software called- Nest Trader - to Ninjatrader- Its possible to modify it to
Hello I would like to replicate ThinkTrader desktop version indicators to be used in MT4 . The indicators are 1) Trendrisk Trend and 2) Supertrend. These indicators will paint the candlestick of the chart. thanks
Looking for a developer good with maths and statistics. The EA should predict prices based on my ready-made algorithm in python (300 lines long). The algorithm is mostly based on random forest, with inputs based on historical prices (its own symbol, as well as other pairs). There are also discretionary inputs which should be provided in the EA inputs. The final EA should have a excel input file which contains the
I’m looking for a developer that has understanding of scalping and HFT strategies that can make an algo that works for all brokers and prop firm LIVE accounts (like STP, ECN, DMA, Money Makers, NDD, Fast Server etc.,). I want someone that has understanding and insight in different scalping and HFT strategies, preferably something like momentum based strategies. The EA has to work on all Brokers and Prop firms like
I'm looking for professional developer for my project.I'm having indicators source code , i want to convert it into MT4 EA .it is having some basic inputs such as lot size,TP,SL,B.E,trailing,News filter features along with some special inputs.detailed strategy will be discussed in chat room.i prefer Indian developers who speaks hindi
The strategy uses a grid trading system where trades are placed at set intervals (grid levels) and are managed using Bollinger Bands for entry and exit signals. A fixed lot size, trades are managed to comply with maximum spread conditions and specific trading hours, with the possibility of closing trades based on Bollinger Bands signals. The use of Bollinger Bands indicates a focus on volatility-based trading, while
Hi, i have a tos script i need converted to Ninja script, but someone who knows both coding. Cant be someone who is just going to paste into chat gpt, it requires more understanding for compatibility
I believe in Robotics as a major artificial intellect to function of growth of business.Therefore if you script there is a likelihood of bringing economies of scale.The retrospective of the dynamics of indulgence of work can be economics of scale
MT4 INDICATOR 30 - 35 USD
Looking for a proven MT4 indicator that is highly consistent and profitable preferably that you have developed and are able to share with me. If you have some indicator that is valuable for making consistent profit please bid and show me trading history from using it in your MT4 account. Thanks

Informations sur le projet

Budget
30 - 50 USD
Délais
de 30 à 365 jour(s)

Client

Commandes passées1
Nombre d'arbitrages0