Skip to content

Instantly share code, notes, and snippets.

@mementum
Created September 4, 2019 12:13
Show Gist options
  • Save mementum/428093a62c54c3dc5b4f74ff9b5c1a9d to your computer and use it in GitHub Desktop.
Save mementum/428093a62c54c3dc5b4f74ff9b5c1a9d to your computer and use it in GitHub Desktop.
Pseudo Pinescript DonchianChannels Breakout
if price0 > channel_high_1:
sell()
elif price0 < channel_low_1:
buy()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment