TradingView
alexpunct
Jul 5, 2018 12:49 PM

3 MA - EMA13 SMA30 SMA200 

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

Description

The 3 most important moving averages:

EMA13 - gives institutional bias (enter trade at the touch of this line)
SMA 30 - medium term trend (bullish if price stays above, bearish if price stays below)
SMA 200 - long term trend (bullish if price stays above, bearish if price stays below)

By Pequet gist.github.com/pequet/e5954ea7eedfde717a85065df9d2a8c9

Release Notes

*fix 200 SMA title

Release Notes

Remove scale property to fix the indicator being sent to a different scale
Comments
SameGuy
When moving candle chart up and down (with auto scale mode off) the 3-MA lines do not move with the chart. Is it a bug?
alexpunct
@SameGuy, thanks for reporting this, I think it's related to the scale instruction in the code which sends the mas to a different scale. You can right click and go to Pin to scale and choose scale A (the main price scale). That should fix it
More