Multicharts.Net access footprint bar data elements via api - EasyLanguage Programming | futures.io
futures io futures trading


Multicharts.Net access footprint bar data elements via api
Started: by shark505 Views / Replies:890 / 16
Last Reply: Attachments:0

Welcome to futures io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

Multicharts.Net access footprint bar data elements via api

  #1 (permalink)
Trading Apprentice
Chicago + IL/USA
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: ES
 
Posts: 23 since Aug 2012
Thanks: 3 given, 3 received

Multicharts.Net access footprint bar data elements via api

Dear Readers

I'm using Multicharts.Net special edition and am trying to access the footprint information. MC has a Volumedelta chart type which shows the volume at bid/ask information but I haven't found a way to access this information via indicator code. I'm trying to figure out which data structure to use.

It's surprising, to me at least, that this isn't available easily. Any help would be appreciated, code snippet would be great. I can understand VB and C# so either would be helpful.

Thanks in advance.

S

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,280 since Apr 2013
Thanks: 203 given, 721 received


shark505,

you might want to check the Programming Guide, it shows information on how to access the Volume Profile information. This should get you going as it provides the data you are looking for.

Regards,

ABCTG

Reply With Quote
 
  #4 (permalink)
Trading Apprentice
Chicago + IL/USA
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: ES
 
Posts: 23 since Aug 2012
Thanks: 3 given, 3 received

Footprint info

ABCTG,

I have looked at the guide and haven't been able to figure it out, I'll go through it again. And I'm looking for footprint information that I see on the volume delta bar chart not the volume profile. Do you know where I can find a working example?

Thanks

S

Reply With Quote
 
  #5 (permalink)
Elite Member
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,280 since Apr 2013
Thanks: 203 given, 721 received

futures io on Twitter
shark505,

I understand that. The name Volume Profile might be confusing in this term, too, but the IProfilesCollection interface provides you with all the values that you are looking for. You will just have to enable the volume profile on the particular chart (otherwise the interface is not accessible) and set it 1 bar resolution.

Regards,

ABCTG

Reply With Quote
 
  #6 (permalink)
Trading Apprentice
Chicago + IL/USA
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: ES
 
Posts: 23 since Aug 2012
Thanks: 3 given, 3 received

it works

ABCDTG,

I used VolumeProfile as you suggested and was able to access the data, thank you for your help

S

// Code
int bn = Bars.FullSymbolData.Current-1;
var vp = VolumeProfile.ItemForBar(bn);
if (vp != null)
{
var levels = vp.Values;
for (int i=0; i<levels.Count; i++) {
var level = levels.ElementAt(i);
double p = level.Price.Dbl;
decimal vAsk = level.AskTradedValue;
decimal vBid = level.BidTradedValue;
Output.WriteLine("{0} : {1} | {2}", p, vBid, vAsk);
}
}

Reply With Quote
The following user says Thank You to shark505 for this post:
 
  #7 (permalink)
Elite Member
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,280 since Apr 2013
Thanks: 203 given, 721 received

Shark505,

you are welcome, I am glad that it works for you.
By the way you can show your appreciation for a post here on Futures.io using the "Thanks" button under it.

Regards,

ABCTG


shark505 View Post
ABCDTG,

I used VolumeProfile as you suggested and was able to access the data, thank you for your help

S

// Code
int bn = Bars.FullSymbolData.Current-1;
var vp = VolumeProfile.ItemForBar(bn);
if (vp != null)
{
var levels = vp.Values;
for (int i=0; i<levels.Count; i++) {
var level = levels.ElementAt(i);
double p = level.Price.Dbl;
decimal vAsk = level.AskTradedValue;
decimal vBid = level.BidTradedValue;
Output.WriteLine("{0} : {1} | {2}", p, vBid, vAsk);
}
}


Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #8 (permalink)
Trading Apprentice
Chicago + IL/USA
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: ES
 
Posts: 23 since Aug 2012
Thanks: 3 given, 3 received

Volume profile doesnt build on ticks historically

Hi,

VP code works in real time but when I add an indicator, the historical VP calculation seems to happen at intervals. Whats happening is, the profile gets populated every say 10ticks, then I get those 10 ticks individually in the CalcBar function but the VP remains fixed until all are processed and so on. And its not 10 ticks but some random value.

I tried to build the profile by myself using the tick data, but if i match (say) bidprice with last tick price for sell, it doesnt match with the VP (im using StatusLine for bid/ask, it could be that the Status line doesn't update on time and throws off my calculation).

So I'm not sure if there is any real way to access VP or build indicators on it. Any suggestions?

Reply With Quote
 
  #9 (permalink)
Elite Member
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,280 since Apr 2013
Thanks: 203 given, 721 received

shark505,

how do you do historical intrabar (i.e. tick by tick) calculations on an indicator?

Regards,

ABCTG

Reply With Quote
 
  #10 (permalink)
Trading Apprentice
Chicago + IL/USA
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: ES
 
Posts: 23 since Aug 2012
Thanks: 3 given, 3 received

intra bar calc


On each call to CalcBar, I use the Status Line BidPx, AsxPx and last price.

This last price is used to get side, buy or sell, last>=Ask means Buy for the trade

I use Bars.TickValue for the total bar volume upto current tick, subtract from previous total volume, so that's the volume traded on this tick

This is then TradePrice/Volume key/value pair.

Reply With Quote

Reply



futures io > > > > > Multicharts.Net access footprint bar data elements via api

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Market Analysis w/Dave Forss @ IQFeed

Apr 25
 

Introducing iSystems with Stage 5 Trading

Apr 27

*NEW* FIO Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

May

Prototyping Python Strategies (part 2) w/Ran Aroussi

Elite only

Ask Me Anything w/Raymond Deux @ NinjaTrader

May 3

An Afternoon with FIO member Softsoap

Elite only
 

Machine Learning & Data Mining Bias w/Kris Longmore @ Robot Wealth

Elite only

Brannigan Barrett (TBA)

Elite only

FIO member Gomi (TBA)

Elite only

FuturesTrader71 (TBA)

Elite only

EasyLanguage Programming w/Chris @ ABC Trading Group

Elite only

Portfolio Diversification w/Brendon Delate

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multicharts: Importing tick data (and converting it to minute bar data) pedrosimao MultiCharts 4 May 23rd, 2016 07:01 AM
API access is disabled. yunakhan1 IB Trader Workstation 1 June 24th, 2015 03:34 AM
Multicharts or MC.NET indicator to save bar data into a MySQL/MS SQL Server database? andby MultiCharts 3 October 13th, 2014 02:37 PM
CFD BID ASK access over API FB2012 IB Trader Workstation 7 June 9th, 2014 03:44 PM
Cheapest way to get access to Zen-Fire Data through their API ptd26 Brokers and Data Feeds 1 January 20th, 2010 12:23 AM


All times are GMT -4. The time now is 11:02 AM.

no new posts
Page generated 2017-04-24 in 0.13 seconds with 19 queries on phoenix via your IP 54.80.18.223