Re-open blocker
Posted: 02 Sep 2016 19:32
Hi,
Using "filter" function I tried to block re-opening position in Turttle Strategy (breakout above/below high/low of "X" number of bars). I wanted to use MarketPosition() function in such a way:
if MarketPosition[1] = 1 then sentiment = sentiblock; //block reopening long position when take profit was reached in intraday prices
but MarketPosition() is not allowed in filters.
Anyone had such a problem? Any solutions fo blocking re-opening breakout strategies for "x" number od bars?
P.
Using "filter" function I tried to block re-opening position in Turttle Strategy (breakout above/below high/low of "X" number of bars). I wanted to use MarketPosition() function in such a way:
if MarketPosition[1] = 1 then sentiment = sentiblock; //block reopening long position when take profit was reached in intraday prices
but MarketPosition() is not allowed in filters.
Anyone had such a problem? Any solutions fo blocking re-opening breakout strategies for "x" number od bars?
P.