Page 8 of 9

Re: New PIVOT indicator

PostPosted: Wed Jun 12, 2013 9:28 am
by gpatel
Is there anyway you can change the standard pivot indicator to work on Tick chart (Timeframe for pivot is not tick)? I'm trying to make this change and first change the following line to core.Tick from core.Bar

before:
indicator:requiredSource(core.Bar);
after:
indicator:requiredSource(core.Tick);

but I get an error on the following line
core.getcandle(source:barSize(), core.now(), 0);

I understand that here the source expected is a bar source so I need to change the source used for the indicator to use barsource. How do I get that source when the indicator is applied to tick chart?

Thanks

Re: New PIVOT indicator

PostPosted: Mon Jun 17, 2013 6:37 am
by gpatel
Does anyone know or should I consider this impossible? There is no documentation I can find on the update that differentiated bar charts from tick charts. Most people I ask just say change core.bar to core.tick and it should work. Any marketscope programmer knows that will never be enough.

Re: New PIVOT indicator

PostPosted: Tue Jun 18, 2013 8:17 am
by Apprentice
Possible perhaps.
But you have one fundamental problem.
Pivot requires bar chart (open, close, high, low) for the calculation,
Tick ​​provides only one data point.

Re: New PIVOT indicator

PostPosted: Tue Jun 18, 2013 8:43 am
by gpatel
Yea, but is there a way to get bar data (1m) in to tick chart and calculate pivot on bar data (1m) and show the pivot lines on tick chart?

Re: New PIVOT indicator

PostPosted: Tue Aug 20, 2013 12:27 pm
by nuhocodebase
Hello,
Is it possible to create a pivot point on the bar and not over the previous bar.
If so, would it be possible to choose the time frame of this line as well as its style and color
thank you
Regards
nuho

Re: New PIVOT indicator

PostPosted: Thu Aug 22, 2013 1:49 am
by Apprentice
This is possible.
Your request is added to the development list.

Re: New PIVOT indicator

PostPosted: Wed Nov 13, 2013 2:14 pm
by pdesai
Hi
Is it at all possible to plot historical levels which are not connected in the new pivot indicator? ,currently this makes the chart look untidy.Also when ploting the original indicator there is an error message " pivot.lua 310 unknown label location.." can this be fixed? i like the original version
many thanks

Re: New PIVOT indicator

PostPosted: Wed Nov 13, 2013 4:17 pm
by Outside_The_Box
pdesai wrote:Hi
Is it at all possible to plot historical levels which are not connected in the new pivot indicator? ,currently this makes the chart look untidy.Also when ploting the original indicator there is an error message " pivot.lua 310 unknown label location.." can this be fixed? i like the original version
many thanks


I've been getting the same error when trying to apply pivots. For some reason though, my templates that have pivots load just fine, I only have that error when applying them to a new chart. Probably a bug in MarketScope.

Re: New PIVOT indicator

PostPosted: Thu Nov 14, 2013 4:23 am
by Apprentice
I could not reproduce this.
Furthermore.
On line 310 we have a comment, Which can not give this error message.
Can you specify which version of Pivot Indicator you are using.

Re: New PIVOT indicator

PostPosted: Thu Nov 14, 2013 5:07 am
by Outside_The_Box
Image

The only version I have is the default one that was already included in MarketScope.