|
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.
|