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".

Strategy close entry on next candle close

Sep 17, 2021 - 3:06 PM

Viewed 732 times

https://best-trading-indicator.com/community/bti/forums/4180/topics/26133 COPY
  • 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.

    image_2021-09-17_160532.png

    0
  • Hello

    Sorry it's not clear to me what you're trying to do here

    0
CONTENTS