Day(hight-low) - script for MetaTrader 5

Day(hight-low) - script for MetaTrader 5

A script for automatically drawing the levels of the intraday High/Low on the FORTS trading session If Night_Session=true, then the night High/Low levels are drawn additionally, provided that they are beyond the intraday ones. The color of levels can also be changed.
SetColorFiboLevels - script for MetaTrader 5

SetColorFiboLevels - script for MetaTrader 5

The script creates the Fibonacci levels graphic object with a large number of settings. Fig.1. The SetColorFiboLevels script operation result
Nerve - script for MetaTrader 5

Nerve - script for MetaTrader 5

 The script calculates the average volatility of symbols according to the equation: the differences of the maximum and minimum values of the candles for the selected period in days (excluding weekends) are added, that is, only the quotation days are taken and then the motion sum is divided by quotation days. Day - average volatility within a specified period. DayMax -maximum volatility per day within a specified period. PerMax
Lot Check - script for MetaTrader 5

Lot Check - script for MetaTrader 5

Idea by: Airat Safin Code mq5 by: barabashkakvn This is a utility script. The lot size is set in the inputs. As a result, we obtain a correctly rounded lot, as well as auxiliary data, such as maximum lot size, lot step, and minimum stop size. You can specify a necessary symbol to run calculations for.
Save and show the objects of testing chart - script for MetaTrader 5

Save and show the objects of testing chart - script for MetaTrader 5

After back testing, we usually need to analyze the testing result on a new chart which we have loaded our template. In this case we need to copy the objects on the testing chart to the new chart. This script helps to save the objects into a file and show the objects on a new chart. Usage After testing finished, run the script on the testing chart, select SAVE for the input SaveOrShow. Open a new chart, load your template, run the script on the
Export Positions History - script for MetaTrader 5

Export Positions History - script for MetaTrader 5

The script exports history of closed positions from MT5 retail hedging account selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software. It supports only retail hedging accounts (Forex). To export the entire trading history, keep Start date and End date at their default values. The CSV can be found in the folder MQL5Files Following data columns are exported: Open Time Position ID Symbol Type
Test_values_print - script for MetaTrader 5

Test_values_print - script for MetaTrader 5

The include file, small by its content, is designed to print out the values and names of variables: When engineering the codes; and When developing the functions or getting to know their work. For me, it became one of the most frequently used helpers. It was developed based on this discussion in 2015. To show how Test_values_print works, Im attaching the test script of SD_Test_Test_values_print. When placed in the chart, it uses this include
SD_M_Swap - script for MetaTrader 5

SD_M_Swap - script for MetaTrader 5

A script for showing the swap value on a financial instrument. The texts of positive and negative swaps are shown in different colors. I have been regularly using it for long. For some reasons, it has turned out to be more optimal for me as a script than as an indicator. Im publishing it since I suppose it may be useful not only for me. Along with swap values, it displays on the chart: Name of the financial instrument. This may be helpful when
sDotToLineDist - script for MetaTrader 5

sDotToLineDist - script for MetaTrader 5

Function parameters: double LX1 - the X coordinate of the first point of the line; double LY1 - the Y coordinate of the first point of the line; double LX2 - the X coordinate of the second point of the line; double LY2 - the Y coordinate of the second point of the line; double DX - the X coordinate of the point; double DY - the Y coordinate of the point. Calculation principle Based on the coordinates of two points of the line, we get the line
ProfLine - script for MetaTrader 5

ProfLine - script for MetaTrader 5

Based on the MQL4 code by Evgeny Trofimov https://www.mql5.com/ru/code/10007. The script calculates and shows on a chart breakeven levels separately for open BUY and SELL positions. If the number of position changes, restart the script.



Latest News

Trump says administration talking to Democrats about meaningful gun legislation
Yesterday, 20:24
WASHINGTON (Reuters) - President Donald Trump said on Tuesday that his administration was in discussions with Democrats to produce some sort of meaningful gun legislation following mass shootings in the United States in recent weeks. Trump, speaking to reporters at the start of a meeting with the Romanian president, declined to say whether he supported any of the gun legislation backed by Democrats in the U.S. House of Representatives. "We ..
Read more

Trump says he will decide on foreign aid spending cuts within week
Yesterday, 20:21
WASHINGTON (Reuters) - U.S. President Donald Trump said on Tuesday that he was looking at various options for a budget package that could cut billions of dollars in foreign aid and that he would decide on the issue "sooner than a week." Defying Congress, Trump administration officials have said they are reviewing State Department and U.S. Agency for International Development spending with an eye to using a budget process known as "rescission" to ..
Read more

Trump looking at possible U.S. payroll, capital gains tax cuts
Yesterday, 20:18
WASHINGTON (Reuters) - President Donald Trump on Tuesday said his administration was looking to cut U.S. taxes on wages and on profits from selling assets such as stocks, but that he was not talking about doing anything imminently. Speaking to reporters during a White House visit by Romanian President Klaus Iohannis, Trump said "I've been thinking about payroll taxes for a long time." The Washington Post has reported the ..
Read more

House panel says 'time is of the essence' in Trump tax return fight
Yesterday, 20:15
By Jan Wolfe (Reuters) - A U.S. House of Representatives committee on Tuesday urged a federal judge to quickly resolve its bid to obtain President Donald Trump's tax returns, which the Trump administration has refused to turn over. In a filing in the U.S. District Court for the District of Columbia, the House Ways and Means Committee said "time is of the essence" in resolving the case it brought last month seeking to compel the ..
Read more

Boeing hiring as it targets 737 MAX fights resuming 'early fourth quarter'
Yesterday, 20:12
By Eric M. Johnson SEATTLE (Reuters) - Boeing (NYSE:BA) Co said on Tuesday it plans to add extra staff and hire "a few hundred" temporary employees at an airport in Washington state where it is storing many grounded 737 MAX jetliners, a key step in its best-case plan for resuming deliveries to airline customers in October. The world's largest planemaker, burning cash as one of the worst crises in its history stretches into a sixth ..
Read more

Spot Gold Recaptures $1,500 After 2-Day Lag as Longs Bet Again on Dovish Fed
Yesterday, 20:09
By Barani Krishnan Investing.com - Gold bullion reclaimed its stake in $1,500 territory on Tuesday after a two-day abeyance from that level as gold longs bet again on the yellow metal’s fortunes ahead of the Federal Reserve meeting next month. Spot gold, reflective of trades in bullion, was up $10.37, or 0.7%, at $1,506.34 per ounce by 3:00 PM ET (19:00 GMT). Bullion had fallen beneath $1,500 over the past two sessions as some investors ..
Read more

Trump says Deputy Secretary of State Sullivan could be next envoy to Moscow
Yesterday, 20:06
WASHINGTON (Reuters) - U.S. Deputy Secretary of State John Sullivan "could very well be" the next U.S. ambassador to Russia, President Donald Trump said on Tuesday. If nominated, Sullivan would succeed Jon Huntsman who resigned earlier this month as Washington's envoy to Moscow amid speculation he plans to run for Utah governor. ..
Read more

Trump says had to 'take China on,' regardless of short-term impact on U.S.
Yesterday, 20:03
WASHINGTON (Reuters) - President Donald Trump on Tuesday said the current U.S. standoff with China over trade was necessary, adding that China still wants to make a deal. "Somebody had to take China on,” he said to reporters during a White House visit by Romanian President Klaus Iohannis. "Whether it's good or bad short-term is irrelevant.” ..
Read more

Bitcoin Flat After Failing to Break $11,000
Yesterday, 19:12
Investing.com -- Bitcoin struggled for direction on Tuesday, swinging between gains and losses after the popular crypto’s test of $11,000 was met with resistance. Bitcoin rose 0.33% to $10,754.20, not far from a session high of $10,993. Traders are anxiously waiting for the popular cryptocurrency to break decisively above $11,000, which they believe could be a catalyst for a prolonged move higher. Bitcoin and the broader crypto market are ..
Read more

Latin America lacks ammunition to fight global economic slowdown
Yesterday, 19:09
By Jamie McGeever BRASILIA (Reuters) - As policymakers around the world scramble to prevent an economic slowdown from morphing into a global recession, Latin America's largest countries may find the growth-boosting arsenal at their disposal is worryingly scarce. In Brazil and Mexico, the region's biggest economies, weak budgetary positions are a fiscal straightjacket for governments. Meanwhile, central banks are wary of cutting ..
Read more
" template="news2" category="16" available="global" from="0" limit="5" order="date" sort="desc" cache="no"}