I use now variables for my stoplosses (eg an EMA or Donchian) and I want to ask if the value of the variable is calculated with every incoming tick and therefore CPU intensive.
I don´t need with incoming tick. It´s OK with close of bar. Is there anything to add in the coding to avoid data update by tick so that there will not be problem with the ressources of the PC?
Thanks
Tony
Comment