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.
비슷한 주문
I need a fully-automated Expert Advisor coded in MQL5 for MetaTrader 5 that follows market trends using ICT and Smart Money Concepts. The logic will rely on elements such as market structure shifts, order blocks, liquidity grabs and fair-value gaps rather than standard indicators like Moving Averages or RSI. I will share my exact entry, exit and filtering rules once we start, but please be comfortable translating
I need an Expert Advisor based on AOX signals. It must have check and handling of trade operations errors. The main criteria for opening and closing a position: moving average direction the price is higher than the previous bar. Trade lots is an input parameter
Current behavior: • The EA opens an initial position (Buy or Sell) with SL and TP. • If price goes against it (10/20/30 pips), opposite positions are opened (hedging). • Only the first position has SL and TP. • When the first position hits SL or TP, all positions are closed at once. • Because of gold slippage and execution delay, this sometimes causes 10–20 pips extra loss. What I need: 1. Every opened position
//+------------------------------------------------------------------+ //| INDICES SCALPING BOT | //+------------------------------------------------------------------+ #property strict input double RiskPercent = 4.0; input int EMAtrend = 50; input int EMAPullback = 20; input int RSIPeriod = 14; input double ATRMultiplierSL = 3.0; input double ATRMultiplierTP = 2.5; double LotSize(double
I am looking for a bot that has been created and tested and confirmed profitable in a live market for Gold. The bot must be profitable and have a low drawdown. The developer will send a demo EA which I can test for myself. I am looking for more of a partnership with an experienced developer. Please no EA on demo accounts. The EA must be verifiable on real account
I am looking for a bot that has been created and tested and confirmed profitable in a live market for Gold. The bot must be profitable and be verifiable on real account and have a low drawdown. The developer will send a demo of the EA which I can test for myself. I am looking for more of an experienced developer. Please no EA on demo account
📌 Development Request – AI Precision Enhancement I would like to clarify my request clearly and precisely. The current trading strategy is strong, stable, and effective , and I do not want to modify or replace the core strategy logic in any way . The goal is only to enhance entry and exit precision , not to redesign the system. ✅ Scope of Work (Required) Please keep the existing strategy exactly as it is , and add
Are you looking for a professional and reliable MT5 Trading Bot (Expert Advisor)? I will develop a custom MT5 EMA Crossover EA based on a proven scalping strategy. 🚀 Strategy Features: ✔ 5 EMA & 9 EMA crossover entries ✔ Buy Stop / Sell Stop pending orders ✔ Fixed lot size (0.01 – no martingale) ✔ Configurable stop loss & entry distance ✔ Pending orders auto-expire after 10 seconds ✔ Works on M1 timeframe ✔ Clean
Hi, I’m looking for someone with real Build Alpha experience to help set up an index-trading ruleset inside Build Alpha. Important: This work cannot be done without full access to Build Alpha . You must already own a Build Alpha licence and actively use the platform. Please do not apply if you do not currently have Build Alpha. What needs to be set up in Build Alpha 1. Session and Time Rules • Fixed GMT trading
Fix and optimize an existing Bybit trading bot so the profit target closes and reopens trades continuously (accumulation cycle) , while the withdrawal threshold pauses the bot, converts funds, withdraws profit, resets accumulation, and resumes trading . Current issue: the bot stops after hitting profit , which must be corrected. Demo video required after completion