MACD Sample Expert Advisor

İş Gereklilikleri

1. The idea of the trading system is as follows: market entries are performed when MACD's main and signal lines intersect in the current trend direction.

2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is below the previous one, the trend is considered to be falling (ema_current< ema_previous).

3. Trading Signals:

  • Buy signal: the main MACD line crosses the signal line upwards (macd_current>signal_current && macd_previous<signal_previous).
  • Sell signal: the main MACD line crosses the signal line downwards (macd_current<signal_current && macd_previous>signal_previous). The below figure shows Buy and Sell cases.

4. Positions are closed at opposite signals: Buy positions are closed at Sell signals, and Sell positions are closed at Buy signals.

5. Positions are opened at the market price, when a new bar emerges. The Expert Advisor is to be tested using Open prices, so there is no need to add functions for disabling operations inside the bar.

6. Additional filters for opening a position:

The absolute value of MACD's main line will be used to filter out weak signals: the signal is only confirmed if this value is greater than open_level (in points). Signal confirmation conditions are as follows:

  • Confirmation of a buy signal: Abs(macd_current)>open_level
  • Confirmation of a sell signal: macd_current>open_level

7. Additional filters for closing a position:

The absolute value of MACD's main line will also be used to confirm position closure: the signal is confirmed if this value is greater than close_level (in points). Close signal confirmation conditions are as follows:

  • Confirmation to close Buy positions — macd_current>close_level
  • Confirmation to close Sell positions — Abs(macd_current)>close_level

8. Close by Take Profit — during position opening, a Take Profit level is set at a fixed distance from the open price, specified in points. The value is set in the InpTakeProfit input parameter.

9. Position management

TrailngStop is used to protect profit. Stop Loss is set if profit in points exceeds the value specified in the InpTrailingStop parameter. If the price continues to move in the profit direction, Stop Loss should be trailed at the given distance. Stop Loss cannot be moved towards the loss direction, i.e. the Stop Loss value cannot be increased. If none of protective orders (Take Profit or Stop Loss) triggers, the position should be closed by an opposite signal. No other position exit methods are available.



Yanıtlandı

1
Geliştirici 1
Derecelendirme
(196)
Projeler
200
28%
Arabuluculuk
0
Süresi dolmuş
3
2%
Serbest
2
Geliştirici 2
Derecelendirme
(2)
Projeler
2
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(79)
Projeler
111
37%
Arabuluculuk
0
Süresi dolmuş
4
4%
Serbest
4
Geliştirici 4
Derecelendirme
(34)
Projeler
60
23%
Arabuluculuk
11
73% / 9%
Süresi dolmuş
3
5%
Serbest
5
Geliştirici 5
Derecelendirme
(236)
Projeler
418
34%
Arabuluculuk
52
37% / 40%
Süresi dolmuş
153
37%
Meşgul
6
Geliştirici 6
Derecelendirme
(294)
Projeler
371
21%
Arabuluculuk
43
60% / 23%
Süresi dolmuş
43
12%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(48)
Projeler
62
40%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
8
13%
Serbest
8
Geliştirici 8
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
(68)
Projeler
77
8%
Arabuluculuk
33
9% / 55%
Süresi dolmuş
6
8%
Çalışıyor
10
Geliştirici 10
Derecelendirme
(121)
Projeler
155
43%
Arabuluculuk
20
60% / 20%
Süresi dolmuş
8
5%
Çalışıyor
11
Geliştirici 11
Derecelendirme
(568)
Projeler
641
41%
Arabuluculuk
21
57% / 29%
Süresi dolmuş
47
7%
Çalışıyor
12
Geliştirici 12
Derecelendirme
(548)
Projeler
1330
59%
Arabuluculuk
28
82% / 0%
Süresi dolmuş
10
1%
Serbest
13
Geliştirici 13
Derecelendirme
(119)
Projeler
169
38%
Arabuluculuk
9
78% / 22%
Süresi dolmuş
15
9%
Serbest
14
Geliştirici 14
Derecelendirme
(66)
Projeler
143
34%
Arabuluculuk
10
10% / 60%
Süresi dolmuş
26
18%
Serbest
15
Geliştirici 15
Derecelendirme
(563)
Projeler
932
47%
Arabuluculuk
301
59% / 25%
Süresi dolmuş
124
13%
Çalışıyor
Benzer siparişler
are you aware of the Monday Range Strategy? https://www.youtube.com/watch?v=7B_yBBFx6z8 5pm EST time sunday - monday 5pm est and it has to be on the H1 chart , minimum 1:2 Risk to reward and break even function after 1:1
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should
looking for help to get my ibkr automated, i have strategies already built in composer and have JSON for them, i really just need to he setup and explanation on how to maintain it and add new strategies
I am looking for someone who has experience working with the ZigZag indicator. I want to create a multi timeframe dashboard scanner based on ZigZag. I will explain more in private messages. if you feel capable & interest with that,please pm me for more details. thanks
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to
I wish an indicator that can import data from the websites below: https://www.fastbull.com/speculative-sentiment?textType=1&amp ;id=-1 https://www.fxblue.com/market-data/tools/sentiment After importing the data. I want the developer to create a simple text dashboard showing at least the major pairs in Forex with the correspondent sentiment from each website. The format of the dashboard or its visual aspects do not
Hi I need a software like Mirror trade copier ( https://www.antonnel.net/mirror/ ) which directly connect to the Accounts over api with out MT4 terminal and copies trades from mater to client. I want the same and possible improvement like can be accessed over a url and dashboard for some basic metrics (optional)
Hey, I would like an indicator based on calculation with the last price, sort of fib. The lines will auto update based on actual price. I want you to create 3x this block(of line), lines positions will be diferent as the multiplier of the 3 blocks will not be the same. I want you to create a signal based on the price that will be at the same zone(inside 2 lines) in 3 blocks at same time. check the intruction.txt
I need a AI signal generating bot for forex trading. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame whether they are buying or selling. If it is buying the arrow should be green and if it is
Hello! I want to develop an indicator for tradingview. Daily closure (and 12H closure) should be available to show on the chart with a vertical line but daybreak is the standard. Every 12H closure will show a box above/below that candle on all timeframes up to D1, clearly showing which canle is the close of 12H (make that candle glow or something on lower timeframes). The box will contain info about which timeframes

Proje bilgisi

Bütçe
30+ USD
Geliştirici için
27 USD
Son teslim tarihi
from 5 to 15 gün