Defines special style of building history. Use only for Renko and PnF.
SYNTAX
public BarsAggregations HistoryMode { 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;
HistoricalDataRequest HistReq = new HistoricalDataRequest(inst,Period.Day);
Print(HistReq.DataType);
Print(HistReq.HistoryMode);
Print(HistReq.HistorySize);
Print(HistReq.HistoryType);
Print(HistReq.Instrument);
Print(HistReq.Period);
Print(HistReq.Reversal);
Print(HistReq.Extension);
Print(HistReq.Inversion);
}
}
}