CSV Margin Tracker – EA MetaTrader 4

CSV Margin Tracker Excel
Writes Date, Time, Balance, Equity, Margin to a .csv file in “\experts\files\” in regular intervals. Windows usually places the file in the MetaTrader folder in “User\AppData\Local\VirtualStore”. Attach to any chart. To account for spikes, the Margin recorded will be the highest, and Balance and Equity the lowest of the interval. Email settings for mail alert … Read more

Margin Calculation – library MetaTrader 5

Margin Calculation - library for MetaTrader 5
Library for calculation of a margin required for opening a position in MetaТrader 5. The library has 3 functions: Main function: GetMarginForOpening() – directly calculates a margin for opening 1.0 lot by a symbol; Auxiliary function: GetSymbolByCurrencies() – checks for a symbol in the market review; Auxiliary function: GetSymbolPrefix() – returns symbol prefix, if any. … Read more

Check Margin – script MetaTrader 5

Check Margin - script for MetaTrader 5
This script calculates required margin to open a trade by examining specified volume. It also calculates maximum amount of lots that can be traded for given symbol. PARAMETERS Symbol Name: select symbol for calculation. if it is not specified script takes chart symbol as default. Volume: specify lots for required margin calculation. Order Type: determine … Read more

SymbolInfo example script Enhancement with margin and leverage data – script MetaTrader 5

SymbolInfo example script Enhancement with margin and leverage data - script for MetaTrader 5
The original SymbolInfo example script is made of one source file and two header file. In this version each file has ben changed to include two functions, calls to fhese functions and a new design of the ouput screen. 9 ouput fields has been added, 7 standard symbol attributes, margin required (as named in MT4) … Read more