당사 팬 페이지에 가입하십시오
Quick Market-watch Launcher v1.1 - MetaTrader 5용 스크립트
- 조회수:
- 5190
- 평가:
- 게시됨:
- 2020.05.30 10:31
- 업데이트됨:
- 2020.07.19 08:15
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
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!
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 structureSets of latin, russian characters, digits, punctuation, etc.
How to minimize bool parameters in a function signature?
EMA on RSICalculates a Exponential Moving Average based on RSI Data, instead of the regular Pricing data. Simple and and to the point.