# MidaTimeframe

Timeframes are represented by the MidaTimeframe namespace.

TIP

Mida timeframes are expressed as a number of seconds

  • Interface
enum MidaTimeframe {
    /** 1 second */
    S1 = 1,
    /** 1 minute */
    M1 = 60,
    /** 5 minutes */
    M5 = 300,
    /** 15 minutes */
    M15 = 900,
    /** 30 minutes */
    M30 = 1800,
    /** 1 hour */
    H1 = 3600,
    /** 4 hours */
    H4 = 14400,
    /** 1 day */
    D1 = 86400,
    /** 1 week */
    W1 = 604800,
    /** 1 month */
    MO1 = 2592000,
    /** 1 year */
    Y1 = 31536000,
}