Interface IndicatorColorScheme


public interface IndicatorColorScheme
Describes colors given to certain indicator values when indicator is drawn using default lines on bottom panel
  • Method Details

    • getColorFullName

      static String getColorFullName(String userName, Class<?> strategyClass)
    • getColors

      Return all used colors description
    • getColorFor

      String getColorFor(Double value)
      Return color that should be used for this value
    • getColorIntervalsList

      IndicatorColorScheme.ColorIntervalResponse getColorIntervalsList(double valueFrom, double valueTo)
      Parameters:
      valueFrom -
      valueTo -
      Returns:
      intervals for all colors that should be used for values in interval [valueFrom, valueTo]
    • getMainColorName

      default String getMainColorName()
    • getDefaultColor

      default Color getDefaultColor()