Constructor for historical data request with all possible input parameters, including special params for Renko Advanced mode.



SYNTAX

public HistoricalDataRequest (Instrument instrument,int period,DataType dataType,HistoryType historyType,int historySize,int reversal,BarsAggregations mode,double extension,double inversion)



PARAMETERS


instrument — Instrument


period — int


dataType — DataType


historyType — HistoryType


historySize — int


reversal — int


mode — BarsAggregations


extension — double


inversion — double






EXAMPLE

using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;

namespace HistoricalDataRequestExamples
{
     public class HistoricalDataRequestExamples : NETStrategy
     {
         public override void OnQuote()
         {
             Instrument inst = Instruments.Current;
             HistoricalData Hist =GetHistoricalData(new HistoricalDataRequest(inst,Period.Day,DataType.Ask,HistoryType.Simple,20,0,BarsAggregations.None,100,100));
         }
     }
}