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 ์ •์‹ ์— ๋”ฐ๋ผ, ์ด ์Šคํฌ๋ฆฝํŠธ์˜ ์ €์ž๋Š” ํŠธ๋ ˆ์ด๋”๋“ค์ด ์ดํ•ดํ•˜๊ณ  ๊ฒ€์ฆํ•  ์ˆ˜ ์žˆ๋„๋ก ์˜คํ”ˆ ์†Œ์Šค๋กœ ๊ณต๊ฐœํ–ˆ์Šต๋‹ˆ๋‹ค. ์ €์ž์—๊ฒŒ ๋ฐ•์ˆ˜๋ฅผ ๋ณด๋ƒ…๋‹ˆ๋‹ค! ์ด ์ฝ”๋“œ๋Š” ๋ฌด๋ฃŒ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์ง€๋งŒ, ์ถœํŒ๋ฌผ์—์„œ ์ด ์ฝ”๋“œ๋ฅผ ์žฌ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์€ ํ•˜์šฐ์Šค ๋ฃฐ์— ์˜ํ•ด ๊ด€๋ฆฌ๋ฉ๋‹ˆ๋‹ค. ๋‹˜์€ ์ฆ๊ฒจ์ฐพ๊ธฐ๋กœ ์ด ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์ฐจํŠธ์—์„œ ์“ธ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ฐจํŠธ์— ์ด ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‚ฌ์šฉํ•˜์‹œ๊ฒ ์Šต๋‹ˆ๊นŒ?

๋ฉด์ฑ…์‚ฌํ•ญ