تحليل التحليل الفني Zach9468950 حول ADA في رمز في 24/12/2021

Zach9468950

// إصدار = 4 دراسة ("ADX و DI محسّن" ، اختصار = "ADX و DI محسّن" ، تراکب = خطأ) len = input (title = "length" ، type = input.integer ، defval = 14) th = input (title = "threshold" ، type = input.integer ، defval = 20) truerange = أقصى (الحد الأقصى (منخفض منخفض ، ABS (عالی Nz (إغلاق [1]))) ، ABS (منخفضة NZ (إغلاق [1]))) DirectionAlmoVementPlus = ارتفاع Nz (مرتفع [1])> نیوزیلندی (منخفض [1])-منخفض؟ ماکس (ارتفاع Nz (مرتفع [1]) ، 0): 0 DirectionAlmoVementMinus = NZ (منخفض [1])-منخفض> عالی NZ (مرتفع [1])؟ ماکس (نیوزیلندی (منخفضة [1])-منخفض ، 0): 0 float smoothedTruerange = na float smootheddirectionalmovementplus = na float smootheddirectionalmovementminus = na SmoothEdTruerange: = NZ (SmoothEdTruerange [1]) - (NZ (SmoothEdTruerange [1])/لین) + truerange SmoothedDirectionalmoVementPlus: = NZ (SmoothedDirectionAlmoVementPlus [1]) - (NZ (SmoothedDirectionAlmoVementPlus [1])/لین) + DirectionAmoVementPlus smoothedDirectionAlmoVementMinus: = NZ (SmoothedDirectionAlmoVementMinus [1]) - (NZ (SmoothedDirectionAlmoVementMinus [1])/لین) + DirectionAlmoVementMinus diplus = smoothedDirectionAlmoVementPlus / smoothedTruerange * 100 diminus = smoothedDirectionAlmoVementMinus / smoothedTruerange * 100 dx = abs (diplus-diminus) / (diplus+diminus)*100 ADX = SMA (DX ، LEN) قطعة أرض (diplus ، color = color.green ، title = "di+") مؤامرة (diminus ، color = color.red ، title = "di-") مؤامرة (ADX ، color = color.black ، title = "ADX") Hline (th ، color = color.black ، linestyle = hline.style_dashed) crossupdiplusdiminus = کروس (diplus ، diminus) crossdowndiplusdiminus = crossunder (diplus ، diminus) bgColor (color = crossupdiplusdiminus؟ color.green: na ، title = "tenkan sen cross ver kijun sen" ، transp = 90 ، offset = -1) bgColor (color = crossdowndiplusdiminus؟ color. red: na ، title = "tenkan sen cross under kijun sen" ، transp = 90 ، adfet = -1)