26 janvier 2013
26 janvier 2013
Chart scale is now multiple of the symbol's tick size for the trading symbols having fixed tick size (futures).
Trading Signals
After clicking "Visualize", the client terminal automatically downloads the signal's trading history, opens appropriate charts and displays signal's deals as graphical objects in the same way as it is done for the trading account's history of the client terminal.
Changed the algorithm for calculation of the copied deal's volume in case a Signal Source and a Subscriber have different leverages:
Current algorithm:A deal volume is changed in direct ratio to the correlation of a Signal Source's leverage with a Subscriber's one. It means that if a Signal Source having a leverage of 1:100 opens a deal of 1 lot, a Subscriber having a leverage of 1:500 will open a deal of 5 lots in case of 100% copying and a deposit matching by size and currency. A subscriber having a leverage of 1:10 will open a deal of 0.1 lots in similar conditions.
New algorithm:If subscriber's leverage exceeds the one of the Signal Source, it does not affect a volume of a copied deal. Otherwise, the deal volume is changed in direct ratio to the correlation of a Signal Source's leverage with a Subscriber's one.
It means that if a Signal Source having a leverage of 1:100 opens a deal of 1 lot, a Subscriber having a leverage of 1:500 will open a deal of 1 lot in case of 100% copying and a deposit matching by size and currency. A subscriber having a leverage of 1:10 will open a deal of 0.1 lots in similar conditions.
MQL5 Market
bool TextOut( const string text, // displayed text int x, // X coordinate int y, // Y coordinate uint anchor, // anchor type uint &data[], // output buffer uint width, // buffer width in pixels uint height, // buffer height in pixels uint color, // text color ENUM_COLOR_FORMAT color_format // color format for output );TextSetFont function sets the font for displaying the text using drawing methods and returns the operation result.
bool TextSetFont(
const string name, // font name or path to font file on the disk
uint size, // font size
uint flags, // combination of flags
int orientation=0 // text slope angle
);
TextGetSize function returns the line width and height at the current font settings.
bool TextGetSize( const string text, // text string uint& width, // buffer width in pixels uint& height // buffer height in pixels );
Fixed errors reported in crash logs.
Updated documentation.
The live update is available through the LiveUpdate system.
The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.ltd/mt5/mt5setup.exe?utm_source=www.metatrader5.com