Forum

Linefeeds in sendmail body?

Hello everyone, I've been trying unsuccessfully to imbed CRLF (linefeeds) into my email body using sendmail. Sendmail wants to convert everything to text including chr$(13) & chr$(10) ('/r'+'/n'), etc. Does anyone know if there is a special character/code that can be placed inside the message body

Date/Time functions missing?

Hello everyone, Arien't there any date/time functions to add and subtract (hours, minutes, seconds) to derive a new date/time? For instance, if I wanted to add 360 minutes to a fixed date/time to get a future date/time how would I do it (without having to code the whole thing)? Thanks for the help

Are SPLINES possible?

"Splines" as in "Cubic Splines" turn charts with jagged edges into charts with nice smooth curves (see example attachment). They would require being able to divide the BARS into sub-divisions like every 0.2 or 0.25. Would this be possible? Is there a way to plot a fraction of a BAR? -charliev

Unsigned char (?)

Hello, In standard 'C', is an 'unsigned char' the same as 'string' in MQL4? Thanks! -c

Tooltip modification

Hello again, After creating an object on the chart, MT allows you to view the values of the object by putting your cursor over it... displaying the yellow box with the values. Microsoft languages call this a "Tooltip". Is there a way to modify the content of the "Tooltip"? I would like to change the

Function that returns an Array?

Hello all, With all the questions I've been posting, it's obvious I'm a newbie... thanks for all the help. I'd like to create a FUNCTION that returns an ARRAY, but not sure of the syntax. I tried this: double function_name[] (double var1, double var2) { // do something to create array here } But it

Pass data from Indicator to EA?

Hello everyone, Is it possible to pass variable data from an Indicator to an EA? If so, can someone provide and example of how is it done? Thanks! -c

Multiple Time Periods...

Hello, How do I obtain historical Open and Close from various time periods to use in my Indicator? For instance, if my Indicator is attached to the 5M chart, I want to be able to use Open and Close values from the 15M and 60M time period. Is this possible? -charliev

#import

This is GREAT board to learn MQL!!! I'd like to learn more about using Windows .DLL's in my MQL4 code... I downloaded coderguru's MQL4 Course (EXCELLENT!) but need more info. Can anyone make any suggestions? -charliev