Forum

Need backdata for metatrader CFD pairs

Need backdata for metatrader CFD pairs. I know strategy quant has this for currencies but not for specific stocks like google for example

Protecting my EA

I would like to resell my EA but not give away the code.. Is there a safe way to do this? Kind regards, Neal Russell Vanderstelt

Problem sending email from a cloud server

I don't have a problem sending email from my laptop in metatrader in my EA but the cloud while configured the same way will not send mail alerts trigger by sendmail. Anyone encounter this and have a workaround? kind regards.. Neal Russell Vanderstelt

Is this use of if correct?

if (Buffer[ 2 - 5 ]>=var1){ Print ( "buffers greater than var1" );} because for some reason it compiles but doesn't yield a print. *i'm trying to compare the values of 3 bars back through 6 bars back

I need to get the highest value of a buffer

I have a few questions... Do I have to use a cycle to get access the past bars or is the function ArrayMaximum all that is needed? Also if someone could provide an example it would be appreciated

High Low range of indicator

Is there an easy way to determine the high low range going 10 bars back of an indicator? *This is not bars.. Specifically the highest high and lowest low of 10 bars back of the indicator. Again this is not price but the buffer value.. Kind regards comrades

Encrypting My Work---Howto?

I'm in a bit of confusion after looking through previous articles on encrypting MQL4 code... because it seems that many of the 'solutions' are susceptible to being cracked very easily by decompilers that are easily acquired. My aim is to have my work not susceptible to being cracked by a decompiler

I want to close the last order ticket but this isn't working?

int i; for (i= 0 ; i<OrdersHistoryTotal(); i++) { if ( OrderSelect (i,SELECT_BY_POS,MODE_TRADES)== true ) { {OrderClose(OrderTicket(),LotSize,Ask,UseSlippage, NULL );} }

Need help with Order History to get the last order?

Is there a way to get the last order in order history

CSV file covert to FXT is there a manual way to do this?

I'm looking for a manual way to convert the CSV file to test past data and I don't want to use an automated program to do this. I don't trust the idea of my EA being uploaded to the banks themselves