Quantcast
Channel: MQL5: MetaTrader 5 trading, automated systems and strategy testing forum
Viewing all 75046 articles
Browse latest View live

About ask the signal some novice problem

$
0
0

It means - it may be good that you will be on the same broker.

By the way - it is not a problem if you abnd signal provider are on different brokers for example. As I understand - it is more related to scalping (different quotes for different brokers).



Optimization slow when using custom indicator

$
0
0
i think the problem is from your indicator

Any Trade copier?

$
0
0
I can recommend "powertradecopier". This copier works with no delay and you do not need to keep running Mt4 terminals.
You can copy trades between MT4 accounts from mt4 to JForex (extra module is required) and from MT4 to FIX API ( Currenex, ADS Securities, Marex, MIG Bank, CitiFX)
 
 
Expert advisor and forex robot like this:
 
I can recommend forex robot TFOT. Stable forex robot with 3 years real account proof.
 
MT4 Indicators
 
I like bjf Divergence Indicators-
Arrows painted above/below the open bar and not in the past. You can see when actually you can trade. It is never to late! Signals based on closed bars so the arrows above/below open bar never disappear.
bjf wolfe wave indicator looks good too. demo version are available by request.

Discussion of article "Moving Mini-Max: a New Indicator for Technical Analysis and Its Implementation in MQL5"

$
0
0

I really apprecialte this article.

However, I have read the original paper and your code. I have a question about the code following:

 for(k=0; k<m; k++)
        {
         sqiip1 += MathExp(2*(S[m-1+i+k]-S[i])/(S[m-1+i+k]+S[i]));
         sqiim1 += MathExp(2*(S[m-1+i-k]-S[i])/(S[m-1+i-k]+S[i]));

         dqiip1 += MathExp(-2*(S[m-1+i+k]-S[i])/(S[m-1+i+k]+S[i]));
         dqiim1 += MathExp(-2*(S[m-1+i-k]-S[i])/(S[m-1+i-k]+S[i]));       
        }

this is derive from this formula

since the footnote of i in formula was changed by m-1+i in the code, why the other part of the code does not change the footnote of i?

I mean: shouldnt this code would be like following?

sqiip1 += MathExp(2*(S[m-1+i+k]-S[m-1+i])/(S[m-1+i+k]+S[m-1+i]));



Traders Joking

PriceChannel Parabolic system

$
0
0
If someone is having some idea how to improve this system - so let me know on this thread.

Passing object reference to funciton

$
0
0
mnbvcxz555:

Hi, 

Can anyone tell me how I can pass object reference to function? I have tried something like this:

CXmlElement ResponseXml;

void Init() {

(some code) 

 SomeMetod(ResponseXml);

}

void SomeMethod(CXmlElement &xml)

{

(some code)

but I get error that CXmlElement variable is without type.. Anyone knows how to resolve that?

 

Best!

- include header where CXmlElement is declared

- if & not work, use   SomeMethod(CXmlElement *xml) and use function CheckPointer for xml.

 

Global Class instances (to use across EA or script)

$
0
0

Hello,

anyone knows how to achieve this: instantiate a custom class object in script1 and use same instance in script2 ?

Thank you 


After update source changed

$
0
0

Hello MetaTrader guys,

just had a MT5 update and after this update compiling of my sources fails.

Reason: Suddenly - and this is not the first time reported - one of the sources turned into a far earlier state even dozens of times been saved and compiled successfully.

 

So this is not funny. Can you please code your software more carefully. Thank you. 

chart opened after testing EA

VPS MT5 Ubuntu 12.10 - Fatal Error

$
0
0

Ive installed MT5 on a linux VPS with wine 1.5.

It works, but if i add a EA to the chart i get an error and MT5 closes..

See the attachment. 

 

Does anyone have MT5 EA working on a Linux VPS? Yes?

What version of ubuntu do you use and what version of wine..   

NVIDIA CUDA for strategy testing

$
0
0
Deatheye:

Cause one GPU can calculate as much as hunderts of CPU or more, depending on what calcuclatiions you run, and cause you don't have to pay other if you use ur own GPU..
Pretty obvious why, don't you think?
If you run a lot of calculations that run bether on GPUs it sure is worth it.

Personally I would prefer it if he uses the cloud so my CPUs have something to do ;) 

Yeah, I know where you are coming from. I used to have that enthusiasm too. I know all that great stuff about shader processors and how they can work extremely efficient compared to x86 architecture (Say 100 fold more efficient).

But it's extremely hard to make GPU to calculate those history works, cuz for GPU it's all about parallel.


And actually - WHY BOTHER?

The problem was - Extremely long optimization process.  And MQ did find solution - CLOUD. Easily faster than any latest quad sli (single offline system).

Just think about that: You don't need to optimize your EA all the time. While you can provide agents all the time. And they do some calculatins and adds some credit to your account. That all accumulates and when you need a optimization boost - it's there.

Think about cloud like me - thats optimization battery. You charge it,charge it,charge it, and then KABOOM(get results quickly and probably while sitting in some beautiful park with your low energy mobile device).

Btw: I supply agents too and here electricity prices are so dear, that I only can be profitable if all cloud capacity is utilized. Since there is no luck on that. I just want to see some crazy spikes someday, thats is all I need for satisfaction.

Server guy/overclocker fantasy ^^


Cheers!


results tab

$
0
0
The MT5 EA results tab does not contain the details of each trade like MT4 had.  Is there a way to get that same data in MT5 without having to write code?

Help requested for an ADR with more inputs

object list

$
0
0
I cleared out all the entries in my object list and then ran my EA which is a modification of the 'sample macd' EA.  I ran it for a limited time span of just a couple days, but I got arrows indicating trades outside of the range I ran on the EA.  What am I doing wrong?

Why did my rating number decrease?

$
0
0

I find my rating number in my profile decreasing sometimes without doing anything.

Anyone knows in what circumstance will the rating decrease ?

PriceChannel Parabolic system

$
0
0
newdigital:


Latest version of PriceChannel downloaded from this post + AFL winner downloaded from Codebase here + MaksiGen_Range_Move MTF from here (optional; but I am using 2 MaksiGen indicators - one for current timeframe and the other one in MTF settings).

Please find updated statement for this scalping system:


How can I close a job on the MQL5 website?

$
0
0

Hi Phi.nuts !!

 Always there to help! Thanks. I edited the title to "closed" thanks

 

W. 

Simple risk percentage lot size calculation > Not working (yet)

$
0
0

Hey Luenbo !!

Thanks for the additional information.  You are right by "risk percentage" I mean the money I'm ready to lose for each deal. 

 I tried your code but "AccountLeverage" is not recongnized : (

W. 

Timeseries access and documentation confusion re: CopyXXX() functions...

$
0
0
phi.nuts:

1. In this case, time out expiration is related to Copy function, not downloading or something else.

2. Copy function knows how much data needed to be downloaded because MT5 knows the current server time and compared with last known of last bar time.

3. Yes, Copy function can simply return -1 in EA/Script. CheckLoadHistory() in mql5 documentation is a user defined function (that is created by programmer) and not an mql5 function. 

4. Don't forget to check GetLastError(). 

Hi,

Firstly, thanks for the response.

Re: point 2, I can see how comparing the dates would provide the total amount of data accurately for larger time frames. However, on smaller time frames (especially 1m), there may be no quote over a 1m period. I know that in MT4, no bar would be created for that particular 1m period. Does MT5 guarantee that a bar will be created for every minute period, even if no quote is received over that time? If this is not the case, than the number of bars returned by CopyXXX would be incorrect if that data is not yet available locally?

Re: point 3. According to the documentation, a -1 is returned (if CopyXXX is called within an Expert) when the requested data falls either outside the database of the Trading Server or outside the MAX_BARS setting of the Terminal. If the data needs to be downloaded or "assembled" locally, the correct number of bars is returned by the function, even though THAT DATA MAY NOT YET BE AVAILABLE LOCALLY. My understanding of the documentation is that a user defined function such as CheckLoadHistory() is required to ensure that the required data has been downloaded and  assembled, prior to the CopyXXX being called - otherwise CopyXXX may contain only some of the requested data. Please correct me if I'm wrong on this as I'd LOVE to not have to call CheckLoadHistory() before every CopyXXX() (makes optimising very sllloooowwwww).

Thanks again for your help on this. 

 

Viewing all 75046 articles
Browse latest View live