The script calculates the number of lots to trade using the specified percentage of risk funds.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/188
The Improved version of MаrtGreg Expert Advisor.iCrossClose
The indicator allows to perform any arithmetic action with prices of two symbols and plot result on any other chart. It allows to calculate crosses (using multiplication and division), spread (subtract) or just to plot the other symbol's data on the chart.