2016-11-13 23:24:38 +02:00
|
|
|
using System.Collections;
|
2016-05-12 13:46:06 +03:00
|
|
|
|
|
|
|
|
namespace MtApi.Requests
|
|
|
|
|
{
|
2016-11-13 23:24:38 +02:00
|
|
|
internal class ICustomRequest : RequestBase
|
2016-05-12 13:46:06 +03:00
|
|
|
{
|
|
|
|
|
public enum ParametersType
|
|
|
|
|
{
|
|
|
|
|
Int = 0,
|
|
|
|
|
Double = 1,
|
|
|
|
|
String = 2,
|
|
|
|
|
Boolean = 3
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string Symbol { get; set; }
|
|
|
|
|
public int Timeframe { get; set; }
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public int Mode { get; set; }
|
|
|
|
|
public int Shift { get; set; }
|
|
|
|
|
public ArrayList Params { get; set; }
|
|
|
|
|
public ParametersType ParamsType { get; set; }
|
|
|
|
|
|
2016-11-13 23:24:38 +02:00
|
|
|
public override RequestType RequestType => RequestType.iCustom;
|
2016-05-12 13:46:06 +03:00
|
|
|
}
|
|
|
|
|
}
|