Hello,
I am a long time user of Tradestation (TS) and EasyLanguage (EL) and have been trading my own automated futures strategies. Looking into trading Forex (not available through TS, although it has the historical datas to test) with MT4 (already have MT4 accounts with brokers).
I have created a strategy in EL that I am not MQL4 litterate enough to code.
My EL code will be integrally available to translate into an EA in MT4. But decribing the strategy and going by steps, you should not need to be EL litterate.
The strategy basics:
* Martingale (yeah, i know...)
* will trade long side and short side on two differents charts and will not have to talk to each other
* Trade multiple pairs (between 4 and 8) at the same time. 1 hour TF. No other EA running on same pair but magic number would still be needed just in case.
* will trade @market at end of a bar (if conditions are met), so basically @open of next bar
* conditions very straight forward (if C - C[1] >= "gap" {input} then sell @ market, reverse for buy side) for first entry after take profit or stop previously reached. Then, if first entry done, add to the position every time a bar closes "gap" down from the previous entry price (for longs) ie averaging down (yeah I know again...). Reverse the process for shorts.
* will of course pyramid into positions (multiple of previous entry #lots, no number of entries limit, number of total lots as an input) and exit all position at a take profit limit order
* average entry price for the whole position will be #lots affected of course, as lots increase every new position taken in the same initial position
* will have a stop loss (position based, $) based on pair traded, and a take profit "target" {input} from the VWAP of the whole position.
* will have a portfolio stop
* If target or stop hit, then restart to point 5 above.
Inputs that have to be tested/changed will be:
gap(pips), target(pips), stop($), start#lot(ex: 0.10),fact#lot(ex: 1.50), mart(0 or 1); portfstop(xx% of portfolio value with open positions P&L)
"mart" is a number that is used to test/trade which increase in the number of lots we use:
if mart = 0 then {add to previous position #lots} #lotsposition2 = #lotsposition1 + fact#lot
if mart = 1 then {multiply from previous position #lots} #lotsposition2 = #lotsposition1 x fact#lot
I attach a snap of a EURCHF chart with the system positions. "1000 lots" in TS means 0.01 lots in MT4.
Optionnaly, I'd like to have a code for an indicator that shows on a chart the average price of a position (white dots on my chart) and its target price (blue dots on my chart).
I hope I have explained simply and clearly the concepts. Of course, as said, my working EL code will be available. And we will have to clear out together all misunderstandings concerning the startegy behaviour before you start coding so you will not have to get back to previous code that would need re-writing to cater for misunderstandings or new features from my side. Been there, done that ;-)
Thank you for reading. Hope to work together.
Pedidos semelhantes
Description: I have a fully functioning Expert Advisor (.mq5) that trades a breakout strategy based on 2-hour session boxes. The EA works perfectly and has already been live-tested. Now, I want to create a data-gathering/analyzer version of this EA to help me validate and analyze strategy performance over historical data. This new EA should not place real trades, but instead simulate the exact same logic and track
Hallo, I have a composite indicator. It consists of seven separate indicators working in histogram mode. It works in the basic and higher time zones. When it works, you need to put this composite indicator, plus the seven separate ones that it is composed of, in the "indicators" folder. It generates an arrow on the chart on entry. I need to make an EA that makes an entry at the exact moment where the arrow is
I’m looking for an experienced MT5 developer or trader who can teach me how to backtest correctly. I want to learn: - Manual strategy testing using the Strategy Tester - Optimization and using .set files - Data quality, delays, spreads, and modeling settings - How to interpret the backtest report - Tips to avoid fake results or overfitting I prefer 1-on-1 via Zoom or screen sharing. Spanish/English is fine
Everything is based on ATR . Additional Filter requirements : - Needs Session Filter . ( please have the session filter already ) let me have a look ,[send an image of it while applying] - News Filter . ( having news and session filter already ready will aid ) - Minor changes to some of the input parameters
The EA needs to understand the true drivers of EUR/USD - These are deeper than just interest rates or economic reports: • Eurozone Bond Spreads: Watch the Germany 10Y Bund vs. US 10Y Treasury. A narrowing spread typically strengthens EUR. • Dollar Liquidity Cycles: Fed repo/reverse repo operations, swap lines, and FX swap markets offer clues about dollar demand. • ECB Tone Shifts: Pay attention to subtle shifts in
Hello Great developer I want to program indicator system contain more than one indicator and I can switch between them or show or hide them by buttons out on the screen. The indicator is easy like fractal drawing arrows in the high and the low but with different inputs. And after drawing fractal arrows I want option to connect them with line like zigzag indicator. I want also to change candles colors in different
Hello developers, I would like to create a professional Expert Advisor (EA) for trading XAU/USD (Gold) based on strict risk-control logic and smart filters. The EA must follow these core rules and features: 1. Trade only XAU/USD on M15/H1 timeframes 2. Max 2 trades per day (only in fully confirmed, safe conditions) 3. Lot size = 1.00 (fixed) 4. Only trade when ALL of the following filters are confirmed: -
What I Need: I'm looking for a developer who can build a fully automated Forex AI Scalping & Compounding Robot , based solely on reference videos. I don’t have any personal strategy or technical input — just several videos that showcase how scalping-based compounding systems gradually grow small accounts into large balances. 👉 The "$100 to $4000" example is simply to illustrate the vision — the core idea is to start
A Propfirm bot for passing challenges and after completed manage the accounts which makes 1% every day minimum maximum of 4% Drawdown each day Its not matter in which symbol. And to have the choice it stops automatic at 10% profit made for the challange no overnight and weekend holdings and choosable account balance to choose for choosing the right lotsize automatic every trafe with a tp and sl and if its in profit a
Hi programmers! If you’ve ever built a * profitable EA (Expert Advisor) robot * , you may come through — I’m actively looking for one with * proven performance * , fast execution, and strong * risk management * . It should be capable of flipping * small accounts * , especially trading * Gold (XAUUSD) * , and work well on most brokers — whether on * PC or mobile * . Feel free to share your EA along with real or