Package velox.api.layer1
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
This request is used when this strategy was selected in strategies dialog- Parameters:
alias
- alias of instrument that is currently opened by userindicatorName
- 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)
-