TradingView
bennef
2019๋…„ 10์›” 2์ผ ์˜ค์ „ 9์‹œ 39๋ถ„

Golden/Death X BF ๐Ÿš€ย 

BNC1/BLXQUANDL

์„ค๋ช…

โ‹…
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
์ฝ”๋ฉ˜ํŠธ
cao151216
โ‹…
ไฝ ๅฅฝ๏ผŒๆŒ‡ๆ ‡ๅพˆๅฅฝ๏ผŒ่ƒฝไธ่ƒฝๅœจ่ฟ™ไธชๆŒ‡ๆ ‡ไธŠๅคšๅขžๅŠ ไธ€ๆกๅ‡็บฟ๏ผŒๅฏไปฅ่ฎพ็ฝฎ่ฟ™ๅ‡็บฟไธŠ็š„ไธคๆกๅ‡็บฟไบคๅ‰ๆ—ถๅชๅšๅคšไฟกๅท๏ผŒๅไน‹๏ผŒๅ‡็บฟไธ‹ไบคๅ‰ๅชๅš็ฉบไฟกๅท๏ผŒ่ฐข่ฐข
blissfulStar
โ‹…
This script is bad ass and you are a bad ass programmer. This was the same idea I was trying to write, but when I discovered how clean your code was, I was like DAMMMN son! I got a new BF son.
bennef
โ‹…
@blissfulStar, I'm happy you found it useful. Obviously feel free to modify it for your own purposes; all my open-source scripts are on TradingView. This script could do with bringing up to date to be honest.
infamouscrypto
โ‹…
great script! how would alerts be set up for it? Can't figure out a way. Thanks!
bennef
โ‹…
๋”๋ณด๊ธฐ