OPEN-SOURCE SCRIPT
์—…๋ฐ์ดํŠธ๋จ

Golden/Death X BF ๐Ÿš€

11โ€ฏ155
A golden cross occurs when the 50 MA crosses above the 200 MA.
A death cross occurs when the 50 MA crosses below the 200 MA.

You can adjust the following settings for each Moving Average:

  • Source - open, high, low, close, hl2, hlc3, ohlc4
  • Type - sma, ema, swma, wma
  • Period - integers greater than 0


The chart background turns green or red upon a cross.
๋ฆด๋ฆฌ์ฆˆ ๋…ธํŠธ
Added alerts, long for a golden cross, short for a death cross.
๋ฆด๋ฆฌ์ฆˆ ๋…ธํŠธ
Added Buy/Sell shapes instead of bg lines. Updated Timeframe
๋ฆด๋ฆฌ์ฆˆ ๋…ธํŠธ
Small comments added

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

ํ•ด๋‹น ์ •๋ณด์™€ ๊ฒŒ์‹œ๋ฌผ์€ ๊ธˆ์œต, ํˆฌ์ž, ํŠธ๋ ˆ์ด๋”ฉ ๋˜๋Š” ๊ธฐํƒ€ ์œ ํ˜•์˜ ์กฐ์–ธ์ด๋‚˜ ๊ถŒ์žฅ ์‚ฌํ•ญ์œผ๋กœ ๊ฐ„์ฃผ๋˜์ง€ ์•Š์œผ๋ฉฐ, ํŠธ๋ ˆ์ด๋”ฉ๋ทฐ์—์„œ ์ œ๊ณตํ•˜๊ฑฐ๋‚˜ ๋ณด์ฆํ•˜๋Š” ๊ฒƒ์ด ์•„๋‹™๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ ์ด์šฉ ์•ฝ๊ด€์„ ์ฐธ์กฐํ•˜์„ธ์š”.