Defines the history building type in created historical data request.



SYNTAX

public HistoryType HistoryType { get; set; }



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;
             HistoryType HT = CurrentData.HistoryType == HistoryType.Renko ? HistoryType.Renko : HistoryType.Simple;
             HistoricalDataRequest HistReq = new HistoricalDataRequest(inst, Period.Day, DataType.Ask, HT, 10, 0, BarsAggregations.None);
             Print("History type is"+ HistReq.HistoryType.ToString());
         }
     }
}