Expert Advisor / Button based on Moving Average, Heiken Ashi Smoothed and Fibonacci | MT4

MQL4 Experts

Job finished

Execution time 4 days
Feedback from customer
Behnam delivered in time. The few issues left were solved quick, happy with the work.

Specification

Hello, I need an EA / Button on chart that trades automatic or semi-manual for me.


* Trade opening

-When bar closed above Moving Average and Heiken Ashi Smoothed reversed (red color) towards Moving Average: Take one BUY trade every bar of the selected timeframe. Until HAS reverses again. 

-When bar closed below Moving Average and Heiken Ashi Smoothed reversed (green color) towards Moving Average: Take one SELL trade every bar of the selected timeframe. Until HAS reverses again. 

See example 1*


Note: Only start trading after HAS colorchange is confirmed (which means: closed bar). You only stop trading after HAS colorchange is confirmed (which means: closed bar).


Heiken Ashi Smoothed indicator to use:

link https://www.mql5.com/en/code/7930


Setup:

a) 1 (E)MA (moving average)

b) 1 HAS (Heiken Ashi Smoothed)

c) 1 Trade/Pause Button on chart (When clicked it starts directly the trading according the trading rules, when clicked again it stops directly the trading BUT it handles the still open trades according to the TP and SL rules of that curve)

d) A separate Live Profit/Loss button on chart for every traded HAS curve (When clicked it closes all trades of that HAS curve)

e) Fibonacci lines after a HAS curve is finished (when color of HAS changes)

f) Use Fibo line as TP (0 = disable)

Explanation: when a Fibo value is put in (let’s say 61.8), all trades of the corresponding HAS curve get a serverside TP at the Fibo value, after the curve is finished

g) Stop Loss onder Highest High or Lowest Low of finished HAS curve: false/true. With threshold in points under HH or LL. 

Explanation: when true, the EA places a serverside SL under LL or HH, at LL+threshold or HH+threshold


Step 0

The EA / Button is loaded. Trading starts (default the button is Active, when I click the Trade/Pause button, trading is Paused)


Step 1

Every traded HAS curve gets a number, please make it visible on chart too. 

(If it is complicated to give only the traded HAS curves a number, you can give a number to every HAS curve instead)

See example 2*


Step 2

Give every trade a Comment when opened: <curve nr>.<trade nr> 

If curve 3 has 10 bars, the comments will be: 3.1 for first trade, 3.2 for second trade, 3.3 for third trade, etcetera.


Step 3

Create the separate Live P/L button for the curve, showing the live P/L of that curve. When I click that button: all trades of that curve are closed and the button disappears (as long as no new trades on that curve are opened).

Give this button the following text information in it: curve number + Live P/L of that curve


Step 4a

When HAS curve is finished (color changes) and if SL is selected true: place serverside stop losses for every trade in that curve, at LL+threshold or HH+threshold.

See example 3*


Step 4b

When HAS curve is finished (color changes): draw Fibonacci lines. 

To start with the level of the first trade of that curve, until Lowest Low or Highest High, depending on directions. 

See example 4 how to draw them*


Exception:

In some circumstances it is not possible to draw the Fibonacci lines (see example 5*). 

In that case: all trades of that curve are directly closed at color change (and separate Live button of that curve is removed as well)


Step 5

IF Use Fibo line as TP is selected: Put serverside TP levels at the Fibo value for every trade in the curve

Pay attention here: IF that TP level is reached, the separate Live P/L button of step 3 is removed as well. The curve is finished.


Exception:

Sometimes at the moment of drawing the Fibo, the current price is already above the selected Fibo value for TP (see example 6*).

If Fibo value of TP is already passed: No serverside TP is placed but all trades of that curve are directly closed (and separate Live button of that curve is removed as well)



Other settings:

-lotsize 

-trading times (see screenshot 7)

-size and text of buttons must be editable (see screenshot 8)


Outside trading times the Trade/Pause button is ‘dead’. It can not activate trading.


Responded

1
Developer 1
Rating
(52)
Projects
97
24%
Arbitration
10
20% / 20%
Overdue
12
12%
Working
2
Developer 2
Rating
(14)
Projects
19
11%
Arbitration
1
0% / 100%
Overdue
5
26%
Free
3
Developer 3
Rating
(28)
Projects
40
53%
Arbitration
1
100% / 0%
Overdue
5
13%
Loaded
4
Developer 4
Rating
(253)
Projects
407
38%
Arbitration
85
42% / 19%
Overdue
70
17%
Loaded
5
Developer 5
Rating
(56)
Projects
175
71%
Arbitration
4
100% / 0%
Overdue
1
1%
Free
6
Developer 6
Rating
(13)
Projects
19
16%
Arbitration
0
Overdue
3
16%
Working
7
Developer 7
Rating
(17)
Projects
18
28%
Arbitration
4
50% / 25%
Overdue
1
6%
Working
8
Developer 8
Rating
(563)
Projects
932
47%
Arbitration
301
59% / 25%
Overdue
124
13%
Working
Similar orders
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. Function: To
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
"I need an expert advisor (EA) based on stochastic divergence and candlestick formation. It should be able to identify both hidden and regular divergences. The EA should also include modified risk-reward ratios, modified timeframes, and a trailing stop loss. It is important that the EA is 100% accurate. Once an experienced developer applies, I will share the complete strategy."
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for
I need someone that can make expert advisor for backtesting purpose. The input file is History trade report export file from MQl5 the expert advisor should open position the exact time of open trade on the report. The same as the close time
So i have copier EA. The idea is the EA will triggered through manual OP by user via mobile or whatever platform. Let's say 0.01 lot to trigger it. After the EA takes master's position, the EA will be standby mode. If the master take more OP, the EA still not take the master's position (OP) until the user input manually once again via mobile for another 0.01 lot. Since this is a MT4 EA, Whenever user want to close
Hello, send robot models with a solid strategy (to trade forex), I want to use it to make money for the week. It is important that you present me with your profitability graph and a test. I also want to hire him for future jobs
I am looking to develop an automated trading bot based on a strategy involving the crossing of four Simple Moving Averages (SMA). The bot should be capable of entering trades based on this strategy. Additionally, I would like to incorporate some custom diversions tailored for NinjaTrader
Seeking an experienced MQL5 developer to create a sophisticated Expert Advisor focused on harmonic pattern trading . The EA will be designed to identify and trade based on popular harmonic patterns in the forex market. Entry and Exit Logic: Develop smart entry and exit rules based on pattern completions and price action confirmations. Risk Management: Incorporate adjustable risk-per-trade settings and position sizing

Project information

Budget
30+ USD
VAT (21%): 6.3 USD
Total: 36.3 USD
For the developer
27 USD