- Search Metals Mine
- Royce replied Mar 31, 2008
Most of the technical indicator functions accept the time frame as the second argument to the function. Typically people pass zero to the time frame argument to make it calculate based on whatever the attached chart time frame is. However, if you ...
Calculating Function values for higher TFs, Programming help
- Royce replied Mar 26, 2008
I'm not sure what you want exactly. Do you want to determine the percent distance a symbol's current price is between the fibo object's start and stop prices? Assuming the price is actually between your HiPrice and LoPrice that would simply be (Bid ...
[Need Help] Howto get Fibonacci value?
- Royce replied Mar 25, 2008
I guess my next suggestion would be to make sure that the SendMail function is the real culprit. Try this indicator. It does nothing except send a similar mail out when it is first loaded into a chart or is otherwise re-initialized. If this ...
Error Help!
- Royce replied Mar 25, 2008
The error seems to refer to the mail function. Are you sure of your SMTP server credentials and the status of the account? Regarding the MessageBox function, the inclusion of WinUser32 leads me to believe that the author's intent was to use the the ...
Error Help!
- Royce replied Mar 24, 2008
Assuming you have the MQL4, you can indeed alter your EA to not trade when the spread widens above a certain point. If your EA is simple a EA, that is one that does not linger in loops over long, the expression (Ask - Bid) / Point will evaluate to ...
Scalper EA during news, what do you do about the spread?