Pull-back counter.

MQL5 Прочее

Работа завершена

Время выполнения 22 часа
Отзыв от исполнителя
Recommended customer. Knows what he wants and how to explain it to you. A+++
Отзыв от заказчика
On budget, on schedule, no nonsense, i highly recommend Philip to anyone that wants the job done right.

Техническое задание

Hello,


I need a function that outputs the following information. Starting from each and every individual candle within a designated period, check how many times the price continues to fill out an n1, n2 and n3 pip range in the following candles after the first candle, without retracing an x% pull-back.

To clarify…

Take the bullish case, starting from 1st candle, assuming the pull-back is to be less than or equal to 60% of the range;

 

"Check criteria is met for each candle"

 

If C1 Positive,

C2H-C1L = CURRENT RANGE

If C2L>=0.6*(CURRENT RANGE)+C1L,

"Then get new current range"

C3H-C1L=(CURRENT RANGE)

IF C3L>=0.6(CURRENT RANGE)+CL1,

Gent new current range,

C4H-C1L=(CURRENT RANGE) etc,

 

Else ("if current loop has failed to meet maximum allowed pull-back objective,i.e. C2L< 0.6*(CURRENT RANGE)+C1L, start looking for new sequence in next candle")

if C3 is positive

C4H-C3L = CURRENT RANGE.

If C4L>=0.6(CURRENT RANGE)+C3L,

"Get new current range"

C5H-C3L=(CURRENT RANGE)

If C5L>=0.6(CURRENT RANGE)+C3L,

And so on and so forth...

Then if total pip value of current range from any(C1-Cn)  >= n1, n2 or n3, display output.

 

For example, if i choose to run it over a week, using 2-minute candles, it would perform the function on every individual 2m candle required in that particular week for both the negative and positive runs, and output the results. So if we had inputs such as,

 

Duration of test      =19/8/2013 - 23/8/2013

Timeframe check   =2m

Minimum pullback =60%

check n1 ranges    =50 pips

check n2 ranges    =70 pips

check n2 ranges    =100 pips

 

In this case the routine would output how many times the n1-n3 ranges were filled without ever seeing a 60% pull-back. As I have said, this would be performed on 2m candles over the span of a week. With output similar to the following;

 

            Long            Short

n1 fill    34            45       

n2 fill    18            24

n3 fill    12            15

 

Along with a green, amber, and red dot (or some marking) on the chart for each time the function was successfully performed.

 

I have an indicator that can do the process manually if it helps. I am also happy if the coder finds it quicker/easier to separate the long and short functions.  If anyone understands what i need then get in touch.

 

 

 

 

 

Откликнулись

1
Разработчик 1
Оценка
(82)
Проекты
150
29%
Арбитраж
9
44% / 11%
Просрочено
46
31%
Свободен
2
Разработчик 2
Оценка
(803)
Проекты
1374
72%
Арбитраж
113
28% / 48%
Просрочено
342
25%
Работает
3
Разработчик 3
Оценка
(195)
Проекты
395
28%
Арбитраж
155
20% / 52%
Просрочено
112
28%
Свободен
4
Разработчик 4
Оценка
(1235)
Проекты
2820
80%
Арбитраж
156
22% / 43%
Просрочено
488
17%
Свободен
5
Разработчик 5
Оценка
(4)
Проекты
6
0%
Арбитраж
2
50% / 50%
Просрочено
0
Свободен
6
Разработчик 6
Оценка
(18)
Проекты
37
43%
Арбитраж
6
17% / 50%
Просрочено
17
46%
Свободен
7
Разработчик 7
Оценка
(48)
Проекты
91
31%
Арбитраж
28
29% / 43%
Просрочено
42
46%
Свободен
8
Разработчик 8
Оценка
(62)
Проекты
140
46%
Арбитраж
19
42% / 16%
Просрочено
32
23%
Свободен
9
Разработчик 9
Оценка
(272)
Проекты
394
63%
Арбитраж
70
53% / 26%
Просрочено
198
50%
Свободен
Похожие заказы
Hello, I need a cBot for cTrader for my trading system. However, this bot should not be based on timeframes. I trade exclusively with Renko Blocks. Could you implement this for me? Here are the rough requirements: 1. an EMA200 should simply serve as an entry point. If the current price is above it, a long position is opened, if the price is below it, we open a short position. 2. i must be able to set how many pips my
We are interested in a TradingView indicator that reads candlestick pattern shapes and shows the location of entry and exit points on a candlestick chart. What services do you provide related to this
I am looking for a developer to create an automated ATM strategy for NinjaTrader. The strategy should operate as follows: Trade Entry : Manual entry based on a bullish or bearish engulfing pattern. Stop Loss : Set at the low of the previous candle for long trades and at the high of the previous candle for short trades, covering the entire candle body and wicks. Take Profit : Set at twice the size of the stop loss
Hey all, im looking for a desktop app to be made which ''integrates'' with mt5. The aim here is youll open the desktop app, link it to the mt5 you have downloaded which will then allow you to auto test on that mt5 with the click of a button. i want to basically load an opt file which has already been created with the desired input combinations, input dates you want etc... and then start the test. once the test is
Dear Colleagues, I am currently seeking the assistance of an experienced professional who can help me integrate my TradingView alerts with Interactive Brokers in order to execute live trades automatically. If you have the expertise in setting up such an automation or know someone who does, I would greatly appreciate your support. Please feel free to reach out to me if you can assist with this project or if you need
I am in search of a driven and results-oriented individual to promote my forex trading signals under the "Elevated Tradinghub" brand. The perfect candidate will have a strong background in digital marketing, particularly within the finance and trading sectors. Your main goal will be to expand my follower base by effectively promoting my signals across a variety of platforms, such as social media, trading forums, and
Connect from Mt4 via binary derive account api. I have a bot. You need to convert the bot to an indicator. After converting I need to connect with my binary deriv through api. I want to trade my derivative binary account through mt4. If anyone can setup via API then contact me
I need a way of viewing Renko Charts in MT5. Only apply if you have experience with Renko Charts. And how you would tackle this project. Timeline is less than 5 days
Hey greetings. Am in need of a tradingview developer that can add a simple alert to my existing tradingview indicator with a simple conditions. Kindly bid for the project if it is what you can do for me and let proceed
Hello, ,I will briefly explain what I need, I would like to know if you can make me an indicator for cTrader, for the forex market, that can count the candles starting from the first candle starting at 00:00. Obviously in a 5 minute TF the candle count will be much higher than that of the H1 TF, also I use 250/500/1000 ticks charts, so this indicator should also count the candles of this type of charts I would like a

Информация о проекте

Бюджет
25 - 50 USD
Исполнителю
22.5 - 45 USD
Сроки выполнения
от 1 до 3 дн.