0

This is a really simple code but I must figure out the problem in order to work with my real strategy:

strategy("My strategy", overlay=true, calc_on_every_tick = true)

plot(close)

It simply plots the close in the chart, it worked correctly as expected, which is to plot the close price every tick, but after about 2 minutes of adding it to the chart, it started to be pretty slow and delayed in plotting the close, the close value in the strategy and in the chart starting to be mismatched although it should be updated every tick, now it updates the close in the chart every 20 sec instead of every tick. Anybody knows the problem here?

close value in the strategy not matching the chart

D YAY
  • 19
  • 5

0 Answers0