Teknik Analiz Dünyasına Hoşgeldiniz

Paylaşmak Güzeldir.

  • DİKKAT: Formüller, Sistemler sadece eğitim amaçlıdır. Alım satım, olası anapara kaybı ve diğer kayıplar dahil olmak üzere "YÜKSEK RİSK" içerir.
  • Mucize teknik gösterge yoktur, sadece doğru veya yanlış kullanılan göstergeler vardır.

Oscillator Directional Breakout by Barbara Star

Teknik analizde fiyatın yönü veya trendin devamıyla ilgili fikir veren matematiksel modellerdir. Trend oluşmamış piyasalarda fiyatlar yatay bir bantta hareket ederken trendin içinde düzeltme seviyelerini tespit eden indikatörlere OSİLATÖR denir

algoritma

e iπ +1=0
Katılım
23 Eki 2020
Mesajlar
1,395
Puanları
63
Barbara Star's article in the February 2005 issue of STOCKS & COMMODITIES, "Directional Breakout," describes two ways of displaying charts. They require one expert indicator and three custom indicators to reproduce them in MetaStock. These formulas, and the steps to include them in MetaStock, are shown below.

To enter the indicators into MetaStock:
1. In the Tools menu, select Indicator Builder.
2. Click New to open the Indicator Editor for a new indicator.
3. Type the name of the formula.
4. Click in the larger window and type in the formula.
5. Click OK.
6. Repeat steps 2-5 for the remaining two formulas.​

Directional Down (Blue)

If(H<Mov(C,20,S),-2,0)


Directional Up (Green)

If(L>Mov(C,20,S),2,0)


Non-Directional (Red)

c1:=H>=Mov(C,20,S) AND L<=Mov(C,20,S);
If(c1,1,0);
If(c1,-1,0)

To enter the indicators into MetaStock:
1. In the Tools menu, select Expert Advisor.
2. Click New to open the Expert Editor for a new expert.
3. Type a name for the expert, such as "."
4. Click the Highlights tab.
5. Click New to create a new highlight.
6. Type the name of the highlight.
7. Set the color to that specified.
8. Click in the Condition window and type in the formula.
9. Click OK.
10. Repeat steps 5-9 for the remaining two highlights.
11. Click OK to close the Expert Editor.​

Directional Breakout

Name: Directional Down
Color: Blue
Formula:
H<Mov(C,20,S)

Name: Directional Up
Color: Green
Formula:
L>Mov(C,20,S)

Name: Non-Directional
Color: Red
Formula:
L<=Mov(C,20,S) AND H>=Mov(C,20,S)

To build the first chart:

1. Open a chart of the security and remove all other indicators.
2. Right-click in the chart and select "Inner Window" and then "New Inner Window."
3. Click on the title bar of this inner window and drag it below the price window.
4. Plot the Non-Directional indicator in this window.
5. Select one of the lines and change the style to histogram and the color to red.
6. Select the other line and make the same changes.
7. Plot the Directional Down indicator in the same window.
8. Select the Directional Down line and change the style to histogram and the color to blue.
9. Plot the Directional Up indicator in this same window.
10. Select the Directional Up line and change the style to histogram and the color to green.
11. Plot a 20-period simple moving average of the close in the window with the prices.
12. Right-click in the chart and select Expert Advisor and then "Attach."
13. Select the Directional Breakout expert and click OK.
14. Right-click in the chart and select Expert Advisor and then "properties."
15. Select the Highlights tab and remove the checks next to the blue and green highlights.
16. Click OK.

Your chart should now look similar to:​

One way of displaying the directional breakout is by using a histogram.


To build the second chart:


1. Open a chart of the security and remove all other indicators.
2. Plot a 20-period simple moving average of the close in the window with the prices.
3. Right-click in the chart and select Expert Advisor and then "Attach."
4. Select the Directional Breakout expert and click OK.
5. Right-click in the chart and select Expert Advisor and then "properties."
6. Select the Highlights tab and make sure all the highlights are checked.
7. Click OK.


Your chart should now look similar to:


Another way of displaying the directional breakout is by using colored bars to identify the direction of the breakout.

Since the Expert Advisor was changed to make these two charts, you will not be able to use both styles at once, unless you make a second expert and use one for one style and the other for the second style.

--William Golson
Equis International​
Source / From:
 

Forumdan daha fazla yararlanmak için giriş yapın yada üye olun!

Forumdan daha fazla yararlanmak için giriş yapın veya kayıt olun!

Kayıt ol

Forumda bir hesap oluşturmak tamamen ücretsizdir.

Şimdi kayıt ol
Giriş yap

Eğer bir hesabınız var ise lütfen giriş yapın

Giriş yap