Changes

Jump to navigation Jump to search
no edit summary
Resolution structure helps to determine both regular and irregular resolutions.
* <div style="background-color: #E5F6FF;">'''Example of determining a regular resolution:'''</div>
<syntaxhighlight>
Resolution _res = new Resolution(EResolution.Tick, 10);
</syntaxhighlight>
If the request resolution is set in this way then 10-tick data will be requested.
</div>
 * <div style="background-color: #E5F6FF;">'''Example of determining an irregular resolution:'''</div>
<syntaxhighlight>
Resolution _res = Resolution.CreatePointAndFigure(EResolution.Tick, 10, 0.001, 3, PointAndFigureBasis.HighLow, true);
</syntaxhighlight>
</div>
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.

Navigation menu