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

Advanced Line Chart - MetaTrader 5용 지표

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

Advanced Line Chart

This line tries to reflect the main direction of the trend and it is calculated based on Japanese candlestick data.

If the trend is up, then the line is closer to the high prices of each candle, and vice versa, if the trend is down, then the line is closer to the low prices of each candle.

This is great for plotting various moving averages and can be a good basis for calculating other indicators.

    Highest High fetch Highest High fetch

    The code defines a function "RangeHighs" that calculates the highest price of a financial instrument within a specified time range (start and end time). The time range is defined by 4 input parameters (hour and minute of start and end time). The highest price is found using the "CopyHigh" function and stored in an array, from which the maximum value is returned.

    MultiCurrency Template MT5 MultiCurrency Template MT5

    a Template for Multicurrency system for Metatrader 5

    CLS (ClearScreen) CLS (ClearScreen)

    CLS (ClearScreen) delets all object drawn on the chart with key press "C"

    Check the time periods used Check the time periods used

    The function takes two arrays of integers as parameters: "allowedPeriods" and "periodsToCheck". "allowedPeriods" is an array containing all the time periods allowed by the system, while "periodsToCheck" is an array containing the time periods used by the user in the indicator. The function iterates through the elements of the "periodsToCheck" array and checks if each of them is present in the "allowedPeriods" array. If it finds any time period that is not allowed, the function returns "false". If all time periods are allowed, the function returns "true". In short, this function is used to make sure that the time periods used in an indicator are valid and allowed by the system.