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.
비슷한 주문
Tuyển dụng chuyên gia MQL4 để tối ưu hóa và hoàn thiện hệ thống giao dịch tự động (EA) I. Tổng quan Tôi đang tìm kiếm một nhà phát triển MQL4 giàu kinh nghiệm để tinh chỉnh, tối ưu hóa và hoàn thiện một Expert Advisor (EA) được thiết kế riêng cho nền tảng MetaTrader 4 (MT4). Logic cốt lõi đã được phát triển; mục tiêu chính là nâng cao hiệu suất và đảm bảo tính ổn định sẵn sàng cho môi trường sản xuất. II. Yêu cầu kỹ
The EA should only set TP and SL( Both Optional, We can set one at the time or no one at the same time or both active at the same time) 1. We active trade ourself , But in The EA this should ask if what the the TP and SL in form of USD we need. We'll put the Exact Required profit and or loss. This EA should calculate and set the tps and Sls itself to all the trades, and when we change the USD profit from info meter
Hello, I am looking for a trading idea, Expert Advisor (EA), or signal service that can achieve around 10% monthly profit (or close to it) in a realistic and consistent manner. 🔹 Very Important : Before any discussion or explanation, you must provide solid and verifiable proof of performance. The proof must be available on one of the following platforms: SignalStart MQL5 Myfxbook ❌ Backtests are NOT accepted and are
Hi, I want to build a trading robot specifically for passing a prop firm challenge. The EA should focus on strict risk management, low drawdown, and consistency suitable for prop firm rules. My current budget for this project is $30. Please let me know what is achievable within this budget and the strategy you recommend
Indicator Simple Moving Averages and Exponential Moving Average BUY SIGNALS SMA 7 High Crosses Above 20 EMA= LIME color Buy Signal at the low of next candle. SMA 7 High Crosses above 40 EMA= BLUE color Buy Signal at low of next candle. SMA 7 High Crossed above 200 EMA= YELLOW Color buy signal at the low of next candle. SELL SIGNALS SMA 7 Low Crosses below 20 Ema= LIME color Sell Signal at the high of next candle. SMA
hello great developer im looking for trade copier I want to tell me more about the features, returns, risks and scalability I think you can tell me the best platform to use for effective results. I also want to know whether it's automated, daily/weekly/monthly returns (profit) and monthly drawdown
WILL PROVIDE MORE DETAILS IN CHAT ... THE EA The EA executes (places trades)? The EA exits (closes trades)? The EA expired ? Or something else? Please provide more details: Which platform? ( MetaTrader 5 or MetaTrader 4 ) What exactly is happening? (error message, no trades, wrong trades, etc.) Broker name? Symbol (like XAUUSD, XAUUSD+, etc.) Send the exact message or screenshot text and I’ll fix it step-by-step
I'm seeking an experienced developer to improve my current, complex MQL4 Expert Advisor. The primary focus of this project is to incorporate new trading strategies and rectify issues related to inaccurate trade execution. Key Responsibilities: - Integrate new trading strategies into the Expert Advisor. - Diagnose and fix issues causing inaccurate trade execution. - Potentially optimize the performance of the Expert
I trade manually on M1 chart (XAUUSD) with fractals and alligator. When there is a price break on fractal (or some fractals that form a price level) or a price level created by multiple candles spikes, I enter 2 trades (0.02 lots), and 2 trades (0.04 lots). If I go in profit (5/10€), I close in profit. But if I go in loss with DD, at this point starts the management: every price level (important level) created by
99.99% signal accuracy 10-15 trades distribution all currency trade and meta AI assistance on loss[advice] stop and start robot cyber security firewall protection activation code: 20060605TLP20 Please create a trading bot with any logo with the name elevation