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.
비슷한 주문
Hi everyone, I’m currently working on a private automated trading software designed specifically for XAUUSD (Gold) . This is not a signal service and not a high-frequency robot. The focus is on controlled risk, patience, and capital protection . Key points (shared briefly, not promotional): Trades one cycle at a time (no overtrading) Uses pure price behavior (no EMA, no indicators) Built-in break even and trailing
This project is based on an existing EA that trail behind. 1. Their is an issue with trailing based on lotsize This should be corrected current EA has 784 lines Error When option Enable Automatic Lot scaling is used, the trailing does not work correctly. Lotscaling is done through another EA. The EA does not trail then correctly anymore. 2. The corrected EA should also be migrated to MT 4 My standard terms of
Hello, My budget is $35 I have a range breakout expert advisor MetaTrader 5 platform that includes seven profiles, each with its own settings entered within the expert advisor's code. Each profile has its own operating method for a specific symbol, such as start time, end time, close time, risk percentage, take-profit, stop-loss, etc First option TRUE/FALSE for each profile For example, I conducted a one-month test
hello Hi, I want to develop an EA that replicates the logic of a bot I’m currently watching on a live account. The bot has grown an account from $500 to $60k in 3 weeks using a specific 'Buy Stop/Sell Stop' strategy with 0.03 lots. I have the Investor Password and Trade History. Can you analyze the execution patterns and build a replica for me? Let me know your experience with this kind of task. message me for
I need a custom MT5 Expert Advisor + small backend bridge. The EA must: trade ONLY pending orders (BUY STOP / SELL STOP) support dual-trigger logic (one cancels the other) support fixed SL/TP, time-decay cancel, TP1 → BE communicate with a backend via HTTP (WebRequest) The backend: receives market snapshots from MT5 calls OpenAI API returns a structured JSON signal (numbers only) No strategy design needed – logic and
hello I want Semi EA developer who knows deep about martingale ,program and understand the market . MQL5 → Freelance → Search Keywords: Semi EA , Trade Manager , Manual Trade EA DM 3–5 devs directly Upwork Search: MT5 trade manager Invite only (private job) Telegram Groups: MQL5 Developers MT4 MT5 Coders
Hi I would like to create an ea that close order when: 1.The price touch the middle trend line(true/false option) 2.close buy order when trend line color change to red. Close sell order when trend line color change to blue. (True /false option)
Hello, I would like to work with a developer that has successfully done this before. The First deliverable will be a strategic roadmap with estimated costs with the Second deliverable Phase Two coding, test and deployment. The goal is to deploy into Prop Firm Challenges (FTMO) and manage funded accounts. Price listed is for Phase One only. Requirements of the roadmap / finished project are as follows: 1. An EA (or
Description: I’m looking for an experienced NinjaTrader developer to create a custom trading bot based on my 5-minute Opening Range Breakout/Breakdown (ORB) strategy and integrate it with an existing Pine Script bot. Project Scope: Step 1: Develop the ORB strategy on NinjaTrader: Entry: LONG if first 15-min candle closes ≥ OR_high + 0.5; SHORT if ≤ OR_low - 0.5 Stop Loss: LONG → OR_low - 1.5; SHORT → OR_high + 1.5
hello i need a ready made bot for future What’s the rate for your bot And what’s the rate for my add ons to the bot ? Can I try your demo on sim for a week? Because if you have one I’ll just use that an manually trade when I want to my way because my strategy involves My bot Ict and smart money concept Orb Indicators Like this