Help Can't Program!!!

 

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.

 
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.
 

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

 
MarketInfo(Symbol(), MODE_BID);

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


 
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.
Reason: