2 TF Heiken Ashi EA, with trailing stop

MQL4 Experts

Trabalho concluído

Tempo de execução 2 dias

Termos de Referência

I'd like an MT4 EA created using a 2 time frame heiken ashi smoothed chart as baseline.  In the simplest terms, I want to take one trade at the close of a bar, that is contrary/inverse to the two-time-frame heiken ashi candles. So if the trend of TF1 and TF2 HA candles are both up, and the actual close price < open price then it would place a buy order, and visa versa for down TF1/TF2 HA bars.

I'd like it to open multiple total orders, in the same trade direction, but only one trade per new bar close.  

As far as SL/TP, I'd really like to have a trailing stop activated, based on the price movement during that bar.  I'm trying to catch a price surge.  So if the lastprice(bid/ask) is x# of pips from the bar open, a trailing stop would be activated.  The standard trailing stop movement of MT4 is fine.  I'm with a US broker, so I think putting the trailing stop on one open order, puts it on all, which is what I want.  So for a long position, it'd have this general logic.  "If positionprofit>0 and lastpbid>open+.0015, then activate trailingstop at bid - .0002".     The input variables for that would be like::::     Bar_Move : .00150, and TS_Start: .00020 

I did have someone do a job for me on here and while using an EA builder is fine, please just do the code to accomplish these things.  The job that person did had over 10,000 lines of code, most of it not needed.  And I do like to play with the code, so just try and keep it simple and clean to get the job done. thanks.  

I think that is pretty straightforward, but please message me if anything unclear.    I am on a 5 digit broker if that matters, and assume both mql and ex4 file will be included.

Here is a summary:

  1. EA for MT4, based on 2 time frame SMOOTHED Heiken Ashi, TF1(M15),TF2(H4) is ok to start
  2. TF1 & TF2 agree, to set trend, Place 1 order when the bar close is inverse of trend. .
  3. Multiple open entries in the same direction
  4. SL/TP - I don't normally do automatic SL/TP, so this is mostly for testing/optimizing)
  5. Trailing Stop Trigger - If the price moves x# of pips during the current bar, and the total position profit is positive, activate a trailing SL for all open orders on that chart.

Inputs:  This is my best guess of inputs, use whatever names you want and just add any others you think necessary. 

  • Ma Method1: 2
  • Ma Period1: 3
  • MA Method2: 2
  • MA Period2: 6
  • TF1: M15
  • TF2: H1
  • Lot: .01 
  • Maximum_Spread: 3    (Want to filter out wide spread events, so if the spread is move then this, do not take the trade)
  • SL: 0                      (don't use much, but good to have for testing)
  • TP: 0              (same)
  • Trailing_Stop_Move: 10 (if the last bid/ask is more than this number of pips away from the current bar open price, and the open account profit>0, activate a trailing stop for all open orders on the chart. Maybe a 0 will make the TS not active)
  • Trailing_Stop: 3     (this will be the starting point for the trailing stop, Pips away from the current price)  The trailing stop can move at the minimum increments after activation.


Respondido

1
Desenvolvedor 1
Classificação
(77)
Projetos
241
73%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
2
Desenvolvedor 2
Classificação
(390)
Projetos
416
30%
Arbitragem
74
19% / 70%
Expirado
52
13%
Trabalhando
3
Desenvolvedor 3
Classificação
(7)
Projetos
14
21%
Arbitragem
1
0% / 100%
Expirado
3
21%
Livre
4
Desenvolvedor 4
Classificação
(1)
Projetos
2
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(305)
Projetos
548
35%
Arbitragem
79
32% / 42%
Expirado
197
36%
Carregado
6
Desenvolvedor 6
Classificação
(11)
Projetos
18
28%
Arbitragem
4
50% / 50%
Expirado
1
6%
Livre
7
Desenvolvedor 7
Classificação
(36)
Projetos
45
2%
Arbitragem
6
33% / 17%
Expirado
1
2%
Livre
Pedidos semelhantes
Need to create an MT5 EA based on break out strategy. This will be all in one EA including daily breakout, hourly breakout, support and resistance breakout, pivot breakout, super trend break out, moving average breakout. Extra features include TP, SL, breakeven, notifications, dashboard
Forex Time: 7am to 10am (Can trade up until 11:45am)(enter around 10am) Indicator: prev day indicator by electrified Strategy is based off Wondafx profitable ftmo strategy. Search it up on Youtube before you apply. Currency Pairs: EURUSD AND GBPUSD Criteria for entry: Stop hunt, three levels of rise and fall, max 100 pip distance and three candle formation Time frame: 15 min Risk reward: 1:2 Max 1 trade a day Trade 1
Looking for an MT5 developer to build an automated trading bot that executes trades based on indicator signals. The bot should support flexible inputs, work across Forex, commodities, and crypto, and allow basic configuration options. If you're experienced with MT5 EAs and indicator integration, please reach out
Company is looking for a reliable trading strategy for long-term use. We are only interested in algorithmic systems with logical and transparent entry/exit reasoning. Critical Condition: The use of any form of Martingale , Grid , averaging , or " sitting out " losses is strictly prohibited. Every trade must be accompanied by a fixed or calculated Stop Loss. Requirements for the Proposal: 1. Delivery Format: Full
need an trading expert advisor with full source code for supporting any timeframe, based on multiple indicator and condition (can be imported or built in), Requirment- EA must protected by password or Account number or date-time limit indicator used- EMA, SUPER TREND, VWAP, ATR ( maybe add more) optimized for high number of trading at a time one or more trade (custom number or till limit) fast execution
🔹 Project Description I need a very simple MT4 (MQL4) Expert Advisor to be used on a DEMO account . Main Purpose: When enabled, the EA must prevent opening any NEW trades , while allowing existing open trades to be managed and closed normally . Required Behavior: Do NOT close any open trades. Do NOT modify TP or SL. Prevent opening of: New initial trades New trade cycles Existing trades must continue until they
We are looking to acquire an existing, profitable EA that trades using price action–based logic . The EA must operate as a day-trading system with proper Stop Loss and Take Profit , and must NOT use grid, martingale, or high-frequency scalping . This is a buyout request — we want to purchase the complete strategy along with the full source code . We are not looking to develop a new EA from scratch. Therefore, if you
I want a reliable and broker-independent copy-trading solution that copies trades from a master MT5 account to multiple MT4 and/or MT5 client accounts. The system is designed for stable live trading and works with any broker, handling common differences in symbols, pricing, and execution. The copier supports full trade synchronization, including trade opening, closing, partial closes, and SL/TP modifications, with
EA for mt4 30+ USD
I'm looking for an experience developer that can help develop an EA based Strategy below into EA itself no issues if used martingale & fix lot . Symbol: XAUUSD i will explain to the developer more datils before doing the EA. i will send the indicator and the set point. 1- indicator extreme 2- stochastic Oscillator can you add lots of features to your EA which will be so much useful such as 1- Trailing stop 2-Break
Looking for an ea that pass prop firm accounts. Can be any instrument forex or indices. Proof must be provided either with an account it’s running on or a trial period EA. No screenshots

Informações sobre o projeto

Orçamento
60+ USD
Prazo
de 1 para 3 dias