Help with EA analyzing previous bars

Back to topics list To post a new topic, please log in or register
quanti 2016.01.17 04:35

Like in the iHighest and iLowest where it can scan the last 100 or however much bars you designate, how do i make my EA or Indicator i've made to analyze previous bars as well.

 I've seen it done in a pattern recognition indicator where it plots hammers, shooting stars, etc... on previous candles as well as forward scanning live candles.

So far i've only made my EA be able to detect desirable conditions moving forward, how would i also let it detect conditions of lets say 100 bars backwards to plot objects on the chart?


Does it have something to do with shift? If so can someone provide the code or the concept to form the code i'll be thankful

GumRai 2016.01.17 06:10 #
Click on TA above and lI believe that you can find the code for fractals, that will give a simple example of checking for a pattern
quanti 2016.01.17 06:55 #
Got it, Thank you GumRai
Back to topics list  

To add comments, please log in or register