Forex



Go Back   Forex Trading > Training > Metatrader > Metatrader 4 mql 4 - Development course > Questions
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-26-2006, 10:39 PM
Member
 
Join Date: Sep 2006
Posts: 36
evgeni1980 is on a distinguished road
question

Hi, everybody,
would you tell me, please, what are the mq4 expressions for:
"logical or"?
"logical and"?
"different from (not equal to)"?
What does mean "slippage" in EA's ?

Thanks

Last edited by evgeni1980; 11-27-2006 at 10:25 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 11-26-2006, 10:50 PM
cucurucu's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 314
cucurucu is on a distinguished road
logical or: ||
logical and: &&
not equal to: !=


equal to: ==
do not use one single "=" because a single "=" sign is used for assigning a value to the variable.


examples:

a=0; b=5;
if ( (a==0) && (b!=0) ) .............
if ( (a==0) || (b!=0) ) ..........
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 11-27-2006, 10:27 AM
Member
 
Join Date: Sep 2006
Posts: 36
evgeni1980 is on a distinguished road
Ok, thanks,
would somebody tell me, what "slippage" is in EA's
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 11-27-2006, 01:16 PM
cucurucu's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 314
cucurucu is on a distinguished road
Slippage is the difference between estimated transaction costs and the amount actually paid. Brokers may not always be effective enough at executing orders so slippage is the price difference between the time you place an order to buy or sell a currency and the time that your oder is filled. In a fast-moving volatile market from the time you place an order until the time it is filled the exchange rate can rise or fall few pips.

If you allow 5 pips slippage, your order will be executed anywhere between +5 pips/ - 5 pips from the price you clicked on.
If you don't allow slippage (slippage=0) your order will not be executed if the price moves from the price you clicked on.
I prefer to set it at 10 pips. This way I am almost sure that my order will be executed. I don't care about those maximum 10 pips of "loss". It is more important for me to get the trade executed.

I hope you understand.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 11-27-2006, 02:32 PM
Member
 
Join Date: Sep 2006
Posts: 36
evgeni1980 is on a distinguished road
Yes, thanks again
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question About EAs mikejody Tools and utilities 2 05-26-2007 12:59 AM
EA question yaniv_av Expert Advisors - Metatrader 4 1 11-14-2006 01:10 PM
Another question, sorry. demag Questions 0 02-13-2006 07:34 PM


All times are GMT. The time now is 01:37 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.