Previous tick:
013-06-13 15:00:04 (DEBUG): calculated new tick: 0 price: 108.969 diff: -0.006
2013-06-13 15:00:04 (DEBUG): we are currently not in an up or down trend (-0.006)
2013-06-13 15:00:04 (INFO): ADVICE is to HOLD @ 108.969 (-0.006)
A sell was triggered at a later tick:
2013-06-13 17:00:05 (DEBUG): calculated new tick: 0 price: 102.060 diff: -0.623
2013-06-13 17:00:05 (DEBUG): we are currently in a downtrend (-0.623)
2013-06-13 17:00:05 (INFO): ADVICE is to SELL @ 102.060 (-0.623)
How far back does Gekko look when when choosing trades to use for the EMA? I don't remember for sure, but I think the price had started to drop quickly by about 10 minutes before the hour.