거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
11539
평가:
(28)
게시됨:
2010.02.15 13:28
업데이트됨:
2017.05.03 12:21
\MQL5\Indicators\LoongMA\
cmybuffer.mqh (3.21 KB) 조회
fcolorinc.mqh (4.41 KB) 조회
loongmax96.mq5 (12.18 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Author:

Loong

Draws 96 line MAs with only 100 lines of code (uses MyBuffer class).

History: The idea is got from Rosh's topic

https://www.mql5.com/ru/forum/102881/page6
https://www.mql5.com/zh/forum/102888/page2
https://www.mql5.com/en/forum/102908/page4
https://www.mql5.com/en/forum/102908/page5

And the idea in Chinese name, called 'jun xian liu'.(That means "Moving Average Line Flow".) I wanted to simplify the multi-indicator template with a multi-line indicator. But it means many repetitive codes.

Or I need two-dimensional array, one dimensional for time index, another dimensional for MAs[] index. In MQL4, it is impossible. (And MQL4 support only 8 line indicator.) Then we had MetaTrader 5 and MQL5, them support class. And class can hide one dimensional. So I achieved the first version, at https://www.mql5.com/en/forum/121672 (notice: the old class named 'CIndicatorBuffer' conflicts with same name in Indicator.mqh)

Later, a newer version be discussed at https://www.mql5.com/en/forum/331/ (Thank 'Rosh' and 'investeo'!)

And now, the newest version is here.

Input parameters:

Parameters? forget it! It work fine without changing parameters.


LoongMAx96


TimerClosingPeriod TimerClosingPeriod

The indicator prints the time to close of the current timeframe, if it less than H1, it also prints the time to close of the current hourly bar.

ErrorDescription ErrorDescription

The library contains functions that returns description of runtime error codes and trade server return codes.

sChartsSynchroScroll sChartsSynchroScroll

The script provides a synchronous scrolling for all charts opened in the client terminal.

WININET_TEST WININET_TEST

Here is a simple example that shows how to download page(file) from Internet using the library wininet.dll.