The Trender and moving average for a version of trend analysis. This is an update of a previously published script. A recent Pine script update makes this update necessary. This is my interpretation of Bloomberg's Trender. The script is derived from this document: forexfactory.com/attachment.php?attachmentid=704677&d=1306114269
I have no idea what settings are best. I like the ones I have used because I see some harmony with the 20ema but that could be said for a variety of settings. The chief variable for adjustment is "sensitivity" which is really just the number of standard deviations away from the midpoint calculation. The Trender is plotted as crosses. Also the moving average will be green if its own 8 period moving average is below the moving average or red if it is above. In other words a Green moving average suggests an uptrend and a red moving average a down trend as far as moving averages are concerned. In formatting you can have an ema or sma at the click of a button. also at the bottom you will have an option to display moving averages as emas in intraday and smas if the period is daily or higher. In this option you will also see the 50 moving average ( ema if intraday and sma if daily or more.) Most people will opt for consistency and simply use either an ema or sma . In this case leave the "Show EMAs intraday and smas interday" unchecked. Jayy
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.