mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-20 22:28:17 +00:00
Issue #290: provide information about Period (Timeframe) in event Mt5TimeBar
This commit is contained in:
@@ -4,15 +4,17 @@ namespace MtApi5
|
||||
{
|
||||
public class Mt5TimeBarArgs: EventArgs
|
||||
{
|
||||
internal Mt5TimeBarArgs(int expertHandle, string symbol, MqlRates rates)
|
||||
internal Mt5TimeBarArgs(int expertHandle, string symbol, ENUM_TIMEFRAMES timeframe, MqlRates rates)
|
||||
{
|
||||
ExpertHandle = expertHandle;
|
||||
Rates = rates;
|
||||
Symbol = symbol;
|
||||
Timeframe = timeframe;
|
||||
}
|
||||
|
||||
public int ExpertHandle { get; }
|
||||
public string Symbol { get; }
|
||||
public ENUM_TIMEFRAMES Timeframe { get; }
|
||||
public MqlRates Rates { get; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user