Parabolic SAR, Parabolic V2

0
(0)
اسم:
Parabolic SAR, مكافئ
مؤلف: ميتاكوتس (2005.11.29 12:55)
تم التنزيل: 10284
تحميل:
Parabolic SAR, Parabolic V2 1
Parabolic.mq4 (5.7 كيلو بايت) منظر
Parabolic SAR Technical Indicator was developed for analyzing the trending markets. The indicator is constructed on the price chart. This indicator is similar to the Moving Average Indicator with the only difference that Parabolic SAR moves with higher acceleration and may change its position in terms of the price. The indicator is below the prices on the bull market (Up Trend), when it’s bearish (Down Trend), it is above the prices.

Parabolic SAR, Parabolic V2 2

If the price crosses Parabolic SAR lines, the indicator turns, and its further values are situated on the other side of the price. When such an indicator turn does take place, the maximum or the minimum price for the previous period would serve as the starting point. When the indicator makes a turn, it gives a signal of the trend end (correction stage or flat), or of its turn.

The Parabolic SAR is an outstanding indicator for providing exit points. Long positions should be closed when the price sinks below the SAR line, short positions should be closed when the price rises above the SAR line. It is often the case that the indicator serves as a trailing stop line.

If the long position is open (أي., the price is above the SAR line), the Parabolic SAR line will go up, regardless of what direction the prices take. The length of the SAR line movement depends on the scale of the price movement.

عملية حسابية
SAR(أنا) = SAR(i-1)+ACCELERATION*(EPRICE(i-1)-SAR(i-1))

Where:
SAR(i-1) — is the value of the indicator on the previous bar;
ACCELERATION — is the acceleration factor;
EPRICE(i-1) — is the highest (lowest) price for the previous period (EPRICE=HIGH for long positions and EPRICE=LOW for short positions).

The indicator value increases if the price of the current bar is higher than previous bullish and vice versa. The acceleration factor (ACCELERATION) will double at the same time, which would cause Parabolic SAR and the price to come together. بعبارة أخرى, the faster the price grows or sinks, the faster the indicator approaches the price.

Technical Indicator Description

Full description of Parabolic is available in the Technical analysis: Parabolic SAR

7 تعليقات لنشر تعليق جديد, لو سمحت تسجيل الدخول أو يسجل

Where is this fixed version as mentioned?
25.09.2013 23:55 HarriMQL4

لنكون أكثر تحديدا, I don't see where in the code the dots are actually "told" to be drawn and "told" what values to be drawn at.

I would like to be able to call it using the iCustom() function and get the price location of the dot at any given bar.

This is the call I used, and like I mentioned in the last post, it does not return the value of the green dot: iCustom(رمز(),60,"مكافئ 1",.02,.2,0,0);

Ho do I get the value of the green dot?

05.09.2013 04:42 KalebC

I can see its efficacy on the graph, but the values it returns when you call it in a script differ from the values charted, and those values returned in a script are not always on the same side of the price as the charted values.

لذا, how would you use this indicator in an expert advisor?

04.09.2013 12:52 KalebC

This indicator is named the Stop And Reverse, SAR, مكافئ. A parabola is one of the three possible conic sections (others being ellipse [the circle is a special case of an ellipse] and hyperbola). Why is this indicator named parabolic?

The next question... What exact parameters in the MQL4 Parabolic SAR indicator code could make it an ellipsoidal shape/surface or a hyperbolic if indeed some set parameters make it parabolic?

The aim of my question(س) have to do with a question of mathematical eccenntricity (من wikipedia on conic sections):

Eccentricity

Parabolic SAR, Parabolic V2 3
Parabolic SAR, Parabolic V2 4

Ellipse (ه=1/2), parabola (ه=1) and hyperbola (ه=2) with fixed focus F and directrix.

The four defining conditions above can be combined into one condition that depends on a fixed point F (ال focus), a line ل (ال directrix) not containing F and a nonnegative real number ه (ال eccentricity). The corresponding conic section consists of all points whose distance to F equals ه times their distance to ل. ل 0 < ه < 1 we obtain an ellipse, ل ه = 1 a parabola, and for ه > 1 a hyperbola.

The objective is for research and development of a 'SAR ellipsoid' and 'SAR Hyberbolic' indicators. It is further for development of a (continuous [24hrs]) 'time series wobble' type of model that is based on the physical phenomenon of a rattleback (rattleback from wikipedia):

أ rattleback, also known as an "anagyre", "celt", "Celtic stone", "rebellious celt", "rattlerock", "spin bar", "wobble stone" أو "wobblestone" and by the product names "ARK," "Bizzaro Swirls," "RATTLEBACKS," "Space Pet" و "Space Toy," is a semi-ellipsoidal top which will spin on its axis in a preferred direction. لكن, if spun in the opposite direction, it becomes unstable, "rattles", stops and reverses its spin to the preferred direction.

Behold the mysterious celt, with a property that amuses. One way it will spin, the other way it refuses.

This spin-reversal motion seems, at first sight, to violate the angular-momentum conservation law of physics...

22.01.2009 00:45 FXrules

swipes wrote:
sub wrote:

The built-in Parabolic SAR and Parabolic.mq4 will give different results when overlaid. Everything is a OK on refresh. لكن, as new bars are formed there are different results. This problem was corrected in Parabolic-Fix.mq4 which gives same results as built-in parabolic.

Where can i try it form

The Parabolic Sub.mq4 above is the modified version. See Fix1 note inside.

14.10.2008 11:30 sub

sub wrote:

The built-in Parabolic SAR and Parabolic.mq4 will give different results when overlaid. Everything is a OK on refresh. لكن, as new bars are formed there are different results. This problem was corrected in Parabolic-Fix.mq4 which gives same results as built-in parabolic.

Where can i try it form

13.03.2007 01:36 swipes

The built-in Parabolic SAR and Parabolic.mq4 will give different results when overlaid. Everything is a OK on refresh. لكن, as new bars are formed there are different results. This problem was corrected in Parabolic-Fix.mq4 which gives same results as built-in parabolic.

كم كانت هذه المشاركة مفيدة?

انقر على نجمة لتقييمه!

متوسط ​​تقييم 0 / 5. عدد الأصوات: 0

لا توجد أصوات حتى الآن! كن أول من يقيم هذا المنصب.

نأسف لأن هذه المشاركة لم تكن مفيدة لك!

دعونا تحسين هذا المنصب!

أخبرنا كيف يمكننا تحسين هذه المشاركة?



مؤلف: فريق ويكي الفوركس
نحن فريق من متداولي الفوركس ذوي الخبرة العالية [2000-2023] الذين يكرسون أنفسهم لعيش الحياة بشروطنا الخاصة. هدفنا الأساسي هو تحقيق الاستقلال المالي والحرية, وتابعنا التعليم الذاتي واكتسبنا خبرة واسعة في سوق الفوركس كوسيلة لتحقيق أسلوب حياة مستدام ذاتيًا.