(Startegy tester) EA opens a window for the same indicator multiple times

 

(see picture)

every few candles (but not in a pattern as far as i can see) my ea opens the same indicator window again, resulting in many open windows for the same indicator.

It starts with one window as it should and then continues to open new ones.

Is there a solution to this?

Thank you

 
tobqas:

(see picture)

every few candles (but not in a pattern as far as i can see) my ea opens the same indicator window again, resulting in many open windows for the same indicator.

Are you creating the indicator handle only once as you should be (in OnInit()) ?

 
@Keith Watford thank you, it works now!
Keith Watford
Keith Watford
  • www.mql5.com
Left feedback to customer for job Looking for a reputable Forex EA automated trading robot developer to create EA of my strategy for mt4 - Potential to re-hire for several projects in the future if all goes well.
Reason: