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
等级
(29)
项目
34
26%
仲裁
0
逾期
4
12%
空闲
2
开发者 2
等级
(7)
项目
8
50%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(149)
项目
165
41%
仲裁
5
0% / 80%
逾期
8
5%
工作中
4
开发者 4
等级
(562)
项目
929
48%
仲裁
301
59% / 25%
逾期
123
13%
已载入
5
开发者 5
等级
(281)
项目
421
63%
仲裁
5
40% / 0%
逾期
4
1%
空闲
6
开发者 6
等级
(7)
项目
12
25%
仲裁
1
100% / 0%
逾期
0
空闲
7
开发者 7
等级
(433)
项目
491
33%
仲裁
25
40% / 48%
逾期
7
1%
已载入
相似订单
MT4 to Telegram 30 - 50 USD
Hello, I want to add a system send messages to Telegram Send a message with a specific picture and details of the new signal When closing with a profit, send the details of the closing and profit with a specific picture And close with a loss and send a specific picture, in addition to the details of the closure and the amount of the loss
Hi Dear developpers, I've an EA that was working very well with the previous versions of MT4. But since, they have updated their platforms, my EA it's not working anymore. I've tried to use those old MT4 versions but there are just temporary. So i've decided to updated this EA so i can use it on the newest version of MT4 (1420) and those who will come after it. I also want to implement new inputs in it. I also want
I will like the indicator to send notification to mobile when the indicator changes color and is increase upward when positive and decreasing downwards when negative including fisplaying arrows on the chart ,red for negative and green for positive
Hey greetings My pleasure to met you all .I would like to convert a public tradingview pinescript indicator to MT5 Expert Advisor based on my. Requirements/specification.Kindly bid and let discuss about the project
Please convert the Pine Script below into MQL4 Indicator: // @version= 5 // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © KivancOzbilgic //created by: @Anil_Ozeksi //developer: ANIL ÖZEKŞİ //author: @kivancozbilgic strategy ( 'Twin Optimized Trend Tracker' , 'TOTT' , overlay = true ) src = input ( close , title = 'Source' ) length = input.int ( 40
A robot 30 - 65 USD
Hi I am looking for developer who can make me Mt4 Ea i have 2types of analysis methods i want to add and also want to attach image with Ea like when i attach my to any currency pair the chart changes to my picture Of robot which i attached to my Ea and for proper all settings i want add i will tell u message me
hi.. i have a pin script (TV) but some lines in the code needs to be fixed,,, i will attach the file thanks very much in advance, Also there will be more project in front, so I need a very dedicated developer
I need an Expert Advisor that can read trade signals from a Telegram Channel and then execute those trades. My telegram bot has admin access to the Telegram Channel The EA needs the following functionality: Position Size: Auto: + Have fixed lot size set in settings. + Have lot size by % of account (set in settings) Manual: + From lot size set in trade signals message. + From lot size by % of account from trade
The ZONE RECOVERY/HEDGING STRATEGY will be on a timeframe where each strategy is independent and pending orders should be placed at the high and low of the candlestick. If it is a buy, then the pending order at the high of the candlestick will be triggered, and if it is a sell, then the pending order at the low of the candlestick will be triggered. If the market breaks the high of the candlestick, then the pending
Hi I have a script in Tradingview that looks good which shows the buy and sell automation. I wanted to see if that can be used in ninja Trader so I converted it for Ninja Trader. But it is not triggering the buy or sell trade like it shows in the tradingview script. Please let me know if you can help me with the script that will work in Ninja Trader just like the one in Trading View. I have the buy and sell signals

项目信息

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