Accelerator oscillator - IAC ()
Accumulation / Distribution - IAD ()
Alligator - iAlligator ()
Average Directional Movement Index - iADX ()
Average True Range - iATR ()
Awesome Oscillator - IAO ()
Bears power - iBearsPower ()
Bollinger Bands - iBands ()
Bollinger Bands buffer - iBandsOnArray ()
Bulls power - iBullsPower ()
Commodity Channel Index - iCCI ()
Commodity Channel Index buffer - iCCIOnArray ()
Custom indicator - iCustom ()
DeMarker - iDeMarker ()
Envelopes - iEnvelopes ()
Envelopes of the buffer - iEnvOnArray ()
Strength Index - iForce ()
Fractals - iFractals ()
Gator Oscillator - iGator ()
Ichimoku Kinko Hyo - iIchimoku ()
Market Facilitation Index (Bill Williams) - iBWMFI ()
Dynamics - iMomentum ()
Dynamics of the buffer - iMomOnArray ()
CASH FLOW INDEX - iMFI ()
Moving average - IMA ()
Moving average of the buffer - iMAOnArray ()
Moving average of the oscillator - iOsMA ()
Moving average convergence / divergence - iMACD ()
Condition Tom - iOBV ()
Parabolic SAR - Isar ()
Relative Strength Index - iRSI ()
Relative strength index buffer - iRSIOnArray ()
Relative vigor index - iRVI ()
Standard deviation - iStdDev ()
The standard deviation of the buffer - iStdDevOnArray ()
Stochastic Oscillator - iStochastic ()
William Percentage Range - IWPR ()
Highest ()
The lowest ()
double IAC (string symbol, int timeframe, int shift)
Count Bill Williams Accelerator / Decelerator oscillator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double result;
result = IAC (NULL, 0, 1);
double IAD (string symbol, int timeframe, int shift)
Count Accumulation / Distribution indicator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double result;
result = IAD (NULL, 0, 1);
double iAlligator (string symbol, int timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift, int ma_method, int applied_price, int mode, int shift)
Count Bill Williams Alligator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
jaw_period - Jaw period.
jaw_shift - jaw line shift.
teeth_period - Teeth period.
teeth_shift - Teeth line shift.
lips_period - Lips period.
lips_shift - Lips line shift.
ma_method - MA method. It could be any of Moving Average method enumeration value.
applied_price - Applied price. It could be any of Applied price enumeration values.
government - a source of data. It may be one of the following values:
MODE_GATORJAW - Gator Jaw (blue) balance line,
MODE_GATORTEETH - Gator teeth (red) balance line,
MODE_GATORLIPS - Gator Lips (green) line balance.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double jaw_val;
jaw_val = iAlligator (NULL, 0, 13, 8, 8, 5, 5, 3, MODE_SMMA, PRICE_MEDIAN, MODE_GATORJAW, 1);
double iADX (string symbol, int timeframe, int period, int applied_price, int mode, int shift)
Calculate the index movement direction and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
applied_price - Applied price. It could be any of Applied price enumeration values.
mode - Indicator line array index. It can be any one of the Indicators line identifiers enumeration value.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iADX (NULL, 0,14, PRICE_HIGH, MODE_MAIN, 0)> iADX (NULL, 0,14, PRICE_HIGH, MODE_PLUSDI, 0)) return (0);
double iATR (string symbol, int timeframe, int period, int shift)
Calculated indicator of the average true range and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iATR (NULL, 0,12,0)> iATR (NULL, 0,20,0)) return (0);
double IAO (string, int timeframe, int shift)
Awesome Oscillator Calculates the Bill Williams and returns it's value.
Parameters
... - Symbol the data they need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value;
Val = IAO (NULL, 0, 2);
double iBearsPower (string symbol, int timeframe, int period, int applied_price, int shift)
Count the Bears Power indicator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
applied_price - Applied price. It could be any of Applied price enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value;
Val = iBearsPower (NULL, 0, 13, PRICE_CLOSE, 0);
double iBands (string symbol, int timeframe, int period, int deviation, int bands_shift, int applied_price, int mode, int shift)
Count the Bollinger Bands indicator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
deviation - deviation.
bands_shift - Bands shift.
applied_price - Applied price. It could be any of Applied price enumeration values.
mode - Indicator line array index. It can be any one of the Indicators line identifiers enumeration value.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iBands (NULL, 0, 20,2,0, PRICE_LOW, MODE_LOWER, 0)> Low [0]) return (0);
iBandsOnArray double (double array [], int total deviation int, int bands_shift, int mode, int shift)
Count the Bollinger Bands indicator and returns it's value.
Parameters
string [] - array of data.
total - Threads number to increase.
deviation - deviation.
bands_shift - Bands shift.
government - Series array identifier. It can be any one of the Series array identifier enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iBands (ExtBuffer, a total of 2,0, MODE_LOWER, 0)> Low [0]) return (0);
double iBullsPower (string symbol, int timeframe, int period, int applied_price, int shift)
Count the Bulls Power indicator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
applied_price - Applied price. It could be any of Applied price enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value;
Val = iBullsPower (NULL, 0, 13, PRICE_CLOSE, 0);
double iCCI (string symbol, int timeframe, int period, int applied_price, int shift)
Calculated channel Commodity index and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
applied_price - Applied price. It could be any of Applied price enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iCCI (NULL, 0,12,0)> iCCI (NULL, 0,20,0)) return (0);
iCCIOnArray double (double array [], int total int period, int shift)
Calculated channel Commodity index and returns it's value.
Parameters
string [] - array of data.
total - Threads number to increase.
period - Number of periods for calculation.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iCCIOnArray (ExtBuffer, total 12,0)> iCCI (NULL, 0,20, PRICE_OPEN, 0)) return (0);
double iCustom (string symbol, int timeframe, string name, ..., int mode, int shift)
Calculates and returns the custom indicator's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
name - Custom indicator compiled program name.
... - Parameters set (if necessary).
government - Line index. Could be 0-7.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value;
Val = iCustom (NULL, 0, "SampleInd", 13,1,0);
double iDeMarker (string symbol, int timeframe, int period, int shift)
Calculated DeMarker indicator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value;
Val = iDeMarker (NULL, 0, 13, 1);
double iEnvelopes (string symbol, int timeframe, int ma_period, int ma_method, int ma_shift, int applied_price, double deviation, int mode, int shift)
Calculated indicator envelopes and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
ma_period - Number of periods for calculation.
ma_method - MA method. It could be any of Moving Average method enumeration value.
ma_shift - MA shift. Line offset indicator is related to the table time.
applied_price - Applied price. It could be any of Applied price enumeration values.
deviation - deviation.
mode - Indicator line array index. It can be any one of the Indicators line identifiers enumeration value.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value;
Val = iEnvelopes (NULL, 0, 13, MODE_SMA, 10, PRICE_CLOSE, 0,2, MODE_UPPER, 0);
iEnvOnArray double (double array [], int period, int total, int ma_method, double deviation, int mode, int shift)
Count Envelopes considered an indicator of the buffer and returns it's value.
Parameters
string [] - array of data.
total - Threads number to increase.
period - Number of periods for calculation.
ma_method - MA method. It could be any of Moving Average method enumeration value.
deviation - deviation.
mode - Indicator line array index. It can be any one of the Indicators line identifiers enumeration value.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value;
Val = iEnvOnArray (ExtBuffer, 0, 13, MODE_SMA, 0,2, MODE_UPPER, 0);
double iForce (string symbol, int timeframe, int period, int ma_method, int applied_price, int shift)
We calculated the index of power and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
ma_method - MA method. It could be any of Moving Average method enumeration value.
applied_price - Applied price. It could be any of Applied price enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value;
Val = iForce (NULL, 0, 13, MODE_SMA, PRICE_CLOSE, 0);
double iFractals (string symbol, int timeframe, int mode, int shift)
Calculated Fractals and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
mode - Indicator line array index. It can be any one of the Indicators line identifiers enumeration value.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value;
Val = iFractals (NULL, 0, MODE_UPPER, 0);
double iGator (string symbol, int timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift, int ma_method, int applied_price, int mode, int shift)
Gator Oscillator calculates and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
jaw_period - Jaw period.
jaw_shift - jaw line shift.
teeth_period - Teeth period.
teeth_shift - Teeth line shift.
lips_period - Lips period.
lips_shift - Lips line shift.
ma_method - MA method. It could be any of Moving Average method enumeration value.
applied_price - Applied price. It could be any of Applied price enumeration values.
mode - Indicator line array index. It can be any one of the Indicators line identifiers enumeration value.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double jaw_val;
jaw_val = iGator (NULL, 0, 13, 8, 8, 5, 5, 3, MODE_SMMA, PRICE_MEDIAN, MODE_UPPER, 1);
double iIchimoku (string symbol, int timeframe, int tenkan_sen, int kijun_sen, int senkou_span_b, int mode, int shift)
Calculated Ichimoku Kinko Hyo and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
tenkan_sen - Tenkan Senator
kijun_sen - Kijun Senator
senkou_span_b - Senkou SpanB.
government - a source of data. It may be one of the following values:
MODE_TENKANSEN - Tenkan-Resen
MODE_KIJUNSEN - Kijun-Resen
MODE_SENKOUSPANA - Senkou Span A
MODE_SENKOUSPANB - Senkou Span B
MODE_CHINKOUSPAN - Chinkou span.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double tenkan_sen;
tenkan_sen = iIchimoku (NULL, 0, 9, 26, 52, MODE_TENKANSEN, 1);
double iBWMFI (string symbol, int timeframe, int shift)
Count Bill Williams Market Facilitation index and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value;
Val = iBWMFI (NULL, 0, 0);
double iMomentum (string symbol, int timeframe, int period, int applied_price, int shift)
Momentum indicator calculates and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
applied_price - Applied price. It could be any of Applied price enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iMomentum (NULL, 0,12, PRICE_CLOSE, 0)> iMomentum (NULL, 0,20, PRICE_CLOSE, 0)) return (0);
iMomOnArray double (double array [], int total int period, int shift)
Calculated momentum indicator considers the buffer and returns it's value.
Parameters
string [] - array of data.
total - Threads number to increase.
period - Number of periods for calculation.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iMomOnArray (mybuffer, 100,12,0)> iMomOnArray (mubuffer, 100,20,0)) return (0);
double iMFI (string symbol, int timeframe, int period, int shift)
Count the money flow index and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iMFI (NULL, 0,14,0)> iMFI (NULL, 0,14,1)) return (0);
double IMA (string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift)
Calculates the moving average indicator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
ma_shift - MA shift. Line offset indicator is related to the table time.
ma_method - MA method. It could be any of Moving Average method enumeration value.
applied_price - Applied price. It could be any of Applied price enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
AlligatorJawsBuffer [i] = IMA (NULL, 0,13,8, MODE_SMMA, PRICE_MEDIAN, i);
iMAOnArray double (double array [], int period, int total, int ma_shift, int ma_method, int shift)
Calculates the moving average count of the buffer and returns it's value.
Parameters
string [] - array of data.
total - Threads number to increase. 0 means the whole array.
period - Number of periods for calculation.
ma_shift - Degree Rotation
ma_method - MA method. It could be any of Moving Average method enumeration value.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double macurrent = iMAOnArray (ExtBuffer, 0,5,0, MODE_LWMA, 0);
double macurrentslow = iMAOnArray (ExtBuffer, 0,10,0, MODE_LWMA, 0);
double maprev = iMAOnArray (ExtBuffer, 0,5,0, MODE_LWMA, 1);
double maprevslow = iMAOnArray (ExtBuffer, 0,10,0, MODE_LWMA, 1);
//----
if (maprev
Alert ("pass up");
double iOsMA (string symbol, int timeframe, int fast_ema_period, int slow_ema_period, int signal_period, int applied_price, int shift)
Count the Moving Average of Oscillator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
fast_ema_period - Number of periods of fast moving average calculation.
slow_ema_period - Nmber periods for slow moving average calculation.
signal_period - Number of times the signal moving average calculation.
applied_price - Applied price. It could be any of Applied price enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iOsMA (NULL, 0,12,26,9, PRICE_OPEN, 1)> iOsMA (NULL, 0,12,26,9, PRICE_OPEN, 0)) return (0);
double iMACD (string symbol, int timeframe, int fast_ema_period, int slow_ema_period, int signal_period, int applied_price, int mode, int shift)
Calculates the moving average convergence / divergence and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
fast_ema_period - Number of periods of fast moving average calculation.
slow_ema_period - Number of periods for slow moving average calculation.
signal_period - Number of times the signal moving average calculation.
applied_price - Applied price. It could be any of Applied price enumeration values.
mode - Indicator line array index. It can be any one of the Indicators line identifiers enumeration value.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iMACD (NULL, 0,12,26,9, PRICE_CLOSE, MODE_MAIN, 0)> iMACD (NULL, 0,12,26,9, PRICE_CLOSE, MODE_SIGNAL, 0)) return (0);
double iOBV (string symbol, int timeframe, int applied_price, int shift)
Calculated on the balance of Tom indicator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
applied_price - Applied price. It could be any of Applied price enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value;
Val = iOBV (NULL, 0, PRICE_CLOSE, 1);
Isar double (string symbol, int timeframe, int step, int max, int shift)
Calculated parabolic Sell and Reverse system and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
step - Increment, usually 0.02.
Maximum - Maximum value, usually 0.2.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (Isar (NULL, 0,0.02,0.2,0)> Close [0]) return (0);
double iRSI (string symbol, void timeframe, int period, int applied_price, int shift)
We calculated the relative strength index and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
applied_price - Applied price. It could be any of Applied price enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iRSI (NULL, 0,14, PRICE_CLOSE, 0)> iRSI (NULL, 0,14, PRICE_CLOSE, 1)) return (0);
iRSIOnArray double (double array [], int total int period, int shift)
We calculated the relative strength index considers the buffer and returns it's value.
Parameters
string [] - array of data.
total - Threads number to increase.
period - Number of periods for calculation.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iRSIOnBuffer (ExtBuffer, 1000,14,0)> iRSI (NULL, 0,14, PRICE_CLOSE, 1)) return (0);
double iRVI (string symbol, int timeframe, int period, int mode, int shift)
Calculated Relative vigor index and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
mode - Indicator line array index. It can be any one of the Indicators line identifiers enumeration value.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value;
Val = iRVI (NULL, 0, 10, MODE_MAIN, 0);
double iStdDev (string symbol, int timeframe, int ma_period, int ma_method, int ma_shift, int applied_price, int shift)
Calculated standard deviation indicator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
ma_period - Master period.
ma_method - MA method. It could be any of Moving Average method enumeration value.
ma_shift - MA shift.
applied_price - Applied price. It could be any of Applied price enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value = iStdDev (NULL, 0,10, MODE_EMA, PRICE_CLOSE, 0);
iStdDevOnArray double (double array [], int total int ma_period, int ma_method, int ma_shift, int shift)
Calculated standard deviation considers the buffer and returns it's value.
Parameters
string [] - array of data.
total - Threads number to increase.
ma_period - Master period.
ma_method - MA method. It could be any of Moving Average method enumeration value.
ma_shift - IMA shift.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
double value = iStdDevOnArray (ExtBuffer, 100,10, MODE_EMA, 0,0);
double iStochastic (string symbol, int timeframe, int% Kperiod, int% Dperiod, int delay, int method, int price field, int mode, int shift)
Count the Stochastic Oscillator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
Kperiod% -% K line period.
Dperiod% -% d line period.
delay - The delay value.
method - MA method. It could be any of Moving Average method enumeration value.
price field - Price field parameter. You may be one of these values: 0 - Low / High or 1 - Close / Close.
mode - Indicator line array index. It can be any one of the Indicators line identifiers enumeration value.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (iStochastic (NULL, 0,5,3,3, MODE_SMA, MODE_MAIN, 0)> iStochastic (NULL, 0,5,3,3, MODE_SMA, MODE_SIGNAL, 0)) return (0);
IWPR double (string symbol, int timeframe, int period, int shift)
Larry William Calculates percent range indicator and returns it's value.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
period - Number of periods for calculation.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
Sample
if (IWPR (NULL, 0,14,0)> IWPR (NULL, 0,14,1)) return (0);
Highest integer (string symbol, int timeframe, int type, int count = WHOLE_ARRAY, int start = 0)
Returns the shift of the maximum value in a number of periods depending on type.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
type - Series array identifier. It can be any one of the Series array identifier enumeration values.
count - Number of periods (in the direction of the start bar to return) on which the calculation.
start - Shift showing the bar in terms of the current tape, the data should be taken.
Sample
double value;
/ / Calculate the highest value in the range of 5 to 25 element element
/ / Symbol indicator charts and indicator charts timeline
Val = Highest (NULL, 0, MODE_HIGH, 20,4);
Lowest int (string symbol, int timeframe, int type, int count = WHILE_ARRAY, int start = 0)
It returns the shift value of at least a certain number of periods depending on type.
Parameters
symbol - a symbol of what you need to calculate indicator. NULL means current symbol.
Time Frame - Time frame, by default used current chart period. It could be any of Time frame enumeration values.
type - Series array identifier. It can be any one of the Series array identifier enumeration values.
count - Number of periods (in the direction of the start bar to return) on which the calculation.
start - Shift showing the bar in terms of the current tape, the data should be taken.
Sample
double value;
Val = Lowest (NULL, 0, MODE_LOW, 10,10);
No comments:
Post a Comment