Thread: Ask!
View Single Post
  #502 (permalink)  
Old 02-23-2007, 03:22 PM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 16,324
Blog Entries: 108
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by pawang
Hi
I am so sorry if my question is very basic.
I am learing mql4.
Please help me how to express this math conditions in mql4:
IF( (A>B) AND (|X| <1) AND (Y<Z) ) then.. ... ... ...
|X| is absoulute; it means (X < -1) OR (X> 1)

I got messege from MetaEditor
" IF EXPRESSION IS TOO COMPLEX"
After many times trying,... I have no more Idea..So please tell me how to..
Thanks
I am not a coder.
I studied Codersguru lessons together with everybody: it was one time when Codersguru was posting his lessons live (in real time) on this forum and many people (together with me) studied this lessons.

I remember that && is and.
|| is or.
And be cafully with ;, { and } and ( and ).
Also be cafuly with the point and number (just a number - 70,or 100, 0r -100, or 30, or whatever) because it should be coded in different way (don't remember now sorry).
Reply With Quote