convert number bar in data  [SOLVED]

Questions about MultiCharts and user contributed studies.
turbofib
Posts: 162
Joined: 11 May 2013
Has thanked: 48 times
Been thanked: 1 time

convert number bar in data

Postby turbofib » 29 May 2018

hi,
i would like di convert number bar in data

example:

BarNumber= 123400

what data does it match?

User avatar
TJ
Posts: 7192
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 990 times
Been thanked: 2049 times

Re: convert number bar in data

Postby TJ » 29 May 2018

hi,
i would like di convert number bar in data

example:

BarNumber= 123400

what data does it match?

What data would you like?

turbofib
Posts: 162
Joined: 11 May 2013
Has thanked: 48 times
Been thanked: 1 time

Re: convert number bar in data

Postby turbofib » 29 May 2018

Date of day..

Example: 40 bar ago is 1180528

User avatar
TJ
Posts: 7192
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 990 times
Been thanked: 2049 times

Re: convert number bar in data

Postby TJ » 29 May 2018

Date of day..

Example: 40 bar ago is 1180528

Code: Select all


Date.of.day = Date [ barnumber - 123400 ] ;

turbofib
Posts: 162
Joined: 11 May 2013
Has thanked: 48 times
Been thanked: 1 time

Re: convert number bar in data

Postby turbofib » 29 May 2018

what is the number 123400?

i don't understand it :(

I should know how many bars there are in a day ... but if in a day there is no trading?

User avatar
TJ
Posts: 7192
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 990 times
Been thanked: 2049 times

Re: convert number bar in data

Postby TJ » 29 May 2018

hi,
i would like di convert number bar in data

example:

BarNumber= 123400

what data does it match?
what is the number 123400?

i don't understand it :(

I should know how many bars there are in a day ... but if in a day there is no trading?

If you make consistent examples,
you will never be confused.

turbofib
Posts: 162
Joined: 11 May 2013
Has thanked: 48 times
Been thanked: 1 time

Re: convert number bar in data

Postby turbofib » 29 May 2018

ok
now it's 1190529 date ..ok

i want to know the date of 1200 bar ago


How i code it? thank

User avatar
TJ
Posts: 7192
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 990 times
Been thanked: 2049 times

Re: convert number bar in data

Postby TJ » 29 May 2018

ok
now it's 1190529 date ..ok

i want to know the date of 1200 bar ago


How i code it? thank



date of 1200 bar ago = DATE [ 1200 ]

turbofib
Posts: 162
Joined: 11 May 2013
Has thanked: 48 times
Been thanked: 1 time

Re: convert number bar in data  [SOLVED]

Postby turbofib » 29 May 2018

Oh now i'm understand...excuse me but the difficult is write english correctly

It' ok....i'm understand the solution


Return to “MultiCharts”