Forum

Activate prices and other variables into structures

Hi all! How are you all doing? I hope great. I am one person that, even the Mql types working nicely, I wish to create mine like the MQLTicks or MQLRates , but if I try to attach the variables inside the structure (one reason is the approach about shaping accordingly the bits into great numbers in

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

Interaction between position open and new bars

Hello! How are you? In the past I did some questions, that I solved, but one I am trying to find the answer and... nothing, for this reason the creation of this post. I want to put some conditionals for the EA to close the position immediately, since they are met, but... I can't imagine how to

Invalid stops only for selling break even

I was looking for information in the community for not ask again what was asked, but the invalid stops are being shown for me too, but... only for selling positions, very weird, since I only have to change the logical inverting it for selling, it's the only difference from buy. for ( int bSell=

OrderClose generating more orders

Hi people, how are you? I am trying to code an EA for MQL4 that closes an order if it is below or above the entry in some candle number, but when using OrderClose it generates more order?! Weird, orderclose sending more orders

ea not recognizing entries signals

What am I doing wrong? //+--- MQL data -----------------------------------------------------+ MqlRates eaRates[]; //+--- inputs -------------------------------------------------------+ extern double eaVolume = 0 ; // Expert trading volume value! extern double eaTake = 0 ; // Expert take profit level

Celeron E3300 vs Core 2 Quad Q8200 - Q8200 lag

Hi people, I have two computers here and one uses the first CPU, without problems with MetaTester, the second case the Q8200 lags the computer when all the agents are online, it's weird since the Q8200 should be more powerhorse, not? Why with Celeron it's perfect and with Q8200 a disaster

Using/recognizing the graphics card I am using

Hi people, first of all, how are you? I want to use the NVIDIA GeForce 9300 Ge I am using right now with OpenCL, I read it's possible, but didn't get it to work. Unfortunately. If someone can give a bright advice to me I would be grateful. You rock

BreakEven with request. solution

Hi people, how are you? I hope well. I am develloping an EA, but... I can't put the break-even working, it keeps crashing, I tried somethings, but nothing. I don't know the way I have to put the information here, so I am not sharing the BE part, now