hi, Im writing a simple EA. this is my code: //+------------------------------------------------------------------+ //| ProjectName | //| Copyright 2020, CompanyName | //|
What is the difference between Buy() method and PositionOpen() method in CTrade class? if they are the same, whats the point of having two different method that basically do the same thing in CTrade Class
hi, I accidentally manipulated source of SignalMA module without taking a backup (SignalMA module resides in Include --> Expert --> Signal --> SignalMA.mqh file ) can anybody do me a favor and post here the source code of this file
hi I wrote this code: #include <Indicators\TimeSeries.mqh> void OnStart () { CiOpen op; op.Create( _Symbol , PERIOD_CURRENT ); op.Refresh(); double value = op.GetData( 0 ); value = NormalizeDouble (value, 5 ); Print ( DoubleToString (value, 5 )); Print (
Hi how many characters a string can have in mql5
hi could someone explain the diff between these two? according to this link , both of these return maximum volume long maximum = ( long )SymbolInfoInteger ( _Symbol , SYMBOL_VOLUMEHIGH ); double maximum = SymbolInfoDouble ( _Symbol , SYMBOL_VOLUMEHIGH_REAL );
hello Im a liitle bit confused about this. I donkt know how to explain it. Im trying to get information about Symbol. here is my script. void OnStart () { int expirationMode = SymbolInfoInteger ( _Symbol , SYMBOL_EXPIRATION_MODE ); Print ( "expirationMode is: " + ( string )expirationMode ); }
hi I need a gradient background for my chart in Meta trader 5. It seems that it is not possible from chart settings. can anybody help me please