Pull-back counter.

MQL5 其它

工作已完成

执行时间22 小时
客户反馈
On budget, on schedule, no nonsense, i highly recommend Philip to anyone that wants the job done right.
员工反馈
Recommended customer. Knows what he wants and how to explain it to you. A+++

指定

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
等级
(854)
项目
1472
72%
仲裁
122
29% / 48%
逾期
361
25%
空闲
发布者: 3 文章
3
开发者 3
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
4
开发者 4
等级
(1235)
项目
2820
80%
仲裁
156
22% / 43%
逾期
487
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%
空闲
发布者: 1 代码
8
开发者 8
等级
(64)
项目
145
46%
仲裁
21
38% / 24%
逾期
32
22%
空闲
9
开发者 9
等级
(273)
项目
396
63%
仲裁
70
53% / 26%
逾期
198
50%
空闲
相似订单
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

项目信息

预算
25 - 50 USD
截止日期
从 1 到 3 天