Pull-back counter.

MQL5 Diğer

İş tamamlandı

Tamamlanma süresi: 22 saat
Müşteri tarafından geri bildirim
On budget, on schedule, no nonsense, i highly recommend Philip to anyone that wants the job done right.
Geliştirici tarafından geri bildirim
Recommended customer. Knows what he wants and how to explain it to you. A+++

Şartname

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.

 

 

 

 

 

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(82)
Projeler
150
29%
Arabuluculuk
9
44% / 11%
Süresi dolmuş
46
31%
Serbest
2
Geliştirici 2
Derecelendirme
(854)
Projeler
1472
72%
Arabuluculuk
122
29% / 48%
Süresi dolmuş
361
25%
Serbest
Yayınlandı: 3 makale
3
Geliştirici 3
Derecelendirme
(195)
Projeler
395
28%
Arabuluculuk
155
20% / 52%
Süresi dolmuş
112
28%
Serbest
4
Geliştirici 4
Derecelendirme
(1235)
Projeler
2820
80%
Arabuluculuk
156
22% / 43%
Süresi dolmuş
487
17%
Serbest
5
Geliştirici 5
Derecelendirme
(4)
Projeler
6
0%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
0
Serbest
6
Geliştirici 6
Derecelendirme
(18)
Projeler
37
43%
Arabuluculuk
6
17% / 50%
Süresi dolmuş
17
46%
Serbest
7
Geliştirici 7
Derecelendirme
(48)
Projeler
91
31%
Arabuluculuk
28
29% / 43%
Süresi dolmuş
42
46%
Serbest
Yayınlandı: 1 kod
8
Geliştirici 8
Derecelendirme
(64)
Projeler
145
46%
Arabuluculuk
21
38% / 24%
Süresi dolmuş
32
22%
Serbest
9
Geliştirici 9
Derecelendirme
(273)
Projeler
396
63%
Arabuluculuk
70
53% / 26%
Süresi dolmuş
198
50%
Serbest
Benzer siparişler
To build a Self-Hosted MT4/MT5 Cross-Broker Trade Copier I am looking to develop a trading and copy trading system based on an existing MT4/MT5 Client API or SDK, deployed on my own server(Windows Serve). The system should connect to standard trading accounts across different brokers and automatically copy trades from one master account to multiple follower accounts. Core requirements: The entire backend must operate
I am looking to acquire an existing, fully developed and tested XAUUSD trading signal system, either an MT5 indicator or an Expert Advisor. I am NOT looking for new strategy development, custom coding, or experimental systems. My objective is to own and independently operate a reliable gold trading signal source for personal trading and an international paid subscription service. Requirements: 1. An existing
TRADE COPIER 40+ USD
I WANT A CUSTOMIZED TRADE COPIER THAT CAN COPY TRADE TO DIFFERENT MT5 ACCOUNT WITHOUT LAG. THAT IS ENTRY, STOP LOSS AND TAKE PROFIT. LIMIT AND STOP ORDERS INCLUSIVE. EXECUTION TIME SHOULD BE ABOUT 2SECONDS AT MOST. MY BUDGET IS $40
Hello, How are you doing? I’m looking for an experienced blockchain developer to assist with the smart contract development and on-chain functionality for a Web3 fundraising platform. I’d like to see an overview of your pricing, development process, and estimated timeline for a project of this nature. Additionally, I’d like to understand how you approach smart contract testing, security reviews or audits, and

Proje bilgisi

Bütçe
25 - 50 USD
Son teslim tarihi
from 1 to 3 gün