DrawArrowUp("My Arrow" + CurrentBar, false, 0, Low [0] - 1 * TickSize, symbolUpColor);
That gives me also the past arrows. When I delete the "+ CurrentBar":
DrawArrowUp("My Arrow", false, 0, Low [0] - 1 * TickSize, symbolUpColor);
I do not get the past arrows but only the current one right when it occurs.
How would I need to modify the code to end up with it drawing an arrow when the condition first appears and now make it stay BUT only draw a new arrow when it occurs in the OPPOSITE direction. In other words: My conditions are met. Give me an arrow. But only one. Stay where you are. Now give me an arrow only when my conditions indicate the opposite direction.
I attach an image. The top part shows what I currently get. The bottom one (photo shopped) shows what I would like to get.
Is there a way to arrive at that? Perhaps there's an already existing indicator which utilizes what I am trying to get at. If so could someone point me to it.
sandman
Comment