Thread: Ask!
View Single Post
  #24 (permalink)  
Old 11-16-2005, 04:57 PM
yaniv_av yaniv_av is offline
Member
 
Join Date: Oct 2005
Posts: 34
yaniv_av is on a distinguished road
Hi - a simple question (I hope...)

How can I code a time base exit command ?
I want to know the duration of an open position expresse by the number of bars that position already open.
Actually, I want to close a position automatically after 30 bars (in my expert-advisor)
How can I code that in mql4?

10X !
Reply With Quote