my goal is to have some calculation every 10 bars and based on the result to plot on those last 10 bars..
for example (if only it was that easy )
Code: Select all
x = MyFunction()
for i = 0 to 9
me.plot1.set(MyBase.Bars.CurrentBar - i, x)
next i
Thanks much in advance!
Best,
Ram
======================================
MultiCharts .NET64 for TWS Version 8.9 Release (Build 10291)
Using VB.Net