Thread: MQL4 Learning
View Single Post
  #80 (permalink)  
Old 04-06-2007, 06:36 PM
savio12 savio12 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 4
savio12 is on a distinguished road
bar since entry and highest value

two ideas:

first:how count the bar since entry?
i wait only, for example 4 bars to entry and if i'am not in gain i exit to trade.
how code it?
second :it's possible to use ihighest functions for the indicator for example
i want buy if my indicator has a value more high that the past 10 value.and if thi s happens (current value more high that past 10 value) i will buy.
Reply With Quote