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.


This message cannot be deleted. It is the first message of the thread.
Administrators or moderators may choose to delete the entire thread


 
Boris Lund

Regular
2525
Posts: 59

Joined: 12/9/2021

User Profile
 
Subject : Market Profile Indicator
Posted : 7/7/2022 7:39 AM
Post #32030

I am trying to build a Market Profile indicator.
I need to look at volume at a lower timeframe so I can see the lower timeframe price and volume distribution.
If I look at the one hour timeframe I would look at the underlying 5min intervals.
But first I need to be able to address the underlying timeframes correctly.

In the simple example it should look at the 30min timeframe while I am on a 60min. The volume of the last 30min plus the 30min before should add up to the current 60min bar volume.
But it doesn't...

#Indicator
dim a,b,d as single

a=mt(v,"30m",1)
b=mt(v,"30m",1)[1]
d=a+b

plot("a",a,black)
plot("b",b,green)
plot("d",d,blue)

Return 0
Attached file : Market Profile2.png (7KB - 163 downloads)

Deleting message 32030 : Market Profile Indicator


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