Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Scripts

SymbolInfo example script Enhancement with margin and leverage data - script pour MetaTrader 5

Vues:
4347
Note:
(32)
Publié:
2021.09.30 22:39
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

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) and standard leverage ( leverage tipically varies according to volume depending on the broker).

Basically margin required depends on the symbol attribute Margin Calc Mode and leverage depends on margin required. Calculaion details aare taken from the standard MQL5 help.

SymbolInfo example script enhanced


    Close all profit at end of week Close all profit at end of week

    This code use close all profit at end of week for currency pair

    Sample detect economic calendar Sample detect economic calendar

    This code use detect economic calendar and put pending order before released news time

    Open Pending order After Position Get StopLoss Open Pending order After Position Get StopLoss

    Open Pending order After Position Get StopLoss

    SpeeD Oscillator v2.3 SpeeD Oscillator v2.3

    This indicator provides handles for 2 properties, MA Speed (scaled) & Price-to-MA Distance (%)