fixing macd inversion.
This commit is contained in:
parent
f572279469
commit
befd626bbe
2 changed files with 50 additions and 50 deletions
|
|
@ -256,7 +256,7 @@ func (macdl MACDLineSeries) GetValue(index int) (x float64, y float64) {
|
|||
_, emav1 := ema1.GetValue(index)
|
||||
_, emav2 := ema2.GetValue(index)
|
||||
|
||||
y = emav1 - emav2
|
||||
y = emav2 - emav1
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue