Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package PtestForDummies;
- import com.motivewave.platform.sdk.common.*;
- import com.motivewave.platform.sdk.common.Enums.MAMethod;
- import com.motivewave.platform.sdk.common.desc.*;
- import com.motivewave.platform.sdk.draw.Label;
- import com.motivewave.platform.sdk.draw.Line;
- import com.motivewave.platform.sdk.draw.Marker;
- import com.motivewave.platform.sdk.study.Plot;
- import com.motivewave.platform.sdk.study.RuntimeDescriptor;
- import com.motivewave.platform.sdk.study.StudyHeader;
- import java.awt.*;
- @StudyHeader(
- namespace="com.none",
- id="TestPlots",
- name="Plot Testing for Dummies",
- desc="I still believe something is wrong",
- menu="VB6.systems",
- label="Plot testing for Dummies",
- overlay=false,
- studyOverlay=false,
- signals=true,
- secured=false,
- // requiresBarUpdates = true,
- underlayByDefault = true)
- public class testPlots_for_Forum extends com.motivewave.platform.sdk.study.Study {
- enum Values {
- TOP, MIDDLE, BOTTOM, FAST, SLOW, FILTER, HHH_TUNNEL, XXX_OSC, XXX_SIGNAL,
- YYY1, YYY1_K, YYY2, YYY2_K, YYY3, YYY3_K, YYY4, YYY4_K, WWWWR, ZZZ, ZZZ_UP, ZZZ_DOWN
- }
- enum zzMarkers {
- XXXZZZ1, XXXZZZ2, XXXZZZ3, XXXZZZ4, XXXZZZ5
- }
- enum EntrySignals {
- FILTER_CROSS_ABOVE_TUNNEL, FILTER_CROSS_BELOW_TUNNEL,
- TOP_CROSS_ABOVE_TUNNEL, TOP_CROSS_BELOW_TUNNEL,
- BOTTOM_CROSS_ABOVE_TUNNEL, BOTTOM_CROSS_BELOW_TUNNEL
- }
- ;
- // Cleared
- final static String TOP_PATH = "topPath";
- final static String TOP_IND = "topInd";
- final static String MIDDLE_PATH = "middlePath";
- final static String MIDDLE_IND = "middleInd";
- final static String BOTTOM_PATH = "bottomPath";
- final static String BOTTOM_IND = "bottomInd";
- // Filter
- final static String FILTER_PATH = "filterPath";
- final static String FILTER_IND = "filterInd";
- // Tunnel
- final static String FAST_PATH = "fastPath";
- final static String FAST_IND = "fastInd";
- final static String SLOW_PATH = "slowPath";
- final static String SLOW_IND = "slowInd";
- //HHH Tunnel
- final static String HHHTUNNEL_PATH = "HHHTunnelPath";
- final static String HHHTUNNEL_IND = "HHHTunnelInd";
- final static String HHHTUNNEL_PERIOD = "HHHTunnelPeriod";
- // XXX_some Oscillator
- final static String SIGNAL_PATH = "signalPath";
- final static String SIGNAL_IND = "signalInd";
- final static String UP_COLOR = "upColor";
- final static String DOWN_COLOR = "downColor";
- final static String XXX_IND = "XXXInd";
- // BBBBBBB Plus
- final static String YYY1_PATH = "YYY1Path";
- final static String YYY1_IND = "YYY1Ind";
- final static String YYY2_PATH = "YYY2Path";
- final static String YYY2_IND = "YYY2Ind";
- final static String YYY3_PATH = "YYY3Path";
- final static String YYY3_IND = "YYY3Ind";
- final static String YYY4_PATH = "YYY4Path";
- final static String YYY4_IND = "YYY4Ind";
- final static String WWWWR_PATH = "WWWWrPath";
- final static String WWWWR_IND = "WWWWrInd";
- final static String ZZZ_PATH = "ZZZPath";
- final static String ZZZ_IND = "ZZZInd";
- // Markers
- final static String FILTER_UP_MARKER = "filterUpMarker";
- final static String FILTER_DOWN_MARKER = "filterDownMarker";
- final static String TOP_WAVE_UP_MARKER = "topWaveUpMarker";
- final static String TOP_WAVE_DOWN_MARKER = "topWaveDownMarker";
- final static String BOTTOM_WAVE_UP_MARKER = "bottomWaveUpMarker";
- final static String BOTTOM_WAVE_DOWN_MARKER = "bottomWaveDownMarker";
- //XXXZZZ
- final static String ZZ_MARKER1 = "zzMarker1";
- final static String ZZ_MARKER2 = "zzMarker2";
- final static String ZZ_MARKER3 = "zzMarker3";
- final static String ZZ_MARKER4 = "zzMarker4";
- final static String ZZ_MARKER5 = "zzMarker5";
- final static String MMM_MARKER_1 = "MMMMarker1";
- final static String MMM_MARKER_2 = "MMMMarker2";
- final static String MMM_MARKER_3 = "MMMMarker3";
- final static String DEPTH1 = "depth1";
- final static String NUMBER_PIPS1 = "numberPips1";
- final static String BACK_STEP1 = "backStep1";
- final static String DEPTH2 = "depth2";
- final static String NUMBER_PIPS2 = "numberPips2";
- final static String BACK_STEP2 = "backStep2";
- final static String DEPTH3 = "depth3";
- final static String NUMBER_PIPS3 = "numberPips3";
- final static String BACK_STEP3 = "backStep3";
- final static String DEPTH4 = "depth4";
- final static String NUMBER_PIPS4 = "numberPips4";
- final static String BACK_STEP4 = "backStep4";
- final static String DEPTH5 = "depth5";
- final static String NUMBER_PIPS5 = "numberPips5";
- final static String BACK_STEP5 = "backStep5";
- final static String STACK = "stack";
- final static String First_PLOT = "FirstPlot";
- final static String Second_PLOT = "SecondPlot";
- final static String Third_PLOT = "ThirdPlot";
- public static final Color GOLD = new Color(255, 215, 0);
- public static final Color RED = new Color(255, 0, 0);
- public static final Color BLUE = new Color(0, 255, 255);
- public static final Color MAGENTA = new Color(255, 0, 255);
- public static final Color BrGreen = new Color(0, 255, 0);
- public static final Color Violet = new Color(238, 130, 238);
- public static final Color Purple = new Color(136, 64, 190);
- public Coordinate draw = null;
- public Line l = null;
- protected final static String TOTAL_FONT = "totalFont";
- public Marker mark = new Marker(null, null, null);
- @Override
- public void initialize(Defaults defaults) {
- SettingsDescriptor sd = new SettingsDescriptor();
- setSettingsDescriptor(sd);
- addSettingTabs(sd, defaults);
- RuntimeDescriptor desc = new RuntimeDescriptor();
- desc.exportValue(new ValueDescriptor(Values.TOP, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.MIDDLE, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.BOTTOM, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.FAST, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.SLOW, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.FILTER, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.HHH_TUNNEL, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.XXX_OSC, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.XXX_SIGNAL, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.YYY1, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.YYY2, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.YYY3, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.YYY4, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.WWWWR, "Something", null));
- desc.exportValue(new ValueDescriptor(Values.ZZZ, "Something", null));
- desc.exportValue(new ValueDescriptor(zzMarkers.XXXZZZ1, "Something", null));
- desc.exportValue(new ValueDescriptor(zzMarkers.XXXZZZ2, "Something", null));
- desc.exportValue(new ValueDescriptor(zzMarkers.XXXZZZ3, "Something", null));
- desc.exportValue(new ValueDescriptor(zzMarkers.XXXZZZ4, "Something", null));
- desc.exportValue(new ValueDescriptor(zzMarkers.XXXZZZ5, "Something", null));
- desc.declareSignal(EntrySignals.FILTER_CROSS_ABOVE_TUNNEL, "Filter Crosses Above Tunnel");
- desc.declareSignal(EntrySignals.FILTER_CROSS_BELOW_TUNNEL, "Filter Crosses Below Tunnel");
- desc.declareSignal(EntrySignals.TOP_CROSS_ABOVE_TUNNEL, "Top Crosses Above Tunnel");
- desc.declareSignal(EntrySignals.TOP_CROSS_BELOW_TUNNEL, "Top Crosses Below Tunnel");
- desc.declareSignal(EntrySignals.BOTTOM_CROSS_ABOVE_TUNNEL, "Bottom Crosses Above Tunnel");
- desc.declareSignal(EntrySignals.BOTTOM_CROSS_BELOW_TUNNEL, "Bottom Crosses Below Tunnel");
- // Price plot
- desc.getPricePlot().declarePath(Values.TOP, TOP_PATH);
- desc.getPricePlot().declareIndicator(Values.TOP, TOP_IND);
- desc.getPricePlot().declarePath(Values.MIDDLE, MIDDLE_PATH);
- desc.getPricePlot().declareIndicator(Values.MIDDLE, MIDDLE_IND);
- desc.getPricePlot().declarePath(Values.BOTTOM, BOTTOM_PATH);
- desc.getPricePlot().declareIndicator(Values.BOTTOM, BOTTOM_IND);
- desc.getPricePlot().declarePath(Values.FAST, FAST_PATH);
- desc.getPricePlot().declareIndicator(Values.FAST, FAST_IND);
- desc.getPricePlot().declarePath(Values.SLOW, SLOW_PATH);
- desc.getPricePlot().declareIndicator(Values.SLOW, SLOW_IND);
- desc.getPricePlot().declarePath(Values.FILTER, FILTER_PATH);
- desc.getPricePlot().declareIndicator(Values.FILTER, FILTER_IND);
- desc.getPricePlot().declarePath(Values.HHH_TUNNEL, HHHTUNNEL_PATH);
- desc.getPricePlot().declareIndicator(Values.HHH_TUNNEL, HHHTUNNEL_IND);
- desc.getPricePlot().setMinTick(0.0000001);
- // Some Plot
- Plot firstPlot = new Plot();
- desc.addPlot(First_PLOT, firstPlot);
- firstPlot.setLabelPrefix("Something");
- firstPlot.declarePath(Values.XXX_SIGNAL, SIGNAL_PATH);
- firstPlot.declareBars(Values.XXX_OSC);
- firstPlot.declareIndicator(Values.XXX_SIGNAL, SIGNAL_IND);
- firstPlot.declareIndicator(Values.XXX_OSC, XXX_IND);
- firstPlot.setRangeKeys(Values.XXX_OSC, Values.XXX_SIGNAL);
- firstPlot.addHorizontalLine(new LineInfo(0, null, 1.0f, new float[] {3,3}));
- // Some other Plot
- Plot secondPlot = new Plot();
- desc.addPlot(Second_PLOT, secondPlot);
- secondPlot.setLabelPrefix("Something Else ");
- secondPlot.declarePath(Values.YYY1, YYY1_PATH);
- secondPlot.declarePath(Values.YYY2, YYY2_PATH);
- secondPlot.declarePath(Values.YYY3, YYY3_PATH);
- secondPlot.declarePath(Values.YYY4, YYY4_PATH);
- secondPlot.declarePath(Values.WWWWR, WWWWR_PATH);
- secondPlot.declarePath(Values.ZZZ, ZZZ_PATH);
- secondPlot.declareIndicator(Values.YYY1, YYY1_IND);
- secondPlot.declareIndicator(Values.YYY2, YYY2_IND);
- secondPlot.declareIndicator(Values.YYY3, YYY3_IND);
- secondPlot.declareIndicator(Values.YYY4, YYY4_IND);
- secondPlot.declareIndicator(Values.WWWWR, WWWWR_IND);
- secondPlot.declareIndicator(Values.ZZZ, ZZZ_IND);
- secondPlot.setRangeKeys(Values.YYY1 , Values.YYY2, Values.YYY3, Values.YYY4, Values.WWWWR, Values.ZZZ);
- secondPlot.declareGuide(Inputs.TOP_GUIDE);
- secondPlot.declareGuide(Inputs.MIDDLE_GUIDE);
- secondPlot.declareGuide(Inputs.BOTTOM_GUIDE);
- // MMM Plot
- Plot thirdPlot = new Plot();
- desc.addPlot(Third_PLOT, thirdPlot);
- // MMMPlot.setTabName("MMM");
- thirdPlot.setLabelPrefix("Something Else too");
- thirdPlot.setMaxBottomValue(0);
- thirdPlot.setMinTopValue(100);
- thirdPlot.setMinTick(0.1);
- desc.setRangeKeys(Values.YYY1, Values.YYY2, Values.YYY3, Values.YYY4, Values.WWWWR, Values.ZZZ);
- desc.setMaxBottomValue(10);
- desc.setMinTopValue(90);
- desc.setMinTick(0.00001);
- setRuntimeDescriptor(desc);
- setMinBars(158 * 8);
- }
- protected void addSettingTabs(SettingsDescriptor sd, Defaults defaults) {
- // Wave Settings
- SettingTab tab = new SettingTab("Cleared");
- sd.addTab(tab);
- SettingGroup group = new SettingGroup("Display");
- tab.addGroup(group);
- group.addRow(new PathDescriptor(TOP_PATH, "Upper Line", defaults.getPurple(), 1.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(TOP_IND, "Upper Ind", defaults.getPurple(), null, false, false, true));
- group.addRow(new PathDescriptor(MIDDLE_PATH, "Middle Line", defaults.getPurple(), 1.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(MIDDLE_IND, "Middle Ind", defaults.getPurple(), null, false, false, true));
- group.addRow(new PathDescriptor(BOTTOM_PATH, "Upper Line", defaults.getPurple(), 1.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(BOTTOM_IND, "Lower Ind", defaults.getPurple(), null, false, false, true));
- // Tunnel Settings
- tab = new SettingTab("Tunnel");
- sd.addTab(tab);
- group = new SettingGroup("Display");
- tab.addGroup(group);
- group.addRow(new PathDescriptor(FAST_PATH, "Fast Line", defaults.getLineColor(), 1.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(FAST_IND, "Fast Ind", null, null, false, false, true));
- group.addRow(new PathDescriptor(SLOW_PATH, "Slow Line", defaults.getLineColor(), 1.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(SLOW_IND, "Slow Ind", null, null, false, false, true));
- group.addRow(new PathDescriptor(FILTER_PATH, "Filter Line", BrGreen, 1.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(FILTER_IND, "Filter Ind", BrGreen, null, false, false, true));
- group.addRow(new PathDescriptor(HHHTUNNEL_PATH, "HHH Tunnel Line", defaults.getLineColor(), 2.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(HHHTUNNEL_IND, "HHH Tunnel Ind", defaults.getTextColor(), defaults.getBackgroundColor(), false, false, true));
- group.addRow(new IntegerDescriptor(HHHTUNNEL_PERIOD, "HHH Tunnel Period", 20, 1, 9999, 1));
- group.addRow(new FontDescriptor(TOTAL_FONT, get("HFT Label Font"), defaults.getFont()));
- // XXX_some Oscillator Settings
- tab = new SettingTab("XXX_some Osc");
- sd.addTab(tab);
- group = new SettingGroup("Display");
- tab.addGroup(group);
- group.addRow(new PathDescriptor(SIGNAL_PATH, "Signal Line", defaults.getRedLine(), 1.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(SIGNAL_IND, "Signal Ind", defaults.getRed(), null, false, false, true));
- group.addRow(new IndicatorDescriptor(XXX_IND, "Indicator", null, null, false, false, true));
- group.addRow(new ColorDescriptor(UP_COLOR, "Up Color", defaults.getGreen()));
- group.addRow(new ColorDescriptor(DOWN_COLOR, "Down Color", defaults.getRed()));
- // BBBBBBB Plus Settings
- tab = new SettingTab("BBBBBBB");
- sd.addTab(tab);
- group = new SettingGroup("Display");
- tab.addGroup(group);
- group.addRow(new PathDescriptor(YYY1_PATH, "YYY 1", defaults.getYellowLine(), 2.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(YYY1_IND, "YYY 1 Ind", defaults.getYellow(), null, false, false, true));
- group.addRow(new PathDescriptor(YYY2_PATH, "YYY 2", defaults.getGreenLine(), 2.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(YYY2_IND, "YYY 2 Ind", defaults.getGreen(), null, false, false, true));
- group.addRow(new PathDescriptor(YYY3_PATH, "YYY 3", defaults.getBlueLine(), 2.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(YYY3_IND, "YYY 3 Ind", defaults.getBlue(), null, false, false, true));
- group.addRow(new PathDescriptor(YYY4_PATH, "YYY 4", defaults.getRedLine(), 2.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(YYY4_IND, "YYY 4 Ind", defaults.getRed(), null, false, false, true));
- group.addRow(new PathDescriptor(WWWWR_PATH, "WWWW ", defaults.getPurple(), 2.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(WWWWR_IND, "WWWW Ind", defaults.getPurple(), null, false, false, true));
- group.addRow(new PathDescriptor(ZZZ_PATH, "ZZZ ", defaults.getLineColor(), 2.0f, null, true, true, true));
- group.addRow(new IndicatorDescriptor(ZZZ_IND, "ZZZ Ind", defaults.getLineColor(), null, false, false, true));
- sd.addInvisibleSetting(new GuideDescriptor(Inputs.TOP_GUIDE, "Top Guide", 80, 1, 100, 1, true));
- GuideDescriptor mg = new GuideDescriptor(Inputs.MIDDLE_GUIDE, "Middle Guide", 50, 1, 100, 1, true);
- mg.setDash(new float[]{3, 3});
- sd.addInvisibleSetting(mg);
- sd.addInvisibleSetting(new GuideDescriptor(Inputs.BOTTOM_GUIDE, "Bottom Guide", 20, 1, 100, 1, true));
- //XXXZZZ Settings
- tab = new SettingTab("XXXZZZ");
- sd.addTab(tab);
- setSettingsDescriptor(sd);
- SettingGroup inputs = new SettingGroup("XXXZZZ Inputs");
- inputs.addRow(new IntegerDescriptor(DEPTH1, "1 Depth", 1, 1, 9999, 1),
- new IntegerDescriptor(NUMBER_PIPS1, "Deviation", 1, 1, 9999, 1),
- new IntegerDescriptor(BACK_STEP1, "Backstep", 1, 1, 9999, 1));
- inputs.addRow(new IntegerDescriptor(DEPTH2, "2 Depth", 1, 1, 9999, 1),
- new IntegerDescriptor(NUMBER_PIPS2, "Deviation", 1, 1, 9999, 1),
- new IntegerDescriptor(BACK_STEP2, "Backstep", 1, 1, 9999, 1));
- inputs.addRow(new IntegerDescriptor(DEPTH3, "3 Depth", 1, 1, 9999, 1),
- new IntegerDescriptor(NUMBER_PIPS3, "Deviation", 1, 1, 9999, 1),
- new IntegerDescriptor(BACK_STEP3, "Backstep", 1, 1, 9999, 1));
- inputs.addRow(new IntegerDescriptor(DEPTH4, "4 Depth", 1, 1, 9999, 1),
- new IntegerDescriptor(NUMBER_PIPS4, "Deviation", 1, 1, 9999, 1),
- new IntegerDescriptor(BACK_STEP4, "Backstep", 1, 1, 9999, 1));
- inputs.addRow(new IntegerDescriptor(DEPTH5, "5 Depth", 1, 1, 9999, 1),
- new IntegerDescriptor(NUMBER_PIPS5, "Deviation", 1, 1, 9999, 1),
- new IntegerDescriptor(BACK_STEP5, "Backstep", 1, 1, 9999, 1));
- inputs.addRow(new BooleanDescriptor(STACK, "Stack XXXZZZ Markers", true));
- tab.addGroup(inputs);
- // Markers
- tab = new SettingTab("Markers");
- sd.addTab(tab);
- group = new SettingGroup("Stuff");
- tab.addGroup(group);
- group.addRow(new MarkerDescriptor(FILTER_UP_MARKER, "Filter Above Tunnel",
- Enums.MarkerType.LINE_ARROW, Enums.Size.LARGE, BrGreen, BrGreen, false, true));
- group.addRow(new MarkerDescriptor(FILTER_DOWN_MARKER, "Filter Below Tunnel",
- Enums.MarkerType.LINE_ARROW, Enums.Size.LARGE, BrGreen, BrGreen, false, true));
- group.addRow(new MarkerDescriptor(TOP_WAVE_UP_MARKER, "Top Wave Above Tunnel",
- Enums.MarkerType.LINE_ARROW, Enums.Size.LARGE, Violet, Violet, false, true));
- group.addRow(new MarkerDescriptor(TOP_WAVE_DOWN_MARKER, "Top Wave Below Tunnel",
- Enums.MarkerType.LINE_ARROW, Enums.Size.LARGE, Violet, Violet, false, true));
- group.addRow(new MarkerDescriptor(BOTTOM_WAVE_UP_MARKER, "Bottom Wave Above Tunnel",
- Enums.MarkerType.LINE_ARROW, Enums.Size.LARGE, Purple, Purple, false, true));
- group.addRow(new MarkerDescriptor(BOTTOM_WAVE_DOWN_MARKER, "Bottom Wave Below Tunnel",
- Enums.MarkerType.LINE_ARROW, Enums.Size.LARGE, Purple, Purple, false, true));
- //XXXZZZ
- group.addRow(new MarkerDescriptor(ZZ_MARKER1, "XXXZZZ Marker", Enums.MarkerType.DIAMOND, Enums.Size.MEDIUM,
- X11Colors.DEEP_SKY_BLUE, X11Colors.DEEP_SKY_BLUE, true, true));
- group.addRow(new MarkerDescriptor(ZZ_MARKER2, "XXXZZZ Marker", Enums.MarkerType.DIAMOND, Enums.Size.LARGE,
- X11Colors.ORANGE_RED, X11Colors.ORANGE_RED, true, true));
- group.addRow(new MarkerDescriptor(ZZ_MARKER3, "XXXZZZ Marker", Enums.MarkerType.DIAMOND, Enums.Size.VERY_LARGE,
- X11Colors.ORANGE, X11Colors.ORANGE, true, true));
- group.addRow(new MarkerDescriptor(ZZ_MARKER4, "XXXZZZ Marker", Enums.MarkerType.LINE_ARROW, Enums.Size.LARGE,
- X11Colors.GRAY, X11Colors.GRAY, true, true));
- group.addRow(new MarkerDescriptor(ZZ_MARKER5, "XXXZZZ Marker", Enums.MarkerType.LINE_ARROW, Enums.Size.LARGE,
- X11Colors.PURPLE, X11Colors.PURPLE, true, true));
- // Markers
- tab = new SettingTab("More Stuff");
- sd.addTab(tab);
- group = new SettingGroup("More Markers");
- tab.addGroup(group);
- group.addRow(new MarkerDescriptor(MMM_MARKER_1, "Var1",
- Enums.MarkerType.CIRCLE, Enums.Size.LARGE, defaults.getGreen(), defaults.getLineColor(), true, true));
- group.addRow(new MarkerDescriptor(MMM_MARKER_2, "Var2",
- Enums.MarkerType.CIRCLE, Enums.Size.LARGE, defaults.getGreen(), defaults.getLineColor(), true, true));
- group.addRow(new MarkerDescriptor(MMM_MARKER_3, "Var3",
- Enums.MarkerType.CIRCLE, Enums.Size.LARGE, defaults.getPurple(), defaults.getLineColor(), true, true));
- }
- //
- @Override
- protected void calculateValues(DataContext ctx) {
- DataSeries series = ctx.getDataSeries();
- long barTime = series.getStartTime();
- int index = series.findIndex(barTime);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement