Skip to content
Prev 14865 / 15274 Next

R quantstrat - filter consecutive entries

Hi Jasen et al,

thanks for the quick response and invite. I'll be glad to do post
questions on github.

sigThreshold, cross = TRUE responds as programmed and the same as I
would expect sigCrossover to work, when passing one parameter as a
constant. Just wording for the long side: Two consecutive entry signals
occur, i.e. stoch crosses the 0.25 threshold from below on a second
lower low, while the BB crossing has not switched to "short" yet. It is
more a question of the strategy not detecting a lower low well and thus
filtering a bad order to begin with. So the ways I am looking to explore
are:

 ? - objective for quantstrat programing:? filter consecutive entries
after an order has already been placed and filled.? How can quantstrat
solve this?

 ? - objective for strategy: improve the filter to be more responsive to
detect the change of direction. The literature suggests MAs for filters.
Any tips on specific I should explore?

Thanks and kind regards,
Andreas


Am 28.05.2020 um 18:36 schrieb Jasen Mackie: