Script for Calculation of Candle Statistics - script for MetaTrader 5

Script for Calculation of Candle Statistics - script for MetaTrader 5

The script calculates candle statistics (the minimal, maximal and average values of candles body and shadows) of the current chart. The calculated statistics is shown for 3 groups (bullish, bearish and all) of candles in the upper left corner of the chart. The calculation interval depends on 5 first input parameters (the interval also can be selected with two vertical lines with names, defined in input parameters). How does it work: If there
Visual Аnalysis AfterTesting - script for MetaTrader 5

Visual Аnalysis AfterTesting - script for MetaTrader 5

The ForAfterTesting script for changing the display of graphical objects created by the strategy tester and for easier visual analysis of the results. Changes the parameters of lines (the ChangeOnly parameter). Simplifies the analysis of profitable (parameter ChangeWinners) and loss (parameter ChangeLosses) trades. Key features: Changing object properties: the color of the line, the display style, width, color of the arrows.  Analysis
ChartChanger - script for MetaTrader 5

ChartChanger - script for MetaTrader 5

The script is assigned to a hot key for quick change of charts around in a circle.
Demo_FileWriteDouble - script for MetaTrader 5

Demo_FileWriteDouble - script for MetaTrader 5

The script gets the values of the Moving Average indicator and writes them in the binary file in "Data" subdirectory of the local terminal folder. In script input parameters can be specified parameters for the MA indicator calculation, the name of the currency pair and timeframe, as well as date from which we will calculate the indicator values. In addition to the MA indicator values ​​the corresponding values ​​of time preliminary led to a
Demo_FileSize - script for MetaTrader 5

Demo_FileSize - script for MetaTrader 5

The script sorts one by one all CSV files in the general folder of all client terminals to obtain their sizes. After getting the size, its value is compared to the "InpThresholdSize" threshold value and according to the result the file is placed either in the "InpBigFolderName", or the "InpSmallFolderName" named folder. Thus large and small dimension files are sorted. Besides using the FileSize() function, there are also the FileFindFirst(), the
Demo_FileTell - script for MetaTrader 5

Demo_FileTell - script for MetaTrader 5

The script opens the text file, analyzes the positions of the strings start points in this file and displays string text with a random number. To receive the array of the start positions for each string in the file the GetStringPositions() function is written. The function searches the strings start point considering the type of encoding files that can be specified in the "InpEncodingType" input parameter. Besides using the FileTell() function,
Demo_FileWriteInteger - script for MetaTrader 5

Demo_FileWriteInteger - script for MetaTrader 5

The script gets prices from the specified symbol, analyzes them and writes price movement data in the binary file in certain periods of time. The FileWriteInteger() function is used for writing all data. Date value will be preliminary converted to the string, split to the uchar type array and then written in the file using the function. Code: //--- show the window of input parameters when launching the script #property script_show_inputs //---
VM - Volatility Measure - script for MetaTrader 5

VM - Volatility Measure - script for MetaTrader 5

I would like to represent you a small script that copies candlestick data for the specified period of time and searches separate parts of the candlestick (body, upper and lower shadows) there. Then the script finds the maximum and minimum value, as well as the arithmetic mean value. In this case, scanning is performed on all timeframes. As a result, the script displays the received data as a table in the upper left corner of the active window.
The scripts for opening long positions - script for MetaTrader 5

The scripts for opening long positions - script for MetaTrader 5

These scripts are designed to buy with fixed values of Stop Loss and Take Profit in points from the current price. There are four variants of scripts which can be divided into two groups: Scripts for brokers which have nonzero spread and admit the ability to set Stop Loss and Take Profit simultaneously performing a deal; Scripts for brokers which may have zero spread, otherwise, it is not recommended to set Stop Loss and Take Profit
The scripts for opening short positions - script for MetaTrader 5

The scripts for opening short positions - script for MetaTrader 5

These scripts are designed to sell with fixed values of Stop Loss and Take Profit in points from the current price. There are four variants of scripts which can be divided into two groups: Scripts for brokers which have nonzero spread and admit the ability to set Stop Loss and Take Profit simultaneously performing a deal; Scripts for brokers which may have zero spread, otherwise, it is not recommended to set Stop Loss and Take Profit



Latest News

Replacing Pratt engines in IndiGo fleet by end of January a challenge: CEO
Today, 11:15
By Ankit Ajmera DUBAI (Reuters) - Replacing all Pratt & Whitney engines on IndiGo's fleet of almost 100 Airbus planes by Jan. 31, as ordered by India's aviation watchdog, will be challenging but the airline aims to complete the work, its chief executive officer said on Monday. India's aviation regulator on Nov. 1 ordered IndiGo (NS:INGL) to replace all Pratt & Whitney (P&W) engines on its fleet of twin-engined Airbus A320neo ..
Read more

Volkswagen cuts medium-term outlook for operating profit, sales
Today, 11:12
HAMBURG (Reuters) - German carmaker Volkswagen (DE:VOWG_p) on Monday cut its medium-term outlook for operating profit as the industry is being hit by a global downturn. VW now expects operating profit before special items to grow by at least 25% in the 2016-2020 period, down from a previous forecast of more than 30%, slides for a presentation showed. The Wolfsburg-based company also cut its forecast for medium-term sales growth to 20% from more ..
Read more

Fiscal stimulus needed to revive India's stuttering economy: analysts
Today, 11:09
By Swati Bhat MUMBAI (Reuters) - India has depended on monetary policy to support its economy growing at its slowest pace in six years but the government must now deploy more direct fiscal stimulus or risk a long period of stagnation, analysts and experts say. Growth in Asia's third-largest economy has been hit by weak consumer demand and slower government spending amid pressures from the Sino-U.S. trade war, and more recent economic data ..
Read more

Japan hosts first fully-fledged arms show looking for an edge in tech
Today, 11:06
By Tim Kelly TOKYO (Reuters) - Japan's first ever fully fledged arms show opened on Monday, creating a forum that Japan's government hopes will help it tap technology it needs to counter threats posed by China and North Korean. Some 200 protesters gathered near the entrance of the convention centre near Tokyo, calling for the government-backed DSEI Japan exhibition to be shut down as they regarded it as an affront to the nation's ..
Read more

Trade tensions to hit goods growth in fourth quarter as tariffs bite: WTO
Today, 11:03
GENEVA (Reuters) - The World Trade Organization (WTO) said on Monday that growth in global goods trade is expected to remain "below trend" in the fourth quarter amid tensions and rising tariffs in key sectors. Its latest quarterly barometer showed growth in global merchandise trade rose by 0.2 pct in the second quarter of this year against 3.5 pct in same period of 2018. "Some components of the barometer have stabilized since the last reading in ..
Read more

HSBC Cites Rules as Protest-Linked Account Reportedly Shut
Today, 10:12
(Bloomberg) -- HSBC Holdings (LON:HSBA) Plc (NYSE:HSBC) pointed to routine regulatory requirements to ensure client money is used for stated purposes after a report Monday that the firm is shutting a corporate account that helped fund protest-related activities in Hong Kong -- a politically sensitive issue. The bank took action after finding the account was being used inconsistently with its original paperwork, the Hong Kong Economic Journal ..
Read more

German business lobby, labor union jointly call on Berlin to boost public investment
Today, 10:09
BERLIN (Reuters) - Germany's BDI industry association and the DGB trade union called in a rare joint statement on Monday for the government to rethink its budget priorities and massively boost public investment to make Europe's largest economy fit for future growth. The unusual move by Germany's most influential business lobby group and the country's largest umbrella union show how much public debate has shifted in a country ..
Read more

Morgan Stanley Sees U.S. Underperforming in 2020 Across Markets
Today, 10:06
(Bloomberg) -- Morgan Stanley (NYSE:MS) predicted that American equities and corporate bonds will underperform peers next year, while the dollar weakens as growth outside the U.S. picks up. “We see the biggest potential upside in markets with a clearer path to achievable earnings growth (Japan and EM) or scope for some multiple re-rating on falling political risks (Europe),” strategists including Andrew Sheets, Michael Wilson and Matthew ..
Read more

Apple iPhone 11 Scores Early China Success, Official Data Shows
Today, 10:03
(Bloomberg) -- Chinese consumers are rediscovering their appetite for iPhones. Apple Inc. (NASDAQ:AAPL) shipped 10 million iPhones in China during September and October, based on Bloomberg’s calculations from government data on overall and Android device shipments. That’s the first indication of the company’s performance following the autumn release of its latest gadgets, and it shows iPhone shipments up 6% from a year earlier, ..
Read more
" template="news2" category="16" available="global" from="0" limit="5" order="date" sort="desc" cache="no"}