Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-24-2006, 11:23 AM
babarmughal's Avatar
Senior Member
 
Join Date: Apr 2006
Posts: 315
babarmughal is on a distinguished road
Smile How to define a BAR........

Hi Guys,

I dont now the MLQ programming very well....please help me...

How can I define a BAR as "X" and if the price goes below the X the go short...I dont know how can I put a phrase into the EA...

Thanks
Babar

Last edited by babarmughal; 06-24-2006 at 11:29 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-27-2006, 12:47 AM
phoenix's Avatar
Senior Member
 
Join Date: May 2006
Posts: 287
phoenix is on a distinguished road
you need to defind the close or open or high or low of the bar first
then specific the current useing price like close or bid

ie i use the close price of the before bar as a refference and when current close go below the close price of the before bar send short order , like this


hope this help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to define a static var in MT3.86 lamanosky Indicators - Metatrader 3 0 11-18-2006 12:43 PM
How can I define Colour change babarmughal Expert Advisors - Metatrader 4 9 11-12-2006 04:19 PM
How can I define.... babarmughal Expert Advisors - Metatrader 4 6 11-10-2006 10:18 PM


All times are GMT. The time now is 09:35 AM.



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