Download MetaTrader 5

Help Can't Program!!!

To add comments, please log in or register
jamieonline
11
jamieonline  

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
32406
Alain Verleyen  
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  

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  
MarketInfo(Symbol(), MODE_BID);

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


Alain Verleyen
Moderator
32406
Alain Verleyen  
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