Current location | Thread information | |
![]() ![]() ![]() ![]() ![]() ![]() |
Last Activity 6/17/2025 3:19 PM 11 replies, 1151 viewings |
|
|
Printer friendly version |
^ Top | |||
JB![]() Legend ![]() ![]() ![]() ![]() ![]() Posts: 434 Joined: 6/6/2006 ![]() |
Hi Folks I seem to have hit a bug with the Floor Pivots. I wanted to display just 3 levels and so loaded three copies of the Floor Pivot indicator. The R1 level and the centre pivot display correctly but when I try to add the S1 Level it plots the bottom centre pivot. [Edited by JB on 10/28/2012 4:25 PM] ![]() | ||
^ Top | |||
JB![]() Legend ![]() ![]() ![]() ![]() ![]() Posts: 434 Joined: 6/6/2006 ![]() |
Seems to me tha there is something strangely wrong! In the pic I have ploted Matt Greenslet's 09 Floor Pivot code showing L1 and H1 in green and Brown. The Cenrte pivot is dashed purple and ploted from the Nirvana built in indicator.... Obvoiusly one would expect the centre pivot from Nirvana to bisect the Brown and Green at the midway point...not what is happening....Please can someone throw some light? Thanks JB [Edited by JB on 11/3/2012 5:23 AM] ![]() | ||
^ Top | |||
JB![]() Legend ![]() ![]() ![]() ![]() ![]() Posts: 434 Joined: 6/6/2006 ![]() |
Hi Folks HelpPlease. Could anyone from support reply just to explain if this a bug or is it something that i am not comprehending? Thanks | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3433 Joined: 3/13/2006 Location: L'ville, GA ![]() |
Post the code if you want help | ||
^ Top | |||
JB![]() Legend ![]() ![]() ![]() ![]() ![]() Posts: 434 Joined: 6/6/2006 ![]() |
Jim Thanks but the the code is the standard code as per OTPro 2012. Matt's code I belive you will already have. Never the less I will include a copy here just incase you do not. Many thanks for the response John B ![]() | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3433 Joined: 3/13/2006 Location: L'ville, GA ![]() |
I believe the mistakes are likely related to the colors that were incorrectly applied. The original code HAS no centerline between R1 and S1. I've cleaned up the orig code a bit, and ADDED a centerline which is always visible for reference purposes. I locked in colors and thicknesses for the lines as well to show their relationships. Thicker ones are dimmer (on a black background). I modified the Return so that it was not looking into the "future". I have a further-enhanced version available which provides for weekly breaks, yearly breaks, returns of specific levels, and some other signifcant options ... email me regarding "aJDndFloorPivots" if interested ... hvacsage@yahoo.com Cleaned-up code and chart are attached [Edited by Jim Dean on 11/3/2012 8:12 AM] ![]() ![]() ![]() | ||
^ Top | |||
JB![]() Legend ![]() ![]() ![]() ![]() ![]() Posts: 434 Joined: 6/6/2006 ![]() |
Jim Thanks for your input and the code. My orignial post here is a little confusing but the Centre Pivot IS dispalyed. What happens is that if you display the Nirvana boxed pivot its centre pivot does not fall between the two first plot of Matts code also if you then add another copy of the nirv code and and highlight S1 for display not a lot shows [Edited by JB on 11/3/2012 2:16 PM] ![]() | ||
^ Top | |||
JB![]() Legend ![]() ![]() ![]() ![]() ![]() Posts: 434 Joined: 6/6/2006 ![]() |
In my post of Matt's code Jim I included the code file and had forgotten to reset the return to 0 which is how Matt had put out the code. I have corrected the attached file. [Edited by JB on 11/3/2012 12:55 PM] | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3433 Joined: 3/13/2006 Location: L'ville, GA ![]() |
Matt's code did NOT PLOT a center pivot at all. It was not in his code. He plotted S1 and R1 but nothing in the middle. I don't know what you want. I don't understand your recent post. I don't know what the "Nirvana Centre Pivot" is. The code I provided should have solved your difficulties. It is working properly. I added the center line for you ... it was not in Matt's code. | ||
^ Top | |||
JB![]() Legend ![]() ![]() ![]() ![]() ![]() Posts: 434 Joined: 6/6/2006 ![]() |
Jim I am sorry that I seem to still have confused you. Once again many many thanks for your time and the improved code. The point that I am making is that the code which Matt put out as OT2009 indicator equivalent plots a different set of pivots from the FloorPivots indicator that is currently canned with OT12. The 'fault' appears to be with the OT canned code not Matts as such. It seems that they are calculating the pivot formulas differently and the canned system will under some circumstances apparently not display correctly. The Fuschia colored, dashed heavy printed pivots in the earlier post picture ARE the Centre pivots of the canned OT12 Indicator. A review of the price pane top left indicators status shows that the CENTRE pivot is chosen for active display. I hope this now makes my first point clear IE. that when Matt's code is plotted showing the two levels L1 and H1 and the canned code is plotted with just the centre pivot active tha canned centre pivot does not fall between H1 and L1 of Matt's code as would be expected if the indicators were based on the same calcualtion! The Second point was that if an additional copy of the canned code is activated to say show its S1 level ONLY it does not display correctly. [Edited by JB on 11/4/2012 4:04 AM] ![]() | ||
^ Top | |||
Barry Cohen![]() Idol ![]() ![]() ![]() ![]() Posts: 2309 Joined: 1/1/1900 ![]() |
The Line Settings seem to be off on some of the parameters. Maybe this will help you to work around it... Center Pivot = P Bottom Pivot = B Top Pivot = T Resist1 = R1 Resist2 = R2 Resist3 = R3 Resist4 = R4 Support1 = B Support2 = S1 Support3 = S2 Support4 = S3 | ||
^ Top | |||
JB![]() Legend ![]() ![]() ![]() ![]() ![]() Posts: 434 Joined: 6/6/2006 ![]() |
Barry thanks that seems likely have a good weekend |
|
|
Legend | Action | Notification | |||
Administrator
Forum Moderator |
Registered User
Unregistered User |
![]() |
Toggle e-mail notification |