Hi there!
I have a few questions regarding the Synchronize method.
1) Can I use the Synchronize() method outside a strategy? If yes, how?
2) Is there a Synchronize() method which synchronizes one DataSeries to another independent from the Bars object, e.g. Synchronize( ds1, ds2)?
3) Is there a Synchronize() method which synchronizes Bars objects in the same way as in point 2?
Many thanks
Konstantin
Size:
Color:
1) What is the purpose?
2) No need for an extra method. You can already synchronize between different DataSeries. Just give it a try.
3) Yes. Strike F11, start typing the first letters of Synchronize, and you'll find the method's description and calling convention. The requested version will be there.
Size:
Color:
1) I am writing an indicator which needs to synchronize some DataSeries of different lengths. I thought it might be great to be able to use Synchronize().
2) Do you mean the option of using SetContext() and then Synchronize()? If not, then I really cannot find any Synchronize() method with two or more arguments. Could you please help me?
3) Sorry, I missed that.
Size:
Color:
1) Thanks, I see it. No,
this Synchronize can't be used in this context. Good news: there is undocumented (read: your usage is unsupported) method BarScaleConverter.Synchronize. Once I was after a similar task (plotting external symbol as drag and drop indicator) and this saved me. For an example of its usage, download the open source code of
Community Components Community Indicators and see the ../Helper/
ExternalSymbolPlotter.cs class
2) You're not missing anything. You don't need it. ds1 =
Synchronize(ds2). Does this ring a bell?
Size:
Color:
Hi Eugene,
1) I downloaded the source code of Community Components. Unfortunately there is no su h file as ExternalSymbolPlotter.cs. Could you please help?
2) I think we had here a misunderstanding. I mean that I have two DataSeries objects which are not synchronised to the primary Bars and would like to synchronise one to the other. If I use ds1 = Synchronize (ds2) it will synchronize ds2 to the primary bars. At least I understand it this way. What I mean is someting more like that: ds3 = Snchronize (ds1, ds2). I guess I can do it with SetContext ().
Size:
Color:
Size:
Color:
Hi Eugene!
Thank you very much! This is exactly what I need.
QUOTE:
Good news: there is undocumented (read: your usage is unsupported) method BarScaleConverter.Synchronize.
I understand this the way that if I find any bugs then there will be no support from your side. Is that correct?
Who is the owner or author of the BarScaleConverter class then?
Many thanks
Konstantin
Size:
Color:
QUOTE:
I understand this the way that if I find any bugs then there will be no support from your side. Is that correct?
This, and if you have
any questions w.r.t. its usage, too. This is the policy for all internal, undocumented methods not intended to be consumed by the end user.
QUOTE:
Who is the owner or author of the BarScaleConverter class then?
This is an internal Wealth-Lab function. I won't expect you to find any bugs there. It's an important (core) component.
Size:
Color:
The methods of the BarScaleConverter class are straight forward. I am quite sure I will get along with them.
Many thanks!
Size:
Color: