Download MetaTrader 5

Change Symbol Data

To add comments, please log in or register
kenan168
50
kenan168  
struct MqlTick
  {
   datetime     time;          // Time of the last prices update
   double       bid;           // Current Bid price
   double       ask;           // Current Ask price
   double       last;          // Price of the last deal (Last)
   ulong        volume;        // Volume for the current Last price

  };

 

   

How can i change EURSUD  data ?    such as:   1.13132  change  to   1.13100

 

Thanks ! 

Ex Ovo Omnia
3357
Ex Ovo Omnia  
kenan168:

struct MqlTick
  {
   datetime     time;          // Time of the last prices update
   double       bid;           // Current Bid price
   double       ask;           // Current Ask price
   double       last;          // Price of the last deal (Last)
   ulong        volume;        // Volume for the current Last price

  };

 

   

How can i change EURSUD  data ?    such as:   1.13132  change  to   1.13100

 

Thanks ! 

 

  

 I believe the easiest way is selling large amount of Euros. 

whroeder1
16096
whroeder1  
kenan168: How can i change EURSUD  data ?    such as:   1.13132  change  to   1.13100

struct MqlTick
  {
   datetime     time;          // Time of the last prices update
   double       bid;           // Current Bid price
   double       ask;           // Current Ask price
   double       last;          // Price of the last deal (Last)
   ulong        volume;        // Volume for the current Last price

  };
  1. Don't paste code
    Play video
    Please edit your post.
    For large amounts of code, attach it.

  2. If you mean changing a structure member you use the dot operator.
    MqlTick tick;
    :
    tick.bid = 1.13100;

To add comments, please log in or register