VirtualDay. Creating a Virtual day. Indicator for MetaTrader
Шаблоны MQL Открытый код. Шаблон для создания советника
Description
Ind – CrossObjectALert Indicator of alerts when crossing objects
In the indicator, you can set the Type of objects or all objects, as well as the Color of the objects to intersect and the names of the objects separated by commas. If the price has crossed with the object – indicators will give an alert on the screen, send a message to the phone, and write a letter to your mail. Added support for the MetaTrader 5/4 terminal
Some important articles related to this topic
Indicator parameters
- string nameofobject =””; // Names of objects to intersect, separated by commas, or empty – all
- color colorofobject = clrNONE; //Color of objects to intersect, you can optionally specify the Color of objects, or NONE – all
- typeobj typeofobject =0; //Type of objects to intersect, you can specify a specific type of objects, or ALL – all
- string Alerts =”Alerts and arrows from www.expforex.com”;
- int ColofAlert =1; // Number of alerts when the intersection is triggered
- int TimeofAlert = 3; // The number of seconds to pause between alerts when the intersection is triggered
- string nameofsound=”alert.wav”;
- bool AlerT = true; // Issue an alert to the screen
- bool mail = true; // Send message
- bool Push =true; // Send PUSH to phone
- bool Arrow = true; // Put arrows on signals
Work indicator
You can set the indicator to intersect with any object or select an object and its Type from the list. You can also enter object names separated by “commas” or “,” or leave the field empty, and then the indicator will track all objects. You can also set the Color of objects or leave the field NONE, and then the indicator will follow all objects with any color.
After the price crosses the set object, the indicator will give a sound alert and send a letter to the mail or phone. The number of such alerts can be adjusted in the settings. Only 1 alert for 1 object can be displayed on 1 bar; if an alert is triggered for 1 line, then the following alert is possible only on another bar.
Questions?
If you have any questions, please ask them. We do not sell the pig in a poke.
And each of our products can be checked before the purchase.
We appreciate your attitude and wishes for our products and try to keep the quality standard high.
Thank you for being with us!
Do you have a question?
This post is also available in: English Українська Portuguese Español Deutsch Chinese Русский Français Italiano Türkçe 日本語 한국어
Leave a Reply