i have buildt an indicator with the conditions:
if event #1 happens and also event #2 -> draw an arrow.
this is working so far, as it's based at the same point of time (position [0]).
now it may happen that the events #1 and #2 don't happen at the same point of time.
for example #1 comes first and some bars later #2 appears. as the condition is true, i'd like to get an arrow, if #2 is apearing.
i guess i have to use "look back" therefore?
- how and where do i have to put "look back" into my indicator?
- the look back period shall be 10 bars
- do i have to "clean up" the indicator than for possible events in the future (as i'd like to start than from the beginning)
- is there any other way to realise this?
thx
Comment