OmniTrader Professional Forum OmniTrader Professional Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
Boris Lund

Regular
2525
Posts: 59

Joined: 12/9/2021

User Profile
 
Subject : RE: Market Profile Indicator
Posted : 7/17/2022 5:40 AM
Post #32057 - In reply to #32030

Unfortunately that was a fluke from the specific interval I was looking at.
On a 15min lower timeframe it is easier to see.

a=mt("V","15M",2)[0].
The offset refers to the current timeframe. The second parameter has no influence here since we are referring to a lower timeframe.

b=mt("V","15M",2)[1]
The offset will point us to the last 60min timeframe and give us the last 15min data. The offset point to the current (60min) timeframe and not the 15min referred lower timeframe.

Then I tried a workaround changing the timeframes, since the 15min[1] is equal to 30min minus 15min like this
mt("V","30M",2)-mt("V","15M",2)
That works. So now I have 15min[0] and 15min[1] the two last 15min component.
So now it should only be a matter of adding timeframes of bigger sizes in steps of 15. Thus we need the 45M.
Adding that, the 3. 15min timeframe (15min[2]) should be the 45M-30M like this
mt("V","45M",2)-mt("V","30M",2)
But that doesn't work. Something messes up due to the 45M offset not being a whole fraction of 60M.

So I am back to not being able to refer to the individual smaller timeframe offsets.


Attached file : timeframes 15min_b.png (179KB - 174 downloads)

Deleting message 32057 : RE: Market Profile Indicator


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.