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

Multi currency library - MetaTrader 5용 라이브러리

조회수:
5724
평가:
(20)
게시됨:
2021.02.22 12:29
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

This library allow an easy control over multiple currencies, on every update it will check for errors, this way you can use it in your indicator or expert to avoid common error and rewrite not needed parts, focusing more on your business and leave hassle away.

How to use it , just include the library and define the CSymbolCollection, add symbols and  Update before calculations : 

CSymbolCollection *SCollection = new CSymbolCollection(TotalBarsToCalculate);
SCollection.Add("EURUSD");

SCollection.Update();

Update() method return a boolean, if false it will print in journal which currency need more history to be processed. After this you can loop for every currencies to get the MqlRates or get the specific price directly :

int collection_length = SCollection.GetCollectionLength(); // get the total number of currency added
for(int s=0;s<collection_length;s++) {
    MqlRates rate_prev = SCollection.GetRateAtPos(s,bar-VariationPeriod);
    MqlRates rate_actual = SCollection.GetRateAtPos(s,bar);

    momentum=(rate_actual.close*100/rate_prev.close);
}
int collection_length = SCollection.GetCollectionLength(); // get the total number of currency added
for(int s=0;s<collection_length;s++) {

    double close_prev = SCollection.GetCloseAtPos(s,bar-VariationPeriod);
    double close_actual = SCollection.GetCloseAtPos(s,bar);

    momentum=(close_actual*100/close_prev);
}

This library is used by my indicator Multi Momentum downloadable from the codebase.

Vinci EA Vinci EA

It is Diffrent complex Range BreakOut system. Using to Range Breakout system is defined by min number of bars and max width in pips. This robot is can use to volatility instrument.

INDICATOR Currency Strength Meter - MT5 INDICATOR Currency Strength Meter - MT5

The currency strength meter is a trading tool that is used to identify trending and consolidating markets based on the percentage rate of change in price from one period to the next.

Stable Damiani Volatmeter Stable Damiani Volatmeter

Volume/Volatility Indicator

Licensing class and script with 256bit Encryption Licensing class and script with 256bit Encryption

This is a Script and Class for creating, evaluating and adding accounts to an encrypted license file for licensing an MQL EA or Indicator.