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.
Similar orders
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 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 Need a robot UT BOT, STC indicator with trailing SL and account locking system for Gold. And developer need to contact me Name : Muthu Telegram : @Muthu49592423 plaese contact directly
very simple formula 2 trade buy 2 trade sell tp hit or sl and sl use martangle (sum of loss x 2 or input given same martangle for tp side i will more explain
Hi; I need a trading robot following a self discovered trading strategy. I'm not familiar with programming, but I will put a description in Latin and English text to better clarify. The formula is linechart based , involves support and resistance and trend lines
US100Cash (Nasdaq 100) M5 chart and the current SELL setup,Stop Loss and Take Profit levels. --- 🔻 SELL Trade Plan (Short Position) ✅ Entry: Sell near 23195–23200 (current level is within this zone). --- 📍 Stop Loss (SL): Place above recent resistance, where price was rejected. 🔺 Stop Loss: 23260 (Above the recent swing high — gives the trade breathing room) --- 🎯 Take Profit (TP): Use recent support levels as
I want a full EA (robot) based on that logic, not just an indicator. alpari SL and TP based on ATR - Risk % based on balance - Only 1 trade at a time - Optional trailing stop - Time filter (e.g. only trade 6:30 to 9:00 ASIA) - Clean .mq5 file for MT5
I want to create a Multitimeframe EA using daily,hourly,15min,5min and 1 min timeframe ,50 sma and rsi overbought/oversold on candle ID 4 ,3 white soldiers or 3 black cows on candle ID 1,2,3. Buy criteria:Daily close ID 1>50 sma,H1 candle id 1>50sma ,15 mins candle id 1 < 50 sma,5 min candle candle id 1 <50 sma,m1 candle id 4 close<30 rsi level obersold area,m1 candle id 3 Bullish,m1 candle id 2 Bullish,m1 candle id