Reorganization of a structure

 

Hello people, how are you? I saw information before and didn't found yet anything about it, but I want to know if it's possible to

1- Reorganize the size of Mql structures, I tried with pack() and didn't work;

2- Use my custom structures for rates, ticks and trading things, or am I obligated to use the Mql ones?


Just a curiousity.


Cheers.

 
  1. No. Write your own.
  2. The functions use the Mql ones. You would be responsible to transfer the data to your own.
 
William Roeder:
  1. No. Write your own.
  2. The functions use the Mql ones. You would be responsible to transfer the data to your own.

Ah ok. Thank you!

 

Sorry for another question, but I perceive that if I put the handle in global aspect no lag, if I use 

aHandle = INVALID_HANDLE;

int OnInit()
{  
  aHandle = iAlligator(_Symbol,_Period,iJ,iJS,iT,iTS,iL,iLS,iM,iAP);  
   return(INIT_SUCCEEDED);
}

but if I do the handle all globally no lags, with this way I coded an absurd lag after some time, how to solve this?