*** 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!
Similar orders
Please read the full post before replying . I am looking for an experienced Forex EA developer with strong trading-system reverse engineering experience for two separate EA projects. This is not a basic EA programming job . I specifically need someone who has real experience analyzing an existing trading system, understanding its trading logic and behavior, and developing an EA based on that analysis. 🔹 Work 1 —
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
Project: Fix & Schedule My Dual Fibo Standard Fibonacci Bot I have an existing MQ4 expert advisor called "Dual Fibo Standard Fibonacci". It needs to process 1,000 clients. Right now it runs blindly with no schedule and takes way too long. I need you to optimize it so it runs like a professional business with a 50-100 batch printed stamp copy progress log. Please reply with your numbers for this simple layout: * Phase
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
Wanna Create A Trading Robot That Uses Liquidity Sweep And Smart Money Concept EA That Works On PC. I want A Developer Who Can Program Exactly My Strategy That Will Be Shared on A Video Upon The Selection. it Should Follow My Rules .It has To be able To Read Price Action, followed By Liquidity Sweep Areas And Combine with Smart Money Concept Knowledge. We Will Talk about Parameters later on . The robot should be able
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis
Need aggressive M1 gold scalper rewrite of Dev3 + 8 strategies. INPUTS: RiskPercent=3, TP=400, SL=300, MaxTrades=6, Mode=BOTH, DailyProfit 15%, DailyLoss -10% LOT = Balance * RiskPercent / 1000 - works for Cent R350 and $1000. 8 STRATEGIES any true = open instantly, check 1 sec: 1 EMA8/21 cross 2 RSI14 30/70 + engulf 3 Engulfing candle 4 BB 20,2 breakout 5 FVG grab M1 6 M5 trend + M1 entry 7 Wick rejection >2 8