Codes

Basic GridManager Library for MetaTrader 5

This is a basic library to create and manage grids

Moving Averages-14 different types for MetaTrader 4

This is an indicator to calculate 14 types of moving averages based on close price

Divergences Template Indicator for MetaTrader 4

This is a indicator to plot hidden and regular divergences on chart

ATR Weighted Moving Averages for MetaTrader 5

This is an indicator to calculate ATR Weighted moving averages

Moving Averages-14 different types for MetaTrader 5

This is an indicator to calculate 14 types of moving averages based on close price

Calculate unrealized profit(s) at a specific time in history for MetaTrader 5

This is a script to print all open trades and their PnLs at a specific time in history

pivots calculation based on pine script v4 for MetaTrader 4

This is the exact conversion of pivotshigh and pivotslow functions from pine script v4 as an mql4 indicator

pivots calculation based on pine script v4 for MetaTrader 5

This is the exact conversion of pivotshigh and pivotslow functions from pine script v4 as an mql5 indicator

Linear Regression calculation based on pine script v4 for MetaTrader 5

This is the exact conversion of linreg function from pine script v4 as an mql5 indicator

Forum

How to find out if a ticket is closed?

Hello everyone. Is there any solution to know if a ticket is already closed without having to iterate all open positions

Object in indicator causing trouble

Suppose I am running indicator_1 in EURUSD chart. The indicator_1 code opens a GBPUSD chart and adds indicator_2 to that chart using ChartIndicatorAdd . The objects in indicator_2 are appeared in EURUSD chart and not GBPUSD. Is it normal behavior? Can I avoid this? long chart_id= ChartOpen

where is Holiday in ENUM_CALENDAR_EVENT_IMPORTANCE

ENUM_CALENDAR_EVENT_IMPORTANCE has four levels as below. ID Description CALENDAR_IMPORTANCE_NONE Importance is not set CALENDAR_IMPORTANCE_LOW Low importance CALENDAR_IMPORTANCE_MODERATE Medium importance CALENDAR_IMPORTANCE_HIGH High importance But the visual calendar in website has Holiday also

Product not showing up on my wall

I added a product but it didn't show up in my wall. Could it be a new feature? Or they are working on something

No articles about converting from pine script to MQL

Hello everyone. I realize there are no articles about this topic in this website. Is it because there is a restriction for this topic or just nobody did it before

A tool to beautify your MQL code

Does anyone know a tool that can beautify MQL codes? Like aligning input parameters... Aligning buffers declarations, etc

Concern about using closed source product

Hello. Suppose a closed source product 's source code be released in public comments section by the author himself/herself. Would using the source code to create another product referencing the original developer violate any rules

Swap issue

Hello. It says swap type in points but the value does not look like points. Why

Does free downloads count codebase?

Does free downloads statistics count market products only? Or it counts codebase downloads also