stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

trying to replicate a pivot indicator
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3614
Page 1 of 1
Author:  basch312 [ Sat May 10, 2014 11:33 am ]
Post subject:  trying to replicate a pivot indicator

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
Author:  milanese [ Sat May 10, 2014 12:41 pm ]
Post subject:  trying to replicate a pivot indicator

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
Author:  basch312 [ Sat May 10, 2014 12:59 pm ]
Post subject:  trying to replicate a pivot indicator

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.
Author:  SteveHopwood [ Sat May 10, 2014 9:37 pm ]
Post subject:  trying to replicate a pivot indicator

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:
Author:  SteveHopwood [ Sat May 10, 2014 9:40 pm ]
Post subject:  trying to replicate a pivot indicator

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:
Author:  fok [ Sun May 11, 2014 7:54 am ]
Post subject:  trying to replicate a pivot indicator

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/
Author:  basch312 [ Sun May 11, 2014 8:12 pm ]
Post subject:  trying to replicate a pivot indicator

i've uploaded in the first post the closest version i could get and the version tommaso wrote
All times are UTC Page 1 of 1