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. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟