mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
pivotshort: clean up debug comment
This commit is contained in:
parent
cd338f8fe2
commit
9819f0941b
|
@ -323,12 +323,11 @@ func (s *FailedBreakHigh) detectMacdDivergence() {
|
|||
return
|
||||
}
|
||||
|
||||
// always reset the top divergence to false
|
||||
s.macdTopDivergence = false
|
||||
|
||||
// macdValues := s.macd.Values
|
||||
histogramValues := s.macd.Histogram
|
||||
|
||||
// log.Infof("histogram values: %+v", histogramValues)
|
||||
pivotWindow := s.MACDDivergence.PivotWindow
|
||||
if pivotWindow == 0 {
|
||||
pivotWindow = 3
|
||||
|
|
Loading…
Reference in New Issue
Block a user