거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
라이브러리

iACfunc, iAOfunc and iBearsBullsfuncs - MetaTrader 4용 라이브러리

조회수:
6157
평가:
(13)
게시됨:
업데이트됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

In this library you will find 3 custom functions: iACfunc, iAOfunc and iBearsBullsfuncs, which extend calculating capabilities of the appropriate functions and may be used for example in expert advisers.

In contrast to standard function iAC the proposed function iACfunc allows to calculate value with possibility to choose price, moving average and periods according to the following formulas:

AO = MA_mode (Applied_price, Period_1) - MA_mode (Applied_price, Period_2)
AC = AO - MA_mode (AO, Period_3)

double iACfunc (string Sy, int Tf, int MA_mode, int Applied_price, int Period_1, int Period_2, int Period_3, int Shift)


In contrast to standard function iAO the proposed function iAOfunc allows to calculate value with possibility to choose price, moving average and periods according to the following formula:

AO = MA_mode (Applied_price, Period_1) - MA_mode (Applied_price, Period_2)

double iAOfunc (string Sy, int Tf, int MA_mode, int Applied_price, int Period_1, int Period_2, int Shift)


In contrast to standard functions iBearsPower and iBullsPower the proposed function iBearsBullsfuncs allows to calculate values with possibility to choose also moving average according to the following formulas:

BEARS = LOW - Bears_MA _mode (Applied_price, BearsPeriod)
BULLS = HIGH - Bulls_MA _mode (Applied_price, BullsPeriod)

double iBearsPowerfunc (string Sy, int Tf, int BearsPeriod, int Applied_price, int Bears_MA_mode, int Shift)
double iBullsPowerfunc (string Sy, int Tf, int BullsPeriod, int Applied_price, int Bulls_MA_mode, int Shift)

Input parameters:

  • Sy - symbol,
  • Tf - timeframe,
  • MA_mode, Bears_MA_mode, Bulls_MA_mode - moving average,
  • Applied_price - applied price,
  • Period_1, Period_2, Period_3, BearsPeriod, BullsPeriod - period for calculation of appropriate moving average,
  • Shift - index of the value taken from the indicator buffer.

More detailed description of parameters with examples you will find in the attached zip file.

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/10834

Modify stop loss or take profit Modify stop loss or take profit

Scripts to modify stop loss in buy or sell opened orders on current chart.

clock displaying time in main chart clock displaying time in main chart

For those trader who can't stand having the Market Watch or Navigator boxes up on their platform but like to have a time displayed on chart a Simple Clock Indicator

Schaff Trend + Signal EMA  Schaff Trend + Signal EMA

Schaff Trend + Signal EMA

Elliot Waves labels Elliot Waves labels

A simple script to quickly place letter/numbers on the chart for wave labeling (A, B, C or 1, 2, 3, etc)