Untitled

Anonymous
plain_text
06/03/2022 9:54 AM
448 B
30
Indexable
if (long)
    strategy.entry("Long", strategy.long, limit=entry_long_price)
    strategy.exit("ExitLong", "Long", limit=target_long_price, stop=stop_long_price)
if (short)
    strategy.entry("Short", strategy.short, limit=entry_short_price)
    strategy.exit("ExitShort", "Short", limit=target_short_price, stop=stop_short_price)
Editor is loading...