Interface Layer1CustomPanelsGetter


public interface Layer1CustomPanelsGetter
Implement this interface if you want strategy to show custom panels when selected in strategies dialog
  • Method Summary

    Modifier and Type Method Description
    StrategyPanel[] getCustomGuiFor​(java.lang.String alias, java.lang.String indicatorName)
    This request is used when this strategy was selected in strategies dialog
  • Method Details

    • getCustomGuiFor

      StrategyPanel[] getCustomGuiFor​(java.lang.String alias, java.lang.String indicatorName)
      This request is used when this strategy was selected in strategies dialog
      Parameters:
      alias - alias of instrument that is currently opened by user
      indicatorName - if strategy was selected via settings button of strategies configuration popup this will be the name of indicator (useful if you have more then 1 indicator created by strategy), null if strategy was selected in strategies dialog with corresponding button click
      Returns:
      panels with specified titles that will be displayed in dialog when strategy is selected (first panel is topmost)