-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTrendInfo.java
More file actions
45 lines (38 loc) · 1.09 KB
/
TrendInfo.java
File metadata and controls
45 lines (38 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package StockSim;
public class TrendInfo extends StockInfo{
private boolean buyTrend = false;
private boolean sellTrend = false;
private boolean initialTradeComplete = false;
private boolean finalTradeReady = false;
private Double macdStartingValue;
public boolean isBuyTrend() {
return buyTrend;
}
public void setBuyTrend(boolean buyTrend) {
this.buyTrend = buyTrend;
}
public boolean isSellTrend() {
return sellTrend;
}
public void setSellTrend(boolean sellTrend) {
this.sellTrend = sellTrend;
}
public boolean isInitialTradeComplete() {
return initialTradeComplete;
}
public void setInitialTradeComplete(boolean initialTradeComplete) {
this.initialTradeComplete = initialTradeComplete;
}
public Double getMacdStartingValue() {
return macdStartingValue;
}
public void setMacdStartingValue(Double macdStartingValue) {
this.macdStartingValue = macdStartingValue;
}
public boolean isFinalTradeReady() {
return finalTradeReady;
}
public void setFinalTradeReady(boolean finalTradeReady) {
this.finalTradeReady = finalTradeReady;
}
}