An Expert Advisor based on Price Action Needed

Specifiche

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.


Con risposta

1
Sviluppatore 1
Valutazioni
(190)
Progetti
311
15%
Arbitraggio
20
40% / 35%
In ritardo
16
5%
Occupato
2
Sviluppatore 2
Valutazioni
(141)
Progetti
166
22%
Arbitraggio
7
29% / 43%
In ritardo
4
2%
In elaborazione
3
Sviluppatore 3
Valutazioni
(50)
Progetti
71
15%
Arbitraggio
2
50% / 0%
In ritardo
7
10%
Caricato
4
Sviluppatore 4
Valutazioni
(22)
Progetti
28
11%
Arbitraggio
6
33% / 50%
In ritardo
4
14%
Caricato
5
Sviluppatore 5
Valutazioni
(157)
Progetti
222
22%
Arbitraggio
15
60% / 20%
In ritardo
1
0%
Occupato
6
Sviluppatore 6
Valutazioni
(10)
Progetti
25
28%
Arbitraggio
1
0% / 0%
In ritardo
1
4%
Caricato
7
Sviluppatore 7
Valutazioni
(349)
Progetti
548
32%
Arbitraggio
24
67% / 8%
In ritardo
16
3%
In elaborazione
8
Sviluppatore 8
Valutazioni
(68)
Progetti
76
32%
Arbitraggio
2
0% / 0%
In ritardo
1
1%
In elaborazione
9
Sviluppatore 9
Valutazioni
(338)
Progetti
357
71%
Arbitraggio
4
100% / 0%
In ritardo
0
In elaborazione
10
Sviluppatore 10
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
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
1. Combination of Market Profiles on daily basis a) this should be combined if the bell curve is similar to the previous day. Rotational day (volume - standard deviation). b) If breakout, new range should be drawn Conclusion: Market profile should be combined on daily after the market is closed 2. Use Vwap indicator, with 0.5 - slow trend, 1.0 - normal trend, 1.5 fast trend. The stop loss should be under the trend
Mt4 EA Copy trades from octafx copytrading master trader trades 1-i need a bot which will copy trades from Octafx Copytrading Master Trader trades to Metatrader 4 account. 2-bot will copy exactly same trade with same lotsize 3-Bot should open exactly same time when master open and close exactly same time when master close 4-provide complete source code Guide Completely how to Run*
"I am looking to automate my Delta Divergence trading strategy for NinjaTrader 8. The strategy is thoroughly detailed in the accompanying script, and I need it to be implemented effectively in the platform."
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

Informazioni sul progetto

Budget
30 - 50 USD
Scadenze
da 30 a 365 giorno(i)

Cliente

Ordini effettuati1
Numero di arbitraggi0