Reversal
property
The amount of price movement required to shift a chart to the right. This condition is used on charts that only take into consideration price movement instead of both price and time
Syntax
public int Reversal { 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);
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.