Topics

Forum Topics not found

Replies

ppstrader
11 Mar 2021, 08:18 ( Updated at: 11 Mar 2021, 08:19 )

PanagiotisCharalampous said:

Unfortunately there no plans for this feature in the upcoming releases.

It's a pity that there is no method to visualize indicator on the robot Chart. If if is possible to add an indicator object on the robot's chart manually using right click, it shouldn't be a big problem to do the same in the code.

But you can always draw lines on a chart using DrawTrendLine:

public static void DrawMovingAverageOnChart(Chart chart, MovingAverage ma, Color col)
{
    int lastidx = Math.Min(chart.BarsTotal, ma.Result.Count);
    for (int idx = 0; idx < lastidx; ++idx)
    {
        chart.DrawTrendLine(String.Concat("test-", idx), idx, ma.Result[idx], idx + 1 , ma.Result[idx + 1], col, 2);
    }
}

 


@ppstrader

ppstrader
24 Apr 2019, 13:52

Update from Mads Kristensen

The good news is that now we finally have the 16.0 version [meta package Microsoft.VisualStudio.SDK] ready. You should use it if the lowest version of Visual Studio if your extension supports 16.0. and you can read more about extension versioning here.

Now everything works with supplied VSExtension.vsix.

Change "[15.0,16.0)" to "[15.0,17.0)" in the following files:

VSExtension.vsix
manifest.json
extension.vsixmanifest
catalog.json

And re-assemble in zip container with .vsix extension.

 


@ppstrader

ppstrader
05 Apr 2019, 05:51

Any news about drawing indicators on a Bot's chart?


@ppstrader