pivot points

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
O66
Posts: 144
Joined: 28 Nov 2006
Location: Netherlands
Has thanked: 2 times
Been thanked: 3 times

pivot points

Postby O66 » 30 Jul 2007

I'm looking for a simple pivot point eld which plots the pp s1,s2,r1,r2
i googled and find several but none of them are correct. (plotting at the wrong levels)
Eld's which are working in TS arent working correctly in MC probally because of the scaling (my chart is compressed when selecting 'same as symbol')
what is it what im doing wrong ?
where can i find a pivot eld?
attached the eld which isnt correct imo

sreenshot attached, same charts left is correct (pivot point 781.1) but needed scaling is compressing my chart. right is 'set to screen' but pivots arent correct anymore (pivot 788.6)

Thanks
Attachments
pivot.png
pivot.png (84.26 KiB) Viewed 2063 times
PIVOTS.ELD
(5.49 KiB) Downloaded 441 times

Nick
Posts: 490
Joined: 04 Aug 2006
Has thanked: 4 times
Been thanked: 24 times

Postby Nick » 31 Jul 2007

You could take a look at session end times. The biggest discrepancy comes when midnight is used for yesterdays close. Do they work if you only plot 'regular session' data?

O66
Posts: 144
Joined: 28 Nov 2006
Location: Netherlands
Has thanked: 2 times
Been thanked: 3 times

Postby O66 » 31 Jul 2007

thanks for reply, but im using regular sessions
im located in the netherlands, so 9:30 Est is 15:30 here..
market close at 22:15

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 31 Jul 2007

I checked the indicator you have been using for RUSSEL in both TS and MC and compared the results.

The results in both programs were the same - for both 'same as symbol' and 'set to screen'. The charts and scales did look different depending on whether 'same as symbol' or 'set to screen' had been chosen, but this is just a matter of scaling and visualization. Your price scale (in the right image) is set according to the values of the symbol not the indicator. You can adjust that by double-clicking on the price area and putting the check-mark next to the indicator name.

You can also make sure that the pivot point has the same value irrespective of scaling by using 'show hint' tool which gives you all the information on the values calculated with the indicator.

O66
Posts: 144
Joined: 28 Nov 2006
Location: Netherlands
Has thanked: 2 times
Been thanked: 3 times

Postby O66 » 31 Jul 2007

thanks for reply but its not clear.
what do you mean with this:

"You can adjust that by double-clicking on the price area and putting the check-mark next to the indicator name. "


all i want is that my price is scaling as in the right screenshot
and my pivots are at the correct levels

the left screenshot is showing correct pivot levels but the price is comporessed because all the pivot lines have to be showed.
i want the screen scaled by prices not by the pivot lines

thanks

O66
Posts: 144
Joined: 28 Nov 2006
Location: Netherlands
Has thanked: 2 times
Been thanked: 3 times

Postby O66 » 01 Aug 2007

i think i figured out what you suggested:

"You can adjust that by double-clicking on the price area and putting the check-mark next to the indicator name. "

double click doesnt work but you can right click on right y-as and select indicator (pivot), scaling is then done by indicator levels and not by price.

problem is that chart isnt showing the right price anymore!
as you can see from attached screenshot it looks like price is closing at 770,0 area but in right chart you see its closing at 777.4 !!!!

is it possible to scale a chart with prices set to screen and still have the correct pivot levels ?
Attachments
pivot2.png
pivot2.png (112.19 KiB) Viewed 1983 times

fs

Postby fs » 04 Aug 2007

is it possible to scale a chart with prices set to screen and still have the correct pivot levels ?


I have asked for this over a year ago. See following post:

http://forum.tssupport.com/viewtopic.php?t=1664

Regards
- Fanus

O66
Posts: 144
Joined: 28 Nov 2006
Location: Netherlands
Has thanked: 2 times
Been thanked: 3 times

Postby O66 » 04 Aug 2007

thanks. i had the idea that i was crazy......

fs

Postby fs » 04 Aug 2007

thanks. i had the idea that i was crazy......


Well, we both could be crazy. :-)

User avatar
ABC
Posts: 594
Joined: 16 Dec 2006
Has thanked: 118 times
Been thanked: 336 times
Contact:

Postby ABC » 05 Aug 2007

Regarding the Pivots, using Trendlines instead of the Plots overcomes the scaling problem:

Image

Image

I can share it later, if you think it's useful.

Regards,

ABC

O66
Posts: 144
Joined: 28 Nov 2006
Location: Netherlands
Has thanked: 2 times
Been thanked: 3 times

Postby O66 » 06 Aug 2007

great!!
its much appreciated if you would be so kindly to share it
thanks.

User avatar
ABC
Posts: 594
Joined: 16 Dec 2006
Has thanked: 118 times
Been thanked: 336 times
Contact:

Postby ABC » 06 Aug 2007

Take a look at it and let me know how it works for you. It's something I created yesterday, so there might come some new features in the future.

The input "IgnoreWeekends" should be set to true if you are for example using E-Minis with the Globex session and want to see Monday's pivots calculated with Friday's values instead of Sunday's.

Regards,

ABC
Attachments
ABC_FloorTraderPiv.xml
(12.92 KiB) Downloaded 476 times

O66
Posts: 144
Joined: 28 Nov 2006
Location: Netherlands
Has thanked: 2 times
Been thanked: 3 times

Postby O66 » 06 Aug 2007

Perfect!
its working nicely
thanks for sharing

Guest

Postby Guest » 06 Aug 2007

Take a look at it and let me know how it works for you. It's something I created yesterday, so there might come some new features in the future.

The input "IgnoreWeekends" should be set to true if you are for example using E-Minis with the Globex session and want to see Monday's pivots calculated with Friday's values instead of Sunday's.

Regards,

ABC

very high quality coding.
thanks for sharing.

Guest

Postby Guest » 06 Aug 2007

all that codes just to draw a few lines on the chart !?

I am in awe.
Much appreciated.

User avatar
ABC
Posts: 594
Joined: 16 Dec 2006
Has thanked: 118 times
Been thanked: 336 times
Contact:

Postby ABC » 13 Aug 2007

Thanks for all the feedback, it's much appreciated.

I have updated the Pivot Tool. Where the first version was build to behave similar like the study provided by O66, you are now able to specify the time you want to use for calculations i.e. the time where the High, Low and Close occurs you take for calculations.

If you want the pivots to be calculated based on all data of previous day set "StartCalcTime" to "0000" and "EndCalcTime" to "2359" (without ""). If you want the calculation based on the regular session time for the ES for example and you are running on New York time, than set "StartCalcTime" to "930" and "EndCalcTime" to "1615" and so on. You will notice that the pivots can be quite different regarding the time you set.

The two other new inputs "PlotatDateChange" and "PlotToDateEnd" are to specify where the trendline drawing will take place:
PlotatDateChange = true ==> drawing will start at date change (first bar with new date);
PlotatDateChange = false ==> drawing will start at "StartCalcTime".

PlotToDateEnd = true ==> trendlines will be drawn until end of day
PlotToDateEnd = false ==> trendlines will be drawn until your EndCalcTime

As you can see the update provides a lot more flexibility. The name ends with V2, so you won't overwrite the old study and are able to compare for yourself which you like best.

Good trading,

ABC
Attachments
ABC_Floor Trader Pivots V2.xml
Updated Floor Trader Pivot Version
(14.06 KiB) Downloaded 445 times

Guest

Postby Guest » 13 Aug 2007

you just can't stop outdoing yourself?

Thx !

User avatar
ABC
Posts: 594
Joined: 16 Dec 2006
Has thanked: 118 times
Been thanked: 336 times
Contact:

Postby ABC » 13 Aug 2007

Guilty in this case :wink: .

Guest

Postby Guest » 16 Aug 2007

just curious, is it possible to put the text (pp, etc.) on the right hand side ?

User avatar
ABC
Posts: 594
Joined: 16 Dec 2006
Has thanked: 118 times
Been thanked: 336 times
Contact:

Postby ABC » 16 Aug 2007

This would need some small changes in the code, but it's doable and makes sense, too. Will take the time later.

Regards,

ABC

User avatar
ABC
Posts: 594
Joined: 16 Dec 2006
Has thanked: 118 times
Been thanked: 336 times
Contact:

Postby ABC » 17 Aug 2007

Here is the update to show the labels on the right site. For better visibility they are sitting on top of the trend lines.
Set "PlaceTextRight" to false and the labelling will be same as before.

Best regards,

ABC
Attachments
ABC_Floor Trader Pivots V3.xml
Floor Trader Pivots V3
(15.36 KiB) Downloaded 377 times

Guest

Postby Guest » 17 Aug 2007

ABC:

You are amazing.
Many thanks for sharing.


Return to “User Contributed Studies and Indicator Library”