Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Libraries

CMqlParams - library for MetaTrader 5

| English Русский Español Deutsch 日本語 Português

Views:
1519
Rating:
votes: 19
Published:
2017.06.30 14:54
Updated:
2017.06.30 14:54
\MQL5\Include\
MqlParams.mqh (3.26 KB)view
\MQL5\Scripts\

Public methods:

MqlParam          params[];

Public access to the params array;

CMqlParams*       Set(T data,ENUM_DATATYPE type = TYPE_LONG);

This is the main method of setting the params. Methods can be chained to add multiple params at the same time. *see example script.

T                 Get(int index);

//example

int param = Get<int>(0);

Returns the param data at index. 

ENUM_DATATYPE     Type(int index)

Returns the type at index.

int               Total()

Returns the total number of params.

CMqlParams*       Clear() 

Clears the param array and sets Total() to 0

Daily Open Line Daily Open Line

An simple Indicator displaying daily opening line.

Automatically bring charts one by one to the top Automatically bring charts one by one to the top

This indicator helps to move charts one by one to the the front, just like slide show, and make your hands free.

MA Zigzag Trend MA Zigzag Trend

Another ZigZag trend indicator based on extremum points of SMA indicator.

RSI Trend Indicator RSI Trend Indicator

A simple trend indicator based on the RSI changes.