Średnia oscylatora (RSI) w strategii - jak zapisać

O jezykach programowania w platformach i nie tylko.
gufi79
Bywalec
Bywalec
Posty: 14
Rejestracja: 17 lis 2006, 01:43

Średnia oscylatora (RSI) w strategii - jak zapisać

Nieprzeczytany post autor: gufi79 »

witam
chciałbym w strategii zrobić wpis średniej oscylatora RSI nie wiem jak ma wyglądać taka linijka proszę o pomoc
chodzi mi o średnia MA która dodaje się do RSI poprzez Dodaj do: previous Indicator's data
pozdrawiam

Awatar użytkownika
Pierz Andrzej
Przyjaciel Forum
Przyjaciel Forum
Posty: 1200
Rejestracja: 02 lip 2006, 14:17

Nieprzeczytany post autor: Pierz Andrzej »

Kod: Zaznacz cały

double iMAOnArray( double array[], int total, int period, int ma_shift, int ma_method, int shift) 
Calculation of the Moving Average on data stored in a numeric array. Unlike iMA(...), the iMAOnArray function does not take data by symbol name, timeframe, the applied price. The price data must be previously prepared. The indicator is calculated from left to right. To access to the array elements as to a series array (i.e., from right to left), one has to use the ArraySetAsSeries function. 
pozdrawiam
Andrzej Pierz
z poważaniem
Andrzej Pierz
FOREX-SERVICE

ODPOWIEDZ