backslap bug resolved

This commit is contained in:
misagh 2018-09-15 15:52:10 +02:00
parent 5f68834ccc
commit 07ba14d1ea
1 changed files with 1 additions and 1 deletions

View File

@ -627,7 +627,7 @@ class Edge:
elif np_t_sell_ind < 99999999 and np_t_sell_ind < np_t_stop_ind:
# move sell onto next candle, we only look back on sell
# will use the open price later.
t_exit_ind = t_open_ind + np_t_sell_ind + 1 # Set Exit row index
t_exit_ind = t_open_ind + np_t_sell_ind # Set Exit row index
t_exit_type = SellType.SELL_SIGNAL # Set Exit type (sell)
np_t_exit_pri = np_open # The price field our SELL exit will use
if debug: