I have tried fixing my code to backtest my strategy and when I try to backtest it, it tells me that my code couldn't complete any trades. Please help I am in dire need.
//problems strategy.entry('buy', true, 1, when = (mystoch and myema and mybbw)? 1 : 0) strategy.close("buy", when = (mystochclose and myemaclose and mybbwclose)? 1 : 0) , qty_percent = 50
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.