Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

CLS (ClearScreen) - indicator for MetaTrader 5

Views:
5057
Rating:
(9)
Published:
2023.02.08 23:43
Clear.mq5 (2.15 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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


Advanced Line Chart Advanced Line Chart

Advanced Line Chart based on Japanese candlesticks.

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.

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.

Hurst Exponent - optimized version Hurst Exponent - optimized version

Hurst Exponent - optimized version