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

Asian Markets Rise as Investors Await Trade News; Hong Kong Stocks Rebound
Today, 04:09
Investing.com - Asian markets rose in morning trade on Friday as investors awaited updates on the Sino-U.S. trade developments. Hong Kong stocks rebounded after falling for more than 5% so far this week. China’s Shanghai Composite was little changed at 2,910.01. The Shenzhen Component slipped 0.1%. White House economic adviser Larry Kudlow said Washington is “getting close” to a trade deal with Beijing. Chinese Ministry of ..
Read more

Trump makes final pitch for Republican challenger in Louisiana governor's race
Today, 04:06
By Alexandra Alper BOSSIER CITY, La. (Reuters) - U.S. President Donald Trump made his final appeal to Louisiana voters on Thursday to wrest power from the Deep South's only Democratic governor in an election later this week, seeking to showcase the power of his support in local races. Trump headlined a rally in Bossier City, marking his third visit to the state to support Republican challenger Eddie Rispone against Democratic Governor John ..
Read more

Asian shares rise as Kudlow comments lift trade hopes
Today, 04:03
By Andrew Galbraith SHANGHAI (Reuters) - Asian stocks jumped on Friday, propelled by a record S&P 500 finish and White House comments suggesting Washington and Beijing were close to striking a trade deal, reviving hopes the tariff war may near an end. However, analysts said investor sentiment remained fragile after weak data from China reinforced concerns about the global economy and amid increasing caution about false signs of progress in ..
Read more

Australian mortgage arrears still low, little risk: RBA
Today, 03:12
SYDNEY (Reuters) - Rates of arrears on home loans are at a decade high in Australia, although the overall rate is still too low to threaten financial stability or bank profit margins, a top central banker said on Friday. In a speech in Sydney, Guy Debelle, the deputy governor of the Reserve Bank of Australia (RBA), said tighter lending standards had helped keep the national mortgage arrears rate at just 1%, low by both historical and ..
Read more

Scorecard of Japan's 'Abenomics' stimulus policies
Today, 03:09
TOKYO (Reuters) - Just as Shinzo Abe becomes Japan's longest-serving prime minister, he may be leading the world's third-biggest economy into a downturn, with little ammunition left over from his landmark "Abenomics" stimulus policies deployed seven years ago. The three arrows of Abenomics - bold monetary easing, fiscal spending and structural reforms - boosted stock prices, brightened business sentiment and brought exporters ..
Read more

China central bank surprises by injecting 200 billion yuan via MLF loans, rate unchanged
Today, 03:06
SHANGHAI (Reuters) - China's central bank unexpectedly extended loans through its medium-term lending facility (MLF) on Friday, while keeping the lending rate unchanged from the previous operation. The People's Bank of China (PBOC) said on its website the interest rate on one-year MLF loans remained at 3.25%. The PBOC also said it has injected 200 billion yuan ($28.60 billion) into financial institutions via the liquidity tool. The ..
Read more

Oil rises on hopes for OPEC supply curbs, new optimism on U.S.-China trade deal
Today, 03:03
TOKYO (Reuters) - Oil prices posted early gains as OPEC's outlook for oil demand next year fueled hopes that the producer group and its associates will keep a lid on supply when they meet to discuss policy on output next month. Optimism that the United States and China could soon sign an agreement to end their trade war also seeped into the market after White House economic adviser Larry Kudlow said a deal was "getting close", citing what ..
Read more

Lebanon's Safadi emerges as PM choice for three parties
Today, 02:12
By Tom Perry and Laila Bassam BEIRUT (Reuters) - Three major Lebanese parties agreed to nominate Mohammad Safadi, a former finance minister, to become prime minister, three sources familiar with the situation said, suggesting progress toward a new government at a time of acute economic crisis. Saad al-Hariri quit as prime minister on Oct. 29 in the face of an unprecedented wave of protests against ruling politicians who are blamed for rampant ..
Read more

Asian shares rise, but gains capped by weak sentiment
Today, 02:09
By Andrew Galbraith SHANGHAI (Reuters) - Asian equities rose on Friday after the S&P 500 index notched a new record closing high, but investor sentiment remained fragile following weak data from China and Germany, which reinforced concerns about the global economy. Early in the Asian trading day, MSCI's broadest index of Asia-Pacific shares outside Japan was up 0.34%. Japan's Nikkei added 0.58% and Australian shares gained 0.53%. The ..
Read more

Dollar buoyed by caution as trade deal optimism wanes
Today, 02:06
By Tom Westbrook SINGAPORE (Reuters) - The dollar found broad support on Friday as fresh signs of a global economic slowdown and little visible progress toward a Sino-U.S. trade truce put investors in a risk-averse mood. The latest evidence that the U.S.-China trade war has hurt the global economy was illustrated by sub-par growth figures on Thursday from China and Japan, followed by lacklustre updates in Britain and Europe. Overnight media ..
Read more
" template="news2" category="16" available="global" from="0" limit="5" order="date" sort="desc" cache="no"}