*** clarification I need this in MQL5 :) ***
I've been manually using a strategy to pretty good success, but like all normal people, I have to sleep sometimes and have a life, making me miss many entry/exit points. Time to automate it all!
The strategy is simple, really, and you may have seen it before. I use it on the 1 hour timeframe. 2 Exponential Moving Average (EMA) on close, one fast and one slow, crossover. You buy or sell. You exit when they crossover again. As a bonus, you have an Average Directional Moving Index (ADX) indicator that you use as a second rule to make the whole thing safer. The ADX gives you a second exit signal, and it prevents you from going in at the wrong time. I trade on many symbols at once.
Here's the rundown of the strategy, and what I'd need programmed.
The are 3 states to the trade. Buy, Sell, or Standby.
Entry point:
Fast EMA (12) + Slow EMA (36) + ADX (14) with a level at 40
If the Fast EMA crosses over the Slow EMA,then there is a potential trade. 2 things are now checked.
If The ADX level was over 40 and is now just about to cross under, like at 41, then there is no entry. There will be no entry until the next crossover. Usually these crossovers are unstable anyway.
If both EMAs are very close to each other, say withing 50 points (5 pips), it waits until the next bar close to go in. It keeps checking every bar until the signal is good, The ADX dips back under 40, or there's a new crossover.
Anything else is good, and a buy signal is sent and a trade is made. Same thing is the Fast EMA crosses under the Slow EMA. Check the ADX and the difference between EMAS, and if it's good, then a Sell trade is initiated.
Exit point:
A trade exits on 2 conditions. Either the EMAs crossover in the opposite direction, or the ADX went over the 40 level and back down under the 40 level.
Inputs and options:
Here's where we have fun! Even though my strategy uses static numbers because I've grown accustomed to them, why not have the liberty to modify some things and adapt to new conditions?
Both EMAs and ADX period and level.
Volume. I usually go for a percentage of my account balance, so the input would ideally be noted as a percentage
Timeframe. I trade on the 1 hour timeframe, but having the option to test it out on different timeframes could prove useful.
Multiple symbols. I need to be able to trade on multiple symbols simultaneously.
Optional take profit, stop loss and trailing stop, as points. All 0 by default as the main strategy doesn't use any of those. I've found that mainly the trailing stop was useful when i couldn't pay close attention to my trades.
ADX tolerance. As mentioned, I don't enter trades if the ADX is above 41 and headed downwards to 40. I eyeball it though. Maybe it should be 42. Or 40.5. That number should be modifiable.
Manual trades. Sometimes using the exit points mentioned I will get out of a trade that could have kept on going much longer and keep being profitable. This usually happens when the ADX is oscillating around the 40 level and can't make up its mind. I'd like the option to re-enter a trade manually and have the automated exit points still active on the manual trade.
----------------
As a non-programmer, I assume all this is simple enough. I'm probably wrong and I may be asking for a very complicated thing. I'm using EMAs and ADX, very common things. But maybe the combination of it all makes it way more difficult than it is in my head. I set a variable budget because I know that 30$ won't cut it, and I hate negotiating, so I put a range in. Please be upfront about how much time programming this would take, and how actually difficult it is, and if you have suggestions to improve on it. I won't necessarily employ the cheapest programmer, but rather the one that shows me he's the best for the job.
Thank you!
비슷한 주문
The best way forward to the future that is all over between the market in all orders for us and our team to make good projects with you on the general level
I am looking for a developer to create a trading robot (EA) to trade XAUUSD, NAS100 and SPX500. The rules are as follows: Buy when the 2 EMA crosses over the 10 EMA and price closes over the 50 ema. Sell when the 2 EMAs cross below the 10 EMAs and the price closes below the 50 EMAs. The take profit and stop loss can be adjusted by me selecting from a drop-down box. I am open to other parameters to optimize
Description I need an very low latency MT5 Expert Advisor (EA) developed in MQL5 to automate TradingView alerts into MT5 trades for alerts set up done on trading view. The EA must work on both DEMO and LIVE accounts whichever will be attached to MT5 (XM, IC Markets and similar MT5 brokers) and be suitable for fast 1-minute timeframe scalping.End to End solution. Functional Requirements 1. TradingView Integration
Project Overview I am looking for an experienced MQL5 developer to build a custom, prop-firm-compliant trend-following Expert Advisor (EA) for MetaTrader 5 . This EA will be used on prop firm accounts (e.g., FTMO-style rules), so strict risk control and rule compliance are mandatory . This is NOT a grid, martingale, scalping, or recovery EA. The goal is consistency, rule compliance, and capital preservation , not
I would like to buy ea that is proven to be good need to have stable profit and can be very unstable DD but not more than 40 %you can send eas in dm for sale. I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive
I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive explanation of the strategy utilized by your EA, along with a demo version that has a 30-day expiration. This will facilitate extensive back testing and forward
I am seeking a highly skilled developer to build a fully functional automated Expert Advisor for MetaTrader 5 (MQL5)- XAUUSD fast in and out EA scalper that opens multiple trades following trend, uses dynamic lot sizing, and has to be – 24/5 unlimited. require the development of a high-speed, continuous fully automated trading Expert Advisor (EA) for MetaTrader 5, optimized for live trading on ICmarkets. The EA must
Hellow,l hope you are well,l am writing to place an order for a professional trading robot.l am looking for a reliable,well optimized robot that can trade efficiently,manage risk properly and deliver consistent performance in the market,I am particularly interested in a trading robot that uses a proven and transparent strategy,has strong risk management features,works well on common trading platforms,is suitable for
I am looking for an experienced MQL5 developer to build a professional MT5 software (indicator or semi-automated EA) for metals and major forex pairs. 📌 PLATFORM & MARKETS Platform: MetaTrader 5 Instruments: XAUUSD (Gold vs USD) XAGUSD (Silver vs USD) EURUSD GBPUSD USDJPY Trading styles: Scalping Intraday / short-term swing 🎯 MAIN OBJECTIVE I do NOT want an aggressive fully automated robot. I want a
I am seeking an experienced freelance marketing and algorithmic trading specialist to develop a user-friendly automated trading bot for the Pocket Option platform. The system should feature a simple and secure interface that allows direct login using my existing credentials. The bot will be designed to operate exclusively on multiple OTC currency pairs (a minimum of 10, such as EUR/USD OTC, GBP/JPY OTC, and similar