Hello, i want to close the entry from next candle, how i can do this?
if(not is_sideways)
strategy.entry(buy
, strategy.long, 10, when=buy)
strategy.entry(sell
, strategy.short, 10, when = open >= close)
Here is my code.
Welcome to the BEST forum for traders
Did you know we're sharing tons of exclusive content here?
Our community is growing quickly. Take a look around and say "Hello".
Hello, i want to close the entry from next candle, how i can do this?
if(not is_sideways)
strategy.entry(buy
, strategy.long, 10, when=buy)
strategy.entry(sell
, strategy.short, 10, when = open >= close)
Here is my code.
Hello
Sorry it's not clear to me what you're trying to do here