saveOverrideIndicatorAction = async (
  logger,
  type,
  overrideData,
  overrideReason
) => {
  await cache.hset(
    'trailing-trade-indicator-override',
    type,
    JSON.stringify(overrideData)
  );

  const notify = _.get(overrideData, 'notify', true);

  if (notify) {
    slack.sendMessage(
      `Action - Queued action: ${overrideData.action}\n` +
        `- Message: ${overrideReason}`,
      { apiLimit: getAPILimit(logger) }
    );

    PubSub.publish('frontend-notification', {
      type: 'info',
      title: overrideReason
    });
  }
}
Save override action for indicator

@param {*} logger
@param {*} type
@param {*} overrideData
@param {*} overrideReason