4.7.4 Receiving the data for any symbol and any resolution. DataLoader: Difference between revisions
From MultiCharts
4.7.4 Receiving the data for any symbol and any resolution. DataLoader (view source)
Revision as of 17:00, 3 May 2013
, 3 May 2013no edit summary
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
Resolution structure helps to determine both regular and irregular resolutions. | Resolution structure helps to determine both regular and irregular resolutions. | ||
* <div style="background-color: #E5F6FF;">'''Example of determining a regular resolution:''' | * <div style="background-color: #E5F6FF;">'''Example of determining a regular resolution:'''</div> | ||
<syntaxhighlight> | <syntaxhighlight> | ||
Resolution _res = new Resolution(EResolution.Tick, 10); | Resolution _res = new Resolution(EResolution.Tick, 10); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
If the request resolution is set in this way then 10-tick data will be requested. | If the request resolution is set in this way then 10-tick data will be requested. | ||
* <div style="background-color: #E5F6FF;">'''Example of determining an irregular resolution:''' | |||
* <div style="background-color: #E5F6FF;">'''Example of determining an irregular resolution:'''</div> | |||
<syntaxhighlight> | <syntaxhighlight> | ||
Resolution _res = Resolution.CreatePointAndFigure(EResolution.Tick, 10, 0.001, 3, PointAndFigureBasis.HighLow, true); | Resolution _res = Resolution.CreatePointAndFigure(EResolution.Tick, 10, 0.001, 3, PointAndFigureBasis.HighLow, true); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
If the request resolution is set in this way, then the PointAndFigure resolution based on a 10-tick resolution, BoxSize = 0.001, Reversal = 3, HighLow Basis and BreakOnSession enabled will be returned. | If the request resolution is set in this way, then the PointAndFigure resolution based on a 10-tick resolution, BoxSize = 0.001, Reversal = 3, HighLow Basis and BreakOnSession enabled will be returned. |