Bu gönderileri taşımayı uygun buldum


 Alıntı Originally Posted by uufuk Yazıyı Oku
Matriksde olup fonksiyon listesinde görünmeyen Integer [int()] fonksiyonunu tanıtalım...

Metastock yardımdaki tanımı...
----------------------------------------------
Function: Integer [int()]

SYNTAX int( DATA ARRAY )

FUNCTION Removes the fractional portion of DATA ARRAY and returns the integer part.

EXAMPLE The formula "int( 10.7 )" returns 10; the formula "int(-19.8 )" returns -19.
------------------------------------------------------------
Bu fonksiyonun kullanımı basit
int(10.7) nın cıktısı 10
int(-19.8) nın cıktısı -19 dur örnekden anlaşılacagı üzere ondalık kısmını atar tam sayı kısmını verir...
 Alıntı Originally Posted by uufuk Yazıyı Oku
Matriksde olup fonksiyon listesinde görünmeyen Self Referencing Formulas Using PREV'ı tanıtalım...

Metastock yardımdaki tanımı...
------------------------------------------
The PREV constant allows you to create self-referencing formulas. A self referencing formula is one that is able to reference the "previous" period's value of itself.

For example, the following is an example of a self referencing formula:

((H+L+C)/3) + PREV

This simple formula divides the high, low, and closing prices by 3 and then adds this value to yesterday's value of the ((H+L+C)/3).

The calculation of the popular indicator On Balance Volume illustrates the use of the PREV function.

(if(c>ref(c,-1),1,-1)*volume)+PREV

Although On Balance Volume can be calculated without the use of the PREV function, an exponential moving average cannot (other than using the mov() function). The following formula shows how a 18% exponential moving average (approximately 10-periods) is calculated using the PREV function.

(close*0.18)+(PREV*0.82)
---------------------------------------------------
Bu fonksiyon matriksde var ama nane molla ve vazgeçilmez bir fonksiyondur.....
O anda hesaplanan işlemin ref(x,-1) dır,yani bir bar önceki hesap sonucunu temsil eder....
Yani self servis gibi kendinin bir bar önceki degerini temsil eder,onun için vaz geçilmezdir...
Self Referencing ifadesi bunu vurgular..
Gelelim nane molla kısmına;
Matriksde sadece ve sadece if( ) fonksiyonu içinde sorunsuz çalışır....
+ - / * > < =< => operatorlerinde sorun çıkarmaz....
Diger tüm fonksiyonlarla kan uyuşmazlıgı vardır,anlaşamaz PC 'yı kasar hatalı gösterime sebep olur v.s...
Tek ve yalnızca tek kankası if( ) dır....

Bu üç fonkiyon matriksde olup direk kullanabilirsiniz...

Matriksde olmayan
Fraction_ Median Price_ Midpoint_Modulus_Negative_Precision_
Alert_Ceiling _Division _ Floor _Trough Value _
Peak Value gibi fonksiyonları simule edecegiz..
 Alıntı Originally Posted by uufuk Yazıyı Oku
Matriksde olup fonksiyon listesinde görünmeyen Round [round()] tanıtalım...

Metastock yardımdaki tanımı...
----------------------------------------------
SYNTAX round( DATA ARRAY )

FUNCTION Rounds DATA ARRAY to the nearest integer.

EXAMPLE The formula "round( +10.5 )" returns +11. The formula "round( -10.4 )" returns -10.

---------------------------------------------------
Bu fonksiyon ondalık sayıyı bir yukarı yuvarlar...
round( +10.5 ) cıktısı 11
round( -10.4 ) cıktısı -10 dır