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

MQL4 エキスパート

仕事が完了した

実行時間4 日
依頼者からのフィードバック
Behnam delivered in time. The few issues left were solved quick, happy with the work.

指定

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.


応答済み

1
開発者 1
評価
(54)
プロジェクト
102
23%
仲裁
12
25% / 17%
期限切れ
13
13%
暇
2
開発者 2
評価
(14)
プロジェクト
19
11%
仲裁
1
0% / 100%
期限切れ
5
26%
暇
3
開発者 3
評価
(87)
プロジェクト
121
68%
仲裁
5
80% / 0%
期限切れ
12
10%
仕事中
4
開発者 4
評価
(298)
プロジェクト
478
40%
仲裁
105
40% / 24%
期限切れ
82
17%
取り込み中
パブリッシュした人: 2 codes
5
開発者 5
評価
(78)
プロジェクト
246
74%
仲裁
7
100% / 0%
期限切れ
1
0%
暇
パブリッシュした人: 1 article
6
開発者 6
評価
(13)
プロジェクト
21
24%
仲裁
1
100% / 0%
期限切れ
3
14%
暇
7
開発者 7
評価
(19)
プロジェクト
22
23%
仲裁
5
40% / 60%
期限切れ
2
9%
仕事中
8
開発者 8
評価
(574)
プロジェクト
945
47%
仲裁
309
58% / 27%
期限切れ
125
13%
暇
類似した注文
I need a simple MT5 Expert Advisor based on Bollinger Bands. Requirements: Platform: MetaTrader 5 / MQL5 Buy when price closes below the lower Bollinger Band Sell when price closes above the upper Bollinger Band Bollinger period configurable, default 20 Deviation configurable, default 2.0 Fixed lot size configurable Stop Loss configurable Take Profit configurable Maximum one open position per symbol Use completed
Platform: MT5 / MQL5 Buy khi RSI < 30 Sell khi RSI > 70 RSI period configurable, default 14 Fixed lot configurable SL/TP configurable Max 1 position per symbol Completed candles only Configurable Magic Number Deliver .mq5 source Compile without errors/warnings No martingale/grid No profitability guarantee
Trading bot ea 30+ USD
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
MT5 EA make work on zone break and candle confirm. Hi i need one expert person who can make exact what i want. My EA logic very simple.... few hrs market high and low make line then candle body close above or low then candle confirmation then pullback then entry RR1:2 no trail nothing,,,,, the line high low create after few hrs of the day i wll tell you later,,,,then 1hrs no trade if break then no trade for the
Hi, I need an Expert Advisor (EA) for MetaTrader 5, for my IC Markets account. Account MT5, hedging account, type: [Raw Spread / Standard: fill in] Deposit: 100 USD, leverage 1:30, account currency: [USD / EUR: fill in] Instruments Forex (major pairs) and gold (XAUUSD) Strategy and parameters may differ per instrument; each instrument must be tested and optimized separately If an instrument cannot be traded safely
المطلوب موشر لتداول الذهب مجرب وقوية يعطي اشاره قوية فقط مع وقف خساره ومختبر ومجرب في حال الموافقه علي لموشر بعد التجربه لمدة ٣ ايام يتم الشراء دايم مبلغ ٢٠٠ دولار
Masoudahg1 999999+ USD
Hello world, thank you for your helping and supporting for us from your for all everyone that investments or working in this programing and supporting seven/24 hours in daily and nightly for customers
Laily Mahmudy 100000+ USD
Thank you very much and of trying supporting and helping for us and my investfolio portfolio id is:"investfolio portfolio masoudahg1 id is":"7Zk0iVh7zuytHkQ9OJSzeY" &"35VmgKWofZxWowQ7O6CL8K" https://leylimahmudi46.atlassian.net is my Atlassian programing that when I working of this programs
Hi there I need someone who will create an ea then test it .. the ea should only place order on the bid price of it breakout in 1 point using invisible buy and invisible sell,, example if bid breakout in 1 point up automatically invisible buy active then invisible stop loss at where the ask price was same in sell If the bid breakout in 1 point down automatically invisible sell active then invisible stop loss where
I’m looking for an experienced MT5/MQL5 freelancer to help install and configure several existing EAs on IC Markets MT5 accounts using a Windows VPS. The work will include setting up the EAs on separate demo accounts and later running several together on one account with different risk settings. I also need help with MT5 backtesting and strategy optimisation, including comparing different risk levels and reviewing

プロジェクト情報

予算
30+ USD