Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

Market and symbol Information for MT4 - script for MetaTrader 4

Views:
5972
Rating:
(22)
Published:
2021.11.01 19:51
Updated:
2021.11.02 11:32
\MQL4\Include\
SymbolInfo.mqh (37.76 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The purpose of this interactive script is to display into one place all market and symbol informations taken from MarketInfo and Symbol Info, such as margin and leverage. This way traders don't have to browse the entire broker's site to find market conditions for a given symbol, which could be the case at times. The button list is taken from MarketWath with the Select option as some brokers may trade thousands of symbols


This is a downgraded version to MT4 of the sample script SymbolInfo for MT5, itself enhanced with previously missing margin and leverage values for any given symbol.  Left column lists Market Informations (MarketInfo), center and right columns list validated Symbol informations (SymbolInfoInteger, String, Double).Leverage value has been added and labeled MODE_LEVERAGE on the last line of MarketInfo column. It is calculated for any symbol as;

Leverage = Bid * Contractsize * Rate (Symbol Profit Currency / Account Curency  )  / Margin Required. 




    RSI histogram bars RSI histogram bars

    Two RSI indicator periods smoothed and displayed as histogram.

    Nadaraya-Watson estimator Nadaraya-Watson estimator

    Nadaraya-Watson estimator - metatrader 4 version

    MyRsi MyRsi

    MyRsi - by John Ehlers : metatrader 4 version

    MyRsi with NET MyRsi with NET

    MyRsi with Noise Elimination Technology - by John Ehlers : metatrader 4 version