Does new stoptrail order in notify_order() refer to the previous or the coming candle?
NewestTrader last edited by
I am presently looking at the
next()method, at time A I generate a
Afterwards I wait in
After it got
'Completed', being still in
notifyorder(), I generate a subsequent stoptrail sell order:
My question is:
does this sell order initially take the
closevalue of the candle A into account or the
closevalue of the coming candle A+1?
Thanks in advance!