Download MetaTrader 5
To add comments, please log in or register
You can test an application before buying it. Find out how to do that!
jamieonline
8
jamieonline 2014.03.27 01:37 

Hi peoples :)

I guess this is super easy for all of you to understand.

But I do not even have the most simplistic understanding.

I receive this error: Arrays are passed by reference only << ehh I have no Idea how to rearrange an array :(

#import "exp.dll"

int SetRateArray(double rates[][6],int,string,int,int);// rate array,array length,symbol name,period

What could it be?

I'm trying to connect mt4 to my Ami broker.

Your help guys would be so welcome, thank-you all.

Alain Verleyen
Moderator
28633
Alain Verleyen 2014.03.27 09:38  
jeliconline:

Hi peoples :)

I guess this is super easy for all of you to understand.

But I do not even have the most simplistic understanding.

I receive this error: Arrays are passed by reference only << ehh I have no Idea how to rearrange an array :(

#import "exp.dll"

int SetRateArray(double rates[][6],int,string,int,int);// rate array,array length,symbol name,period

What could it be?

I'm trying to connect mt4 to my Ami broker.

Your help guys would be so welcome, thank-you all.

Ask to the author of the DLL.
ovibi
40
ovibi 2014.03.27 10:34  

Hello,

I'm trying to make an EA that sells every 10 pips and I set the price manually: if ((Bid == 1.3770) || (Bid == 1.3780) || (Bid == 1.3790) ... )

But I need an formula that selects automatically Bid price with last digit 0 (MT4 with 4 digit)

I know little about programing and I got lost on Documentation, so please help!


Thank you for your time

qjol
3243
qjol 2014.03.27 10:43  
MarketInfo(Symbol(), MODE_BID);

and please open your own topic and don't use others


Alain Verleyen
Moderator
28633
Alain Verleyen 2014.03.27 10:46  
ovibi:

Hello,

I'm trying to make an EA that sells every 10 pips and I set the price manually: if ((Bid == 1.3770) || (Bid == 1.3780) || (Bid == 1.3790) ... )

But I need an formula that selects automatically Bid price with last digit 0 (MT4 with 4 digit)

I know little about programing and I got lost on Documentation, so please help!


Thank you for your time


Please create your own topic as qjol show you. Thank you.
/
To add comments, please log in or register