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
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
์คํ ์์ค ์คํฌ๋ฆฝํธ
ํธ๋ ์ด๋ฉ๋ทฐ์ ์ง์ ํ ์ ์ ์ ๋ฐ๋ผ, ์ด ์คํฌ๋ฆฝํธ์ ์์ฑ์๋ ์ด๋ฅผ ์คํ์์ค๋ก ๊ณต๊ฐํ์ฌ ํธ๋ ์ด๋๋ค์ด ๊ธฐ๋ฅ์ ๊ฒํ ํ๊ณ ๊ฒ์ฆํ ์ ์๋๋ก ํ์ต๋๋ค. ์์ฑ์์๊ฒ ์ฐฌ์ฌ๋ฅผ ๋ณด๋ ๋๋ค! ์ด ์ฝ๋๋ ๋ฌด๋ฃ๋ก ์ฌ์ฉํ ์ ์์ง๋ง, ์ฝ๋๋ฅผ ์ฌ๊ฒ์ํ๋ ๊ฒฝ์ฐ ํ์ฐ์ค ๋ฃฐ์ด ์ ์ฉ๋๋ค๋ ์ ์ ๊ธฐ์ตํ์ธ์.
๋ฉด์ฑ ์ฌํญ
ํด๋น ์ ๋ณด์ ๊ฒ์๋ฌผ์ ๊ธ์ต, ํฌ์, ํธ๋ ์ด๋ฉ ๋๋ ๊ธฐํ ์ ํ์ ์กฐ์ธ์ด๋ ๊ถ์ฅ ์ฌํญ์ผ๋ก ๊ฐ์ฃผ๋์ง ์์ผ๋ฉฐ, ํธ๋ ์ด๋ฉ๋ทฐ์์ ์ ๊ณตํ๊ฑฐ๋ ๋ณด์ฆํ๋ ๊ฒ์ด ์๋๋๋ค. ์์ธํ ๋ด์ฉ์ ์ด์ฉ ์ฝ๊ด์ ์ฐธ์กฐํ์ธ์.
์คํ ์์ค ์คํฌ๋ฆฝํธ
ํธ๋ ์ด๋ฉ๋ทฐ์ ์ง์ ํ ์ ์ ์ ๋ฐ๋ผ, ์ด ์คํฌ๋ฆฝํธ์ ์์ฑ์๋ ์ด๋ฅผ ์คํ์์ค๋ก ๊ณต๊ฐํ์ฌ ํธ๋ ์ด๋๋ค์ด ๊ธฐ๋ฅ์ ๊ฒํ ํ๊ณ ๊ฒ์ฆํ ์ ์๋๋ก ํ์ต๋๋ค. ์์ฑ์์๊ฒ ์ฐฌ์ฌ๋ฅผ ๋ณด๋ ๋๋ค! ์ด ์ฝ๋๋ ๋ฌด๋ฃ๋ก ์ฌ์ฉํ ์ ์์ง๋ง, ์ฝ๋๋ฅผ ์ฌ๊ฒ์ํ๋ ๊ฒฝ์ฐ ํ์ฐ์ค ๋ฃฐ์ด ์ ์ฉ๋๋ค๋ ์ ์ ๊ธฐ์ตํ์ธ์.
๋ฉด์ฑ ์ฌํญ
ํด๋น ์ ๋ณด์ ๊ฒ์๋ฌผ์ ๊ธ์ต, ํฌ์, ํธ๋ ์ด๋ฉ ๋๋ ๊ธฐํ ์ ํ์ ์กฐ์ธ์ด๋ ๊ถ์ฅ ์ฌํญ์ผ๋ก ๊ฐ์ฃผ๋์ง ์์ผ๋ฉฐ, ํธ๋ ์ด๋ฉ๋ทฐ์์ ์ ๊ณตํ๊ฑฐ๋ ๋ณด์ฆํ๋ ๊ฒ์ด ์๋๋๋ค. ์์ธํ ๋ด์ฉ์ ์ด์ฉ ์ฝ๊ด์ ์ฐธ์กฐํ์ธ์.