Problems with custom indicator afer changing time interval on chart
I've got problem with indicator that is searching for candlestick pattern - shooting star. Everything goes correct until I change time interval on chart - arrows are in bad places.
Can someone help me and tell where is the bug?
- [WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you.
- Market Product rating calculation now includes description quality
- EURUSD - Trends, Forecasts and Implications (Part 2)
RychuPeja: I change time interval on chart - arrows are in bad places.

Play videoPlease edit your post.
For large amounts of code, attach it.
- I would have thought that after a deinit/init cycle the buffer would have been reset to all EMPTY_VALUE's. Try resetting it specifically.
Buffer[i]=EMPTY_VALUE; if (body > 0){ if(body <= bodyPercentValue * wholeCandlestick && lowerShadow <= shadowPercentValue * wholeCandlestick ){ Buffer[i]=Low[i]; } }//
And report back (with terminal version.)