Indicator analyzing candle length for MT5

MQL5 指标 外汇

工作已完成

执行时间1 一小时
客户反馈
Excellent job! Great performance and communication
员工反馈
Great customer. Thanks for your order

指定

Indicator creates a chart and changes the color of candles

 

The way indicator works

 

1.       The length of a candle, let’s call it a signal candle, is X% more than length of the largest of X previous candles (number of previous candles is an input parameter). Indicator changes the color of this signal candle and creates a tick on the chart.

2.       The length of the signal candle is X% more than the average length of X previous candles (number of previous candles is an input parameter). Indicator changes the color of this signal candle and creates a tick on the chart.

 

Once signal candle has been formed the indicator changes its color as well as color of previous candles that have been analyzed.

 

Indicator’s chart has levels 1, 0 and -1.

If the signal candle is bullish than indicator’s chart takes the value of 1

If the signal candle is bearish than indicator’s chart takes the value of -1

Indicator’s chart takes the value of 0 with other candles that are not signal.

 

Indicator’s chart should look like the one on the following picture. Thin vertical lines. The indicator will only have 3 values: 1, 0, -1.



Input indicator’s parameters

 

There are two tabs.

 

General

 

1.       Mode - bodies/shades.

·       Indicator takes into account open and close prices if mode is bodies.

·       Indicator takes into account high and low prices if mode is shades.

2.       Number of candles – number of previous candles that indicator analyzes.

3.       Average % - shows by how many percent the signal candle length should be larger than the average length of the previous candles.

4.       Max % - shows by how many percent the signal candle length should be larger than the length of the largest of previous candles.

 

Color

 

1.       Signal candle color - The color is the same both for bearish and bullish candles.

2.       Previous candles color

3.       Chart color

 

Example

 

 

General

1.       Mode = bodies

2.       Number of candles = 3

3.       Average % = 50

4.       Max % = 50

Color

1.       Signal candle color = Orange

2.       Previous candles color = Blue

3.       Chart color = Red

 

Mode = bodies. So we take into account open and close prices.

Let’s calculate the average length of 3 previous candles.

Candle 1.   1.10709 - 1.10697 = 0.00012

Candle 2.    1.10696 - 1.10687 = 0.00009

Candle 3.   1.10720 - 1.10692 = 0.00028

If candle is bullish than its length = close price – open price

If candle is bearish than its length = open price - close price

Now the signal candle 1.10831 – 1.10725 = 0.00106

Average = 50%. So the signal candle should be larger at least by 50% than the average length of the previous candles.

(12+9+28)/3 = 16.3. If 16.3 points = 100% than 106 points = 650.3 %

The requirements are met. The signal candle is much larger than average length of previous candles.

Max = 50%. So the signal candle should be larger at least by 50% than the largest of the previous candles.

If 28 points = 100% than 106 points = 387.6 %

The requirements are met. The signal candle is much larger than max length of previous candles.

 

Once signal candle has been formed the indicator changes its color as well as color of previous candles that have been analyzed (3 previous candles in this case) and creates a tick on the chart. 3 candles that were analyzed and all other candles that are not signal candles are reflected on the chart as 0.



反馈

1
开发者 1
等级
(30)
项目
35
26%
仲裁
0
逾期
4
11%
空闲
2
开发者 2
等级
(7)
项目
8
50%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(157)
项目
174
43%
仲裁
6
0% / 67%
逾期
8
5%
空闲
4
开发者 4
等级
(563)
项目
932
47%
仲裁
302
59% / 25%
逾期
124
13%
已载入
5
开发者 5
等级
(298)
项目
443
64%
仲裁
5
40% / 0%
逾期
4
1%
工作中
6
开发者 6
等级
(8)
项目
13
31%
仲裁
1
100% / 0%
逾期
0
空闲
7
开发者 7
等级
(463)
项目
524
33%
仲裁
28
39% / 43%
逾期
7
1%
繁忙
相似订单
1. The Trading View indicator code needs to be converted into and adapted for Ninja Trader 8 2. An indicator and Automated Trading Strategy needs to be developed. 3. Any parts of the Trading View Indicator that can't be replicated needs to be discussed with me and agreed before excluding. (there should not be any) 4. Trailing stop and Trailing Draw Down options need to be implemented 5. Risk needs to be in % of
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
This is not an EA that actually opens/closes trades. Instead this project involves creating a dashboard where the user can create a grid trade scenario with initial entry and scale trade pip distances, lot sizes for each trade, and draw down amount. It then calculates the break-even + profit level where all trades would close. For each new scale trade the BE+ point is recalculated which is then displayed on the
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader, I wanted this indicator in NT bcs I chart in NT, and if the indicator could also have been an automated strategy even better. Please confirm that it will be an indicator and Automated Trading Strategy
Hello potential Freelancers I’m very new to trading so please bear with me as I try to explain what ‘m looking for. I'm currently getting signals ( XAUUSD )sent to me and I’m looking to find a person who can look at the data either watch account live, or I send the trade history. The bot my provider is using makes 100’s of trades a day and does very well on average. I’m also looking to have the following features
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello I need a very simple indicator This indicator should show the highest floating or history drawdown of the account It means that it can display the highest number that the account drawdown to be displayed on the chart in this format max drawdown account(xxxx$$) ...date(00/00/00)time:(00:00) max drawdown currency ..( currency name with max drwadown) . (xxxx$$) date(00/00/00)time:(00:00) thanks
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA. THREE TYPES OF ENTRIES 1: AGGRESSIVE 2: DIVERGENCE 3
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how

项目信息

预算
40 - 70 USD
开发人员
36 - 63 USD
截止日期
 1  10 天