Change Symbol Data

Back to topics list To post a new topic, please log in or register
avatar
6
kenan168 2015.05.19 03:08
 

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 ! 

 

  

avatar
1110
Ovo 2015.05.19 06:58 #
 
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. 

avatar
13006
WHRoeder 2015.05.22 17:14 #
 
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;

Back to topics list  

To add comments, please log in or register