luyikaibr

MyMA Angle

luyikaibr 已更新   
This script shows the angle of 6 Moving Averages (MAs) to perform trade analysis. The MA angle is also known as its Rate Of Change ( ROC ). The 6 MAs (I, II, III , IV, V and VI ) default lengths come from one of the Fibonacci Phi^3 and Phi^3/2 sub series (17, 34, 72, 144, 305 and 610), but can be changed to any values, particularly to the traditionally used 20, 40, 50, 100, 200 and 300. Up to my knowledge, Fibonacci Phi^3 and Phi^3/2 sub series lengths were first proposed by Bo Williams.

The used Moving Averages can be chosen between EMA and MyMA. MyMA is a Moving Average that tries to mimic Bo William's MIMA. Due to the close resemblance between MyMA and MIMA, I do not feel comfortable to open this script source code. In order to learn how this script operates with EMAs, please refer to my Custom EMA + FIBO indicator that has its source code open.

Angle calculation is performed by calculating the tangent over a delta interval. Normalization is required to make the angle independent of the price range.

This script is meant to be used together with the corresponding MAs on the candle pane. Non normalized view shows a more realistic angle condition but, if intended to be used with the MyMAS indicator, normalized view should be used.
發布通知:
This update is just to fix the EMA calculation in the absence of enough candles. Instead of using TV standard zero price, I use the source (close) price. Furthermore, default value for Normalized parameter has been changed to true, because it shows useless results with expensive assets due to the extremely high value for the slope tangent.
發布通知:
This update just adjusts the precision for the indicator value.
發布通知:
This update just adjusts the precision of the indicator value to 2 decimals.
發布通知:
This update adds Phi^3 and Phi^3/2 series optional filter selection to MAs and built in ROC function usage selection toggle.
發布通知:
This update adds a new and more meaningful angle calculation method and adjusts the MA calculation method.
發布通知:
This updates add the option to calculate the ROC of the ROC, that is the 2nd derivative of the price. It is useful to detect the side of the concavity of the underlying MA.
發布通知:
This update adds Giant ( > 610 ) and Dwarf MAs (8 and 17) plot support and selection toggle.
發布通知:
This update just optimizes some implementation aspects.
發布通知:
This update adds options to show Giant and Dwarf lengths. It also changes the coloring scheme to show candles green when ROC I > ROC II > ROC III, red when ROC I < ROC II < ROC III and black (dead zone) otherwise.
發布通知:
This update just added more coloring variations: It shows candles green when ROC I > ROC II > ROC III, blue when ROC I > ROC III and ROC II < ROC III, purple when ROC I < ROC III and ROC II > ROC III, red when ROC I < ROC II < ROC III and black (dead zone) otherwise. Color meanings are green: strongly upward, blue: weakly upward, purple: weakly downward, red: strongly downward, black: undefinition.
受保護腳本
該腳本是閉源發佈的,您可以自由使用。您可以把它加入到常用以在圖表上使用它。您無法查看或修改其原始碼。
免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?