PIVOT CANDLE

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

PIVOT CANDLE

Postby gozzox » Sun Jun 15, 2014 4:55 pm

Hello I would like to know if it is possible to have an indicator that shows, with an arrow, the following configuration:

"pivot candle high": any candle that has two lower lows either side of it, and two lower highs either side of it.

"pivot candle low": A candle that has a candle to the left which has a higher high and a higher low than the middle candle and a candle to the right also has a higher high and a higher low.


These pivot candles help to visually spot and draw the correct areas of important horizontal support and resistance.

Thank you very much
Attachments
Cattura di schermata (310).png
Cattura di schermata (310).png (3.06 KiB) Viewed 1665 times
gozzox
 
Posts: 6
Joined: Sat Jan 11, 2014 10:42 am

Re: PIVOT CANDLE

Postby Apprentice » Tue Jun 17, 2014 11:38 am

To recapitulate,
Pivot candle is the middle candle from a series of three.

candle pivot low is defined as follows.
High [N-1]> High [N]
Low [N-1]> Low [N]
High [N] <High [N +1]
Low [N] <Low [N +1]
And vice versa
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: PIVOT CANDLE

Postby Apprentice » Wed Jun 18, 2014 8:26 am

Pivot Candle.lua
(2.39 KiB) Downloaded 384 times

Try this implementation.
I have trouble unite your description and shown chart.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: PIVOT CANDLE

Postby gozzox » Wed Jun 18, 2014 3:35 pm

thank you very much Apprentice, it's exactly what i was looking for.
The only problem is that indicates any situation, while probably it should has to recognize the pattern only in the case that the middle candle is significantly lower (higher):

If we suppose that we are looking at a pivot candle low and that (N-1) < (N+1),

[L(N-1)-L(N)] / [H(N-1)-L(N)] >= 38%

(In the picture B/A>=38%)

I used the 38% because is a Fibonacci number but probably it works great also with other percentage.
I hope that what I write is understandable.

Thank you very much.
Attachments
Cattura di schermata (310).png
gozzox
 
Posts: 6
Joined: Sat Jan 11, 2014 10:42 am

Re: PIVOT CANDLE

Postby Apprentice » Thu Jun 19, 2014 2:37 am

Something like this.
Pivot Candle With Filter.lua
(3.33 KiB) Downloaded 444 times

One note, this was not in your initial specifications.

Greetings from the other side of the Adriatic.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: PIVOT CANDLE

Postby gozzox » Thu Jun 19, 2014 12:23 pm

Sorry I did not asked the filter because I had not thought that it could generate many false signals.
Thank you very much.
gozzox
 
Posts: 6
Joined: Sat Jan 11, 2014 10:42 am

Re: PIVOT CANDLE

Postby siapmn » Mon Aug 15, 2022 2:34 am

Apprentice wrote:Something like this.
Pivot Candle With Filter.lua

One note, this was not in your initial specifications.

Greetings from the other side of the Adriatic.




Hello boss
Is it possible to have this indicator with an alarm?
siapmn
 
Posts: 41
Joined: Fri Jan 15, 2021 8:16 am

Re: PIVOT CANDLE

Postby Apprentice » Mon Aug 15, 2022 7:33 am

We have added your request to the development list.
Development reference 485.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 19 guests