I need an EA based on a simple Heiken Ashi indicator.
Trades should simply be triggered by Heiken Ashi COLOUR changes.
Buy order: Every time HA candle changes colour to the default Bull candle colour, for example Lime Green.
Exit buy order: Whenever HA candle changes colour to the default Bear candle colour.
Sell order: Every time HA candle changes colour to the default Bear candle colour, for example Red.
Exit buy order: Whenever HA candle changes colour to the default Bull candle colour (Lime Green) for example.

Note: I understand that the candle may change colour many times, the EA should take action accordingly each time the colour changes, i.e. buy when the new signal candle turns GREEN, but if the same candle turns back to RED, EA should automatically close the buy order and then place a sell order. If that same candle still turns GREEN again, that sell order should be closed and a buy order should be opened. Basically, the COLOURS control the trades.
In the picture above where the blue arrow is pointing, the GRREN candle was a buy signal following the last RED candle, indicating the end of bearish trend and the beginning of a bullish trend. However, market later decided to resume the down trend, and one of 2 scenarios could apply.
1. That GREEN candle could turn RED and the bearish continues, this was not the case shown in the picture above. For this scenario, the EA should take the following 3 actions;
a. Action 1 - When the GREEN candle first appears, the GREEN candle closes the existing sell order which was opened at the top where the red arrow is pointing. (Use option for Opposite signal close orders, in the parameters)
b. Action 2 – The GREEN candle immediately opens a buy order.
c. Action 3 - When the GREEN candle turns RED, close the buy order and immediately open a sell order. Then the downward trend continues, otherwise repeat the process.
2. The GREEN candle remains GREEN until it closes, and it is followed by a RED candle, this was the case in the picture above. For this scenario, the EA should take the following 2 actions;
a. Action 1 - When the RED candle appears next to the GREEN candle, the RED candle closes the buy order opened by the GREEN candle.
b. Action 2 - RED candle immediately opens a sell order.
I understand that a candle may change colour many times and many small losses may occur, but that is tolerable. I intend to use longer TF to manage that situation.
Parameters:
Lot type: Option between fixed and MM
Take Profit
Stop Loss
Trailing Profit
Other profit/loss money management
Magic Number
Max Spread
Slippage
Option: Close by opposite signal
Then add all other parameters as you consider necessary.
비슷한 주문
//+------------------------------------------------------------------+ //| EA: Execution & Risk Manager v1 (MT4 / MQL4) | //| - Time window (Greece time via offset) | //| - Max trades/day, max loss trades/day | //| - Optional: one trade at a time | //| - Auto SL/TP (RR), break-even, trailing
I am looking to hire an experienced MQL5 developer to build a new MT5 Expert Advisor from scratch. I am currently working on strategy research and backtesting and now need a professional developer to convert my trading logic into a stable and well-structured EA. The EA must be suitable for long-term backtesting and live trading, with proper risk management and adjustable input parameters. Full strategy details and
i have an exper advisor in ex4 ...want to convert it to mq4 or mq5 file this is ea was created thru a programmer and received only ex4 file....that time i was new so did not know about mq4 file. of if anyone can help me to replicate this ea to mq4 or mq5
//+------------------------------------------------------------------+ //| Vinh_TradeCode.mq5 | //| BTC Double Bottom / Double Top EA (MT5 - MQL5) | //+------------------------------------------------------------------+ #property strict #property version "1.01" #include <Trade/Trade.mqh> CTrade trade; //==================== INPUT ==================== input long MagicNumber =
I need to create an MT5 expert advisor that enters and exits based on my custom Fibonacci levels connecting with the proper highs and lows. all details provided in the text document fyi
hello great developer I need help developing an ICT 2022 model indicator and testing it thoroughly to ensure optimal performance and accuracy. Scope of work - Create an ICT 2022 model indicator with specified features. - Conduct repeated tests and strategy tests to refine the indicator. - Implement midnight to 9:30 box high and low range settings. - Include signal settings for major liquidity and structure break with
I need someone to build an easy bot for me. Whenever the candle closes outside a particular horizonal line I will put on my mt5 chart then immediately after the candle close there will be an instant execution trade after the close of the candle and the sl will be at the current last low or high below or above for buy or sell. I will have a place where I will input the amount to be risked by one pair. For instance in
Buscamos un desarrollador experto en MQL5 (MetaTrader 5) para crear un Expert Advisor (EA) profesional , completamente autónomo, seguro y escalable, con entradas y salidas automáticas , backtesting integrado y panel de control paramétrico . El EA será de propiedad intelectual exclusiva del cliente y deberá diseñarse desde el inicio para ampliaciones futuras (nuevas estrategias, multi-par, integración con Python /
Core Requirements: Two selectable timeframes - dropdown inputs to choose from M1, M5, M15, H1, H4, D1, W1, MN1 Timeframe 1 = Chart's own timeframe (if chart is M5, TF1 should be M5) Timeframe 2 = Higher timeframe for confluence All Ichimoku components displayed for both timeframes: Tenkan-sen Kijun-sen Senkou Span A Senkou Span B Chikou Span Cloud (bullish and bearish) Technical Settings: All buffers accessible for
I need experience developer on mt5, simple strategy and basic inputs on take profit, stoploss closing candle, and average profit, average loss and lot increment and some inputs come to private I will be explain all