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

Exclusive: Italian government leaning towards third term for Eni CEO - sources
Today, 18:24
By Giuseppe Fonte, Stephen Jewkes and Giselda Vagnoni ROME/MILAN (Reuters) - The Italian government is leaning toward reappointing Claudio Descalzi as CEO of state-controlled oil firm Eni, provided he will work with a new board to speed up efforts to cut carbon emissions, four senior political sources told Reuters. The largest member of the ruling coalition, the anti-establishment 5-Star Movement, has been highly critical of the veteran oilman ..
Read more

Denmark stocks higher at close of trade; OMX Copenhagen 20 up 0.10%
Today, 18:21
Investing.com – Denmark stocks were higher after the close on Monday, as gains in the Personal & Household Goods, Real Estate and Healthcare sectors led shares higher. At the close in Copenhagen, the OMX Copenhagen 20 added 0.10% to hit a new all time high. The best performers of the session on the OMX Copenhagen 20 were Pandora A/S (CSE:PNDORA), which rose 1.17% or 4.0 points to trade at 345.0 at the close. Meanwhile, Royal Unibrew A/S ..
Read more

Russia's Lavrov, after Pompeo meeting, says felt more constructive U.S. approach
Today, 18:18
MOSCOW (Reuters) - Russian Foreign Minister Sergei Lavrov said on Monday after meeting U.S. Secretary of State Mike Pompeo last week that he had felt a more constructive approach from Washington when it came to the U.S.-Russia strategic dialogue. The two top diplomats met on the sidelines of the Munich Security Conference on Friday in an encounter that neither side has so far spoken about in detail. "I felt certain small moves toward a more ..
Read more

Israel stocks lower at close of trade; TA 35 down 0.16%
Today, 18:15
Investing.com – Israel stocks were lower after the close on Monday, as losses in the Biomed, Oil & Gas and Technology sectors led shares lower. At the close in Tel Aviv, the TA 35 fell 0.16%. The best performers of the session on the TA 35 were Harel (TASE:HARL), which rose 3.36% or 80 points to trade at 2460 at the close. Meanwhile, Airport City Ltd (TASE:ARPT) added 2.45% or 165 points to end at 6890 and Bezeq Israeli Telecommunication Corp ..
Read more

ICC trial in The Hague one option for Sudan's Bashir: minister
Today, 18:12
KHARTOUM (Reuters) - Sudan could send former leader Omar al-Bashir and other suspects to The Hague for trial before the International Criminal Court, but any decision would need approval from military and civilian rulers, the information minister said on Monday. "One possibility is that the ICC will come here so they will be appearing before the ICC in Khartoum, or there will be a hybrid court maybe, or maybe they are going to transfer them ..
Read more

Jackets, Flyers to battle in first game of home-and-home
Today, 18:09
The tables have turned on the formerly white-hot Columbus Blue Jackets, who answered a scintillating 18-2-3 run by dropping five in a row (0-2-3). The Blue Jackets look to avert a season-worst losing streak on Tuesday in the opener of a home-and-home series against the host Philadelphia Flyers. Columbus' latest loss was not for a lack of trying, however. The Blue Jackets unleashed 55 shots on goal in their 4-3 shootout setback to New Jersey ..
Read more

Angels' Trout says he 'lost respect' for Astros
Today, 18:06
Los Angeles Angels star Mike Trout said he "lost respect" for players involved in the Houston Astros' sign-stealing scandal. "They cheated. ... I don't agree with the punishment," Trout told reporters Monday at the Angels' spring training facility in Tempe, Ariz. "I lost respect for some of those guys." A Major League Baseball investigation concluded that the Astros stole signs throughout the 2017 season and continued to do so for ..
Read more

UK PM Johnson's office silent as rivals call for adviser to be sacked
Today, 18:03
LONDON (Reuters) - British Prime Minister Boris Johnson's spokesman refused to comment on Monday when asked about the hiring of an adviser who has discussed the benefits of forced contraception and said data showed the U.S. black population had lower IQ than white people. British media reported that Andrew Sabisky had been hired by Johnson's office to an unspecified role. His appointment drew criticism from rival parties after the Mail ..
Read more

Armed men in military fatigues kill 22 in Cameroon village
Today, 17:27
DOUALA, Cameroon (Reuters) - Gunmen in military fatigues and masks have killed 22 people in a village at the heart of a separatist insurgency in western Cameroon, shooting women and children and burning others in their homes, the United Nations said on Monday. Cameroon's army has since 2017 been fighting English-speaking militias seeking to form a breakaway state called Ambazonia amid the cocoa farms and forests of west Cameroon. As ..
Read more

Snubbed by Gulf, Lebanon's PM Diab hosts Iranian official
Today, 17:24
BEIRUT (Reuters) - Lebanon's Prime Minister Hassan Diab, who is getting the cold shoulder from Gulf Arab states, on Monday met Iran's parliament speaker, the first senior foreign official to visit since Diab's government took office. The heavily armed Hezbollah, an ally of Iran, is a main backer of Diab's cabinet, which took office last month after efforts failed to strike a deal with Saad al-Hariri, a traditional Western ..
Read more
" template="news2" category="16" available="global" from="0" limit="5" order="date" sort="desc" cache="no"}