trying to replicate a pivot indicator

MPTM's new home
Post Reply
User avatar
basch312
Trader
Posts: 72
Joined: Mon Aug 19, 2013 10:53 pm
Location: Barcelona

trying to replicate a pivot indicator

Post by basch312 »

Hi everyone!

I wrote an indicator based on the conditions that follow:

-Pivot Low: when the candles on either side have a higher high and a higher low than that in the middle.
-Pivot High: when the candles on either side have a lower high and a lower low than that in the middle.

BUT, it's not that simple. Following the instructions to the letter paints too many signals, more than it should.

I would apreciate any help, hints or whatever

Thank you!

Adrian
You do not have the required permissions to view the files attached to this post.
Last edited by basch312 on Sun May 11, 2014 8:17 pm, edited 3 times in total.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

trying to replicate a pivot indicator

Post by milanese »

basch312 » Sat May 10, 2014 11:33 am wrote:Hi everyone!

I wrote an indicator based on the conditions that follow:

-Pivot Low: when the candles on either side have a higher high and a higher low than that in the middle.
-Pivot High: when the candles on either side have a lower high and a lower low than that in the middle.

BUT, it's not that simple. Following the instructions to the letter paints too many signals, more than it should.
.....
I would apreciate any help, hints or whatever

Thank you!

Adrian
At the first look it seems very simil to a fractal indicator what you want to code..
How did you get the images how it should look? Is your Empty4 version based to an other indicator?

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
User avatar
basch312
Trader
Posts: 72
Joined: Mon Aug 19, 2013 10:53 pm
Location: Barcelona

trying to replicate a pivot indicator

Post by basch312 »

milanese » Sat May 10, 2014 1:41 pm wrote:
basch312 » Sat May 10, 2014 11:33 am wrote:Hi everyone!

I wrote an indicator based on the conditions that follow:

-Pivot Low: when the candles on either side have a higher high and a higher low than that in the middle.
-Pivot High: when the candles on either side have a lower high and a lower low than that in the middle.

BUT, it's not that simple. Following the instructions to the letter paints too many signals, more than it should.
.....
I would apreciate any help, hints or whatever

Thank you!

Adrian
At the first look it seems very simil to a fractal indicator what you want to code..
How did you get the images how it should look? Is your Empty4 version based to an other indicator?

Cheers :)

Tommaso

Yeah, it is similar to a fractal indicator. I think the difference is that the fractal indicator only looks one side of the candle (the low for the pivot low(up arrow), and the high for the pivot high).

I'm not sure if I've understood the last question. The code I posted has been written by myself.

Thank you Tommaso

Adrian.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

trying to replicate a pivot indicator

Post by SteveHopwood »

basch312 » Sat May 10, 2014 11:33 am wrote: BUT, it's not that simple. Following the instructions to the letter paints too many signals, more than it should.
They will do. If you code:
-Pivot Low: when the candles on either side have a higher high and a higher low than that in the middle.
-Pivot High: when the candles on either side have a lower high and a lower low than that in the middle.

then your indi will show what you have coded it to show. You want it to code something different? Then code it to show something different.

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

trying to replicate a pivot indicator

Post by SteveHopwood »

basch312 » Sat May 10, 2014 12:59 pm wrote:
Yeah, it is similar to a fractal indicator. I think the difference is that the fractal indicator only looks one side of the candle (the low for the pivot low(up arrow), and the high for the pivot high).
No it doesn't. It looks to me as though you have some research to do. I am not going to explain what a forex fractal is because that would encourage you to be lazy. Do your own research and learn from it.

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
fok
Trader
Posts: 59
Joined: Wed Oct 23, 2013 1:15 pm
Location: Seasia

trying to replicate a pivot indicator

Post by fok »

basch312 » Sat May 10, 2014 11:33 am wrote:Hi everyone!

I wrote an indicator based on the conditions that follow:

-Pivot Low: when the candles on either side have a higher high and a higher low than that in the middle.
-Pivot High: when the candles on either side have a lower high and a lower low than that in the middle.

BUT, it's not that simple. Following the instructions to the letter paints too many signals, more than it should.

I would apreciate any help, hints or whatever

Thank you!

Adrian
This one?

http://Empty4.quantumtrading.com/product/d ... s-for-Empty4/
User avatar
basch312
Trader
Posts: 72
Joined: Mon Aug 19, 2013 10:53 pm
Location: Barcelona

trying to replicate a pivot indicator

Post by basch312 »

i've uploaded in the first post the closest version i could get and the version tommaso wrote
Post Reply

Return to “Utilities Indicators and Scripts”