- LONG: prevent LONG positions if current price is under DEMA(8) - decrease order size down to .3 if its after 4pm
@@ -109,8 +109,8 @@ func (s alpacaQQQ) Handle(market sentio.Market, proba float64) ([]sentio.Strateg
continue
}
- // prevent LONG positions if current price is under DEMA(8)
- if lb.Close/dema[0] < .999 {
+ // prevent LONG positions if current price is greater DEMA(8)
+ if lb.Close/dema[0] > .999 {