OPEN-SOURCE SCRIPT

EMA X BF 🚀

EMA Crossover Strategy

A simple EMA cross is a useful indication of a change in direction of a trend and is a very popular tool in trading. It can also be useful to judge price action momentum or severity by looking at the angle of the 2 EMAs, or the distance between them.

There are 2 Exponential Moving Averages, one fast and one slow. When the fast EMA crosses above the slow EMA, this can be considered bullish and may signal an upside move. Conversely, a cross to the downside of the fast EMA under the slow EMA can be considered bearish.

This strategy uses the same principle but uses different sources for the 2 EMAs; instead of using close values, we use ohlc4 values for the fast EMA and hlc3 values for the slow EMA.

The idea is that a trader might enter a long position upon a cross up and reverse position and go short upon the next cross down.

We use a simple 6% stop loss for both long and short positions.

This strategy is tuned to a 6hr chart for Bitcoin USD pairs.

INSTRUCTIONS
  • Go Long when the background is green
  • Go short when the background is red
  • White background means sideways market: a no trade zone
crossoverExponential Moving Average (EMA)

āļŠāļ„āļĢāļīāļ›āļ•āđŒāđ‚āļ­āđ€āļžāļ™āļ‹āļ­āļĢāđŒāļ‹

āļ”āđ‰āļ§āļĒāđ€āļˆāļ•āļ™āļēāļĢāļĄāļ“āđŒāļŦāļĨāļąāļāļ‚āļ­āļ‡ TradingView āļœāļđāđ‰āđ€āļ‚āļĩāļĒāļ™āļŠāļ„āļĢāļīāļ›āļ•āđŒāļ™āļĩāđ‰āđ„āļ”āđ‰āđ€āļœāļĒāđāļžāļĢāđˆāđ€āļ›āđ‡āļ™āđ‚āļ­āđ€āļžāļ™āļ‹āļ­āļĢāđŒāļŠ āđ€āļžāļ·āđˆāļ­āđƒāļŦāđ‰āđ€āļ—āļĢāļ”āđ€āļ”āļ­āļĢāđŒāļŠāļēāļĄāļēāļĢāļ–āđ€āļ‚āđ‰āļēāđƒāļˆāđāļĨāļ°āļ•āļĢāļ§āļˆāļŠāļ­āļšāđ„āļ”āđ‰ āļ•āđ‰āļ­āļ‡āļ‚āļ­āļšāļ„āļļāļ“āļœāļđāđ‰āđ€āļ‚āļĩāļĒāļ™! āļ—āļĩāđˆāđƒāļŦāđ‰āļ„āļļāļ“āđƒāļŠāđ‰āđ„āļ”āđ‰āļŸāļĢāļĩ āđāļ•āđˆāļāļēāļĢāļ™āļģāđ‚āļ„āđ‰āļ”āļ™āļĩāđ‰āđ„āļ›āđƒāļŠāđ‰āđƒāļ™āļāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆāļ‹āđ‰āļģāļˆāļ°āļ•āđ‰āļ­āļ‡āļ­āļĒāļđāđˆāļ āļēāļĒāđƒāļ•āđ‰ āļāļŽāļĢāļ°āđ€āļšāļĩāļĒāļšāļāļēāļĢāđƒāļŠāđ‰āļ‡āļēāļ™ āļ„āļļāļ“āļŠāļēāļĄāļēāļĢāļ–āļ•āļąāđ‰āļ‡āđ€āļ›āđ‡āļ™āļĢāļēāļĒāļāļēāļĢāđ‚āļ›āļĢāļ”āđ€āļžāļ·āđˆāļ­āđƒāļŠāđ‰āļšāļ™āļŠāļēāļĢāđŒāļ•āđ„āļ”āđ‰

āļ•āđ‰āļ­āļ‡āļāļēāļĢāļ—āļĩāđˆāļˆāļ°āđƒāļŠāđ‰āļŠāļ„āļĢāļīāļ›āļ•āđŒāļ™āļĩāđ‰āļšāļ™āļŠāļēāļĢāđŒāļ•āđƒāļŠāđˆāđ„āļŦāļĄ?

āļ„āļģāļˆāļģāļāļąāļ”āļŠāļīāļ—āļ˜āļīāđŒāļ„āļ§āļēāļĄāļĢāļąāļšāļœāļīāļ”āļŠāļ­āļš