Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Script

Quick Market-watch Launcher v1.1 - script per MetaTrader 5

[Eliminato]
Visualizzazioni:
4950
Valutazioni:
(21)
Pubblicato:
2020.05.30 10:31
Aggiornato:
2020.07.19 08:15
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

This is an updated and improved version, with an included updated of the license terms.

The spread parameter has been coded as a list of section variables, with an option to open all symbols on the market-watch. 


Usage is still simple.

//--- these are user input variables accessible from the terminal when launching the script
input ENUM_TIMEFRAMES Time_frame = NULL;
input spread Max_spread         = all_values;

//--- this is the SymbolInfo object(comes with the standard package) for ease of use of symbol properties.
CSymbolInfo m_symbol;


We loop through the market-watch and check symbol properties(spread and availability on the market-watch) while checking the spread suitability through a function of type int maxSpread(), which  processes the user inputs.

The loop:

for(int i = 0; i < SymbolsTotal(true); i++) {
          Pair = SymbolName(i, true);
          if(Pair == SymbolName(i, true)) {
               if(m_symbol.Name(Pair)) {
//--- check spread propertiex
                    int spread_limit = maxSpread(Max_spread);
                    //---
                    if(spread_limit == -1)
                         ChartOpen(Pair, Time_frame);
                    else if(m_symbol.Spread() < spread_limit)
                         ChartOpen(Pair, Time_frame);
               }
          }
//--- close the attached chart since another instance is opened.
          if(i == 0)
               ChartClose(0);
     }

Compile the file and launch it on any chart and select your preferred settings.

Your continued use of this product will serve as a confirmation of your agreement to the GNU license terms.

Enjoy your pips!

    Base64Encrypt Class Base64Encrypt Class

    This a library for a quick and easy encryption and decryption using base64. The usage is very simple and can be done in a few lines of code. <<< The return value of a method is the required output. <<< Feel free to use this library at your convenience.If it is helpful, please reward me by rating this item on mql5 site. >>From a developer, for developers.<<

    Alphabet structure Alphabet structure

    Sets of latin, russian characters, digits, punctuation, etc.

    Binary Flags Binary Flags

    How to minimize bool parameters in a function signature?

    EMA on RSI EMA on RSI

    Calculates a Exponential Moving Average based on RSI Data, instead of the regular Pricing data. Simple and and to the point.