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 would like to create my own robot to actually help my family with their financial problems and also learn how to use money wisely and I have a. Experience with trading and I can be able to own my own robot for long-term
Hello developers. I would like to write an Expert Advisor (EA) for MT4 based on the RSI indicator. -Conditions for placing a buy order: when the RSI indicator shows a buy signal with divergence, the CCI indicator is less than -100, and the lowest price is below the lower Bollinger Band. - Conditions for placing a sell order: when the RSI indicator shows a sell signal with divergence . The CCI indicator is greater
Hi, I'm contacting/hired to inquire about the possibility of creating an expert advisor dashboard scanner for MT5. The scanner already exists, but the current developer can't add sound notifications. I also need additional custom options. I'll leave you the link to the sample scanner. https://www.mql5.com/it/market/product/137093?source=External I need the scanner for "Sweep and close" candles with a custom alert
Project Title: MT5 Algo Trading EA (Single Strategy + License Panel + Ownership + Manual Trade) --- Project Description I am looking for an experienced MT5 (MQL5) developer to create a clean, stable and professional Algo Trading EA for my company and future clients. This is a long-term business project, not a one-time personal EA. --- 1. Strategy Requirements - Only 1 single trading strategy - No martingale - No grid
I have an existing indicator- but may need some source code adjustment to make it into an EA. Attached source file, mql file and set file. All 6 filters need to be on 'TRUE' to check if the EA works correctly
Hi, I have an EA, which places limit orders only by reading the text files in common folder (in a specific format) I need to make some updates in the EA: 1. Limit to Market Entry Adjustment: True/False · By default, when placing a buy limit order, if the current price, is below the limit price mentioned in the file, the order gets triggered as market entry. · By enabling the above option as True, it
write me a fast eurusd and btc scalping robot using ema trend filter m1 and m5 entries lowspread check, less trades, strict risk management fixed tp/sl ssesion filter and tick based exists
need an MT5 Expert Advisor for XAUUSD. The EA logic is based on Asian session range and London continuation. Main rules: 1. Asian session - User-defined start and end time - Calculate Asian High and Low - Calculate Asian range 2. Quality filter - Trade only if Asian range is between minimum and maximum values (inputs) 3. Entry - One trade setup per day - If BUY bias: Place Buy Limit at Asian Low minus buffer - If
I want to create an intraday EA designed to trade RSI pullbacks in the direction of the dominant trend during sufficient volatility, scales out profits, and automatically stands aside when market conditions stop supporting its edge. It should have the following features and are based on the following indicators: Trade FX on M15 Enter based on RSI, EMA and ATR Scale out profits using a multi-TP structure Trade only
I need a marketer who can actively sell my MetaTrader EA and generate real purchases. Offer Upfront: $50 (to start work immediately) Commission: 30% per sale on NET price (after payment processor/platform fees; VAT/taxes excluded) Commission is paid only on verified sales tracked through unique links/coupons. Your Job (what “SELL” means here) You must: Bring targeted buyers (traders, forex/crypto communities