How can I get the index of bar of a specific Datetime?

Questions about MultiCharts .NET and user contributed studies.
MaRCHeW
Posts: 37
Joined: 16 Nov 2013
Has thanked: 21 times
Been thanked: 8 times

How can I get the index of bar of a specific Datetime?

Postby MaRCHeW » 22 Jun 2014

Hi :)

Is it any function or an other way to get immediately the index of bar of a specific Datetime?

In MT4 platform I use the function iBarShift(NULL,0, time) - http://docs.mql4.com/series/ibarshift

Is it something similar in MC .NET?

Regards
Karol Marchewka

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: How can I get the index of bar of a specific Datetime?

Postby Henry MultiСharts » 23 Jun 2014

Hello Karol,

There is no such prebuilt function in MultiCharts .NET

User avatar
dataheck
Posts: 30
Joined: 19 Nov 2019
Location: Amherst, Nova Scotia
Been thanked: 5 times
Contact:

Re: How can I get the index of bar of a specific Datetime?

Postby dataheck » 09 May 2020

Howdy,

I implemented a function for this: viewtopic.php?t=52551

Emmanuel
Posts: 355
Joined: 21 May 2009
Has thanked: 109 times
Been thanked: 28 times

Re: How can I get the index of bar of a specific Datetime?

Postby Emmanuel » 12 May 2020

Hoaw !! very interesting and helpful !!!!

This is a good idea !!!

I was looking for this function !!!!!!

Thank you dataheck for this excellent function !!!!

It should be included in Multicharts !!!!!


Return to “MultiCharts .NET”