Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
CMqlParams - library for MetaTrader 5
- Views:
- 4206
- Rating:
- Published:
- 2017.06.30 14:54
- Updated:
- 2017.06.30 14:54
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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
An simple Indicator displaying daily opening line.
Automatically bring charts one by one to the topThis indicator helps to move charts one by one to the the front, just like slide show, and make your hands free.
MA Zigzag Trend
Another ZigZag trend indicator based on extremum points of SMA indicator.
RSI Trend IndicatorA simple trend indicator based on the RSI changes.