Pull-back counter.

MQL5 Other

Job finished

Execution time 22 hours
Feedback from employee
Recommended customer. Knows what he wants and how to explain it to you. A+++
Feedback from customer
On budget, on schedule, no nonsense, i highly recommend Philip to anyone that wants the job done right.

Specification

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.

 

 

 

 

 

Responded

1
Developer 1
Rating
(82)
Projects
150
29%
Arbitration
9
44% / 11%
Overdue
46
31%
Free
2
Developer 2
Rating
(800)
Projects
1371
72%
Arbitration
112
29% / 48%
Overdue
341
25%
Loaded
3
Developer 3
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
4
Developer 4
Rating
(1235)
Projects
2820
80%
Arbitration
156
22% / 43%
Overdue
488
17%
Free
5
Developer 5
Rating
(4)
Projects
6
0%
Arbitration
2
50% / 50%
Overdue
0
Free
6
Developer 6
Rating
(18)
Projects
37
43%
Arbitration
6
17% / 50%
Overdue
17
46%
Free
7
Developer 7
Rating
(48)
Projects
91
31%
Arbitration
28
29% / 43%
Overdue
42
46%
Free
8
Developer 8
Rating
(62)
Projects
140
46%
Arbitration
19
42% / 16%
Overdue
32
23%
Free
9
Developer 9
Rating
(272)
Projects
394
63%
Arbitration
70
53% / 26%
Overdue
198
50%
Free
Similar orders
I have an equity reporter. This equity reporter displays the maximum and minimum equity reached over a specific interval. So, if the interval is set to 24 hours, the script will generate data in the format: "Profit ATT" (profit AtThatTime) shows max./min. during the specific interval This specific report shows data in pips. It can also be set to display in price or percentages. The interval is also easily adjustable
Hey, great developer I have a thinkorswim script I want to convert it into TradingView. Can you please let me know if you can i will be looking for great developer that will bid for it best regards
Hey, great developer I have a thinkorswim script I want to convert it into TradingView. Can you please let me know if you can i will be looking for great developer that will bid for it best regards
Tradingview developer 30 - 35 USD
Hey greetings. I am in need of tradingview developer that can modify an open source PineScript indicator code to add additional features. Kindly bid for this project if it is what you handle and let proceed with the project
In summary 1) The bot will only take Firm Buy and Firm Sell Signals . 2) The bot will use the SL and TP based on the indicator . 3) the risk to reward is 2:1 but when the price reaches 1:1 set SL to Breakeven 4) the bot will take Firm Buy and Firm sell after the candle closes with a firm buy or firm sell 5) make sure to give an option for number of contracts to be traded . 6) Bot will close all the trades EOD
Hello, I'd like to get a developer for converting tradingview indicator script to NT8 indicator. I have attached rough c# code and working pine script. indicator is nothing but just 7 horizontal lines drawn with 3 types of colors, 3 lines for support level, 3 lines for resistance level and 1 mid line. Purpose of the indicator is to draw colored horizontal lines with labels when a text is pasted with predefined
The Bot will use 2 Indicators and should follow these rules: Trade Entry: You must always enter the trade EXACTLY at the close of the current candle, with the expiry time set to the end of the next candle. It will only work if you click BUY or SELL EXACTLY in the last second of the current candle. I don't need to mention that you need a good internet connection and obviously should use the trading platform app. DO
I have choch indicator I want to use it for my strategy but the ea will have two options the second option will base on manual example I will do my analysis of a pair then decide if buy or sell before putting those pairs in the ea base on the direction I choose for it but first option will make use of the indicator. Will explain better on video screen pls check my attachments below for better communication
Hi, I need someone who have an idea of IG Market I am running into a problem I need to have at least 50pips between my order and stoploss. Can you check with me where it goes wrong
I need an expert to convert a TradeStation script over to pine please let me know if this is something you can do perfectly. I will be expecting your message. thanks

Project information

Budget
25 - 50 USD
For the developer
22.5 - 45 USD
Deadline
from 1 to 3 day(s)