Skip to content

MarketSessionChangedEventArgs

Summary

The arguments for MarketSessionsChanged event.

Signature

1
public class MarketSessionChangedEventArgs

Namespace

cAlgo.API

See Also

Properties

NewSessions

Summary

All current sessions including any new sessions that have just begun.The value of NewSessions is always equal to the value of the MarketSessions property of a cBot / indicator.Returns MarketSession.None if no new sessions started when the MarketSessionsChanged event was triggered.

Signature

1
public MarketSession NewSessions {get;}

Return Value

MarketSession

PreviousSessions

Summary

Returns the previous value of the MarketSessions property before the MarketSessionsChanged event was triggered.Returns MarketSession.None if no previous sessions ended when the event was triggered.

Signature

1
public MarketSession PreviousSessions {get;}

Return Value

MarketSession