public void SetCustomTag(CustomPriceBarTag tag, bool isSet) { if (isSet) { CustomTags |= tag; } else { CustomTags &= ~tag; } }
public bool GetCustomFlag(CustomPriceBarTag tag) { return((CustomTags &= tag) == tag); }