2 TF Heiken Ashi EA, with trailing stop

MQL4 Эксперты

Работа завершена

Время выполнения 2 дня

Техническое задание

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.


Откликнулись

1
Разработчик 1
Оценка
(66)
Проекты
200
72%
Арбитраж
4
100% / 0%
Просрочено
1
1%
Свободен
2
Разработчик 2
Оценка
(383)
Проекты
406
31%
Арбитраж
64
19% / 69%
Просрочено
52
13%
Загружен
3
Разработчик 3
Оценка
(7)
Проекты
14
21%
Арбитраж
1
0% / 100%
Просрочено
3
21%
Свободен
4
Разработчик 4
Оценка
(1)
Проекты
2
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
5
Разработчик 5
Оценка
(258)
Проекты
460
35%
Арбитраж
57
37% / 37%
Просрочено
168
37%
Работает
6
Разработчик 6
Оценка
(10)
Проекты
17
24%
Арбитраж
3
67% / 33%
Просрочено
2
12%
Свободен
7
Разработчик 7
Оценка
(36)
Проекты
45
2%
Арбитраж
6
33% / 17%
Просрочено
1
2%
Свободен
Похожие заказы
i need someone to help me take 6 pieces of code from this script and simplify it into a new code .. . note this project is needed urgently in 2 to 5
Man on mayhem 30 - 100 USD
1. The idea of the trading system is as follows: market entries are performed when MACD's main and signal lines intersect in the current trend direction. 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is below
We need an Expert Advisor for MetaTrader 5 that will be simply based on Rsi, chart patterns and price levels (e.g 2366,250)… Basically when the robot notices a chart pattern, for example “double top/M pattern” it enters a trade based on confirmation from Rsi & price level and the stop loss is moved to the entry price…That is all. The expert advisor is only for Xauusd/Gold…The expert advisor should target 10 pips
Hi, Expert should be Brazilian. I need the scalping ea for xauusd, usdjpy, AUDUSD, eurusd, gbpusd, nzdusd, uascad and usdchf with any strategy. But don't use buy limit in down trend and sell limit in sell trend. I need the profit with 0.5 usd minimum per trade
Hello, I am looking for an experience MQL5 coder who can help me automate my trading strategy. Since this is an advanced coding so I would appreciate if only an experienced coder reaches out. I have attached a word doc of strategy, if you think you can build it then do let me know. Thanks, Sadaquat
Grid hedging ea 30+ USD
I Need A Hedging Ea With Daily 2% of returns. I might think that ea work consistently. hedging Is The only Way To Make A Profit. That ea work in 1:200 Leverage and lot size is starting from 0.01
Project Description: I am looking for an experienced MQL5 developer to program an advanced trading robot for MetaTrader 5. This robot should integrate multiple modules for trend management, entry optimization, and risk management. It must also include an interactive dashboard and an automatic order suspension system based on volatility and economic news releases. The project requires expertise with ATR, ADX
Project Description: Mini Trading Platform - Integration with Interactive Brokers Overview: The idea is to develop a mini trading platform that serves as an intermediary between investors and Interactive Brokers . Each user will have a dedicated account within the platform, where they can access their personal investment portfolio. The platform will execute buy and sell orders automatically via Interactive Brokers
1. The idea of the trading system is as follows : markets entries are performed when the liquidity is grabbed or when a supply or demand is being touched. 2. Trend? There's no trend specified because this EA is based on liquidity and supply and demand. 3. Trading Signals : Buy Signal: EnterBuyMarket when price closes above the 5 period EMA (This EMA must be a parameter) after the liquidity has been grabbed or when a
Looking for a programmer that can adapt a range of technical indicators from Tradingview to work simultaneously for MT5. All the indicators must trigger simultaneously for a trade entry execution to be automatically entered. Considerations include the lot sizes, scaling in and out of the trade, entering and exiting the trade, setting of TP AND SL in relation to multiples (variable field) of ATR. Variable fields

Информация о проекте

Бюджет
60+ USD
Исполнителю
54 USD
Сроки выполнения
от 1 до 3 дн.