Issue #92: Added functions IndicatorCreate and IndicatorRelease

This commit is contained in:
vdemydiuk
2018-02-27 09:49:26 +02:00
parent c86a3a3752
commit f7e06c1570
11 changed files with 273 additions and 4 deletions
+14
View File
@@ -0,0 +1,14 @@
using System.Collections.Generic;
namespace MtApi5.Requests
{
internal class IndicatorCreateRequest: RequestBase
{
public override RequestType RequestType => RequestType.IndicatorCreate;
public string Symbol { get; set; }
public ENUM_TIMEFRAMES Period { get; set; }
public ENUM_INDICATOR IndicatorType { get; set; }
public List<MqlParam> Parameters { get; set; }
}
}
+2 -1
View File
@@ -10,6 +10,7 @@ namespace MtApi5.Requests
OrderSend = 3,
PositionOpen = 4,
OrderCheck = 5,
MarketBookGet = 6
MarketBookGet = 6,
IndicatorCreate = 7
}
}