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

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > EasyLanguage Programming


Multicharts.Net access footprint bar data elements via api
Started:June 3rd, 2016 (12:33 AM) by shark505 Views / Replies:618 / 16
Last Reply:October 9th, 2016 (10:13 AM) 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

Old June 3rd, 2016, 12:33 AM   #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
     

Old June 3rd, 2016, 12:33 AM   #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.

     

Old June 3rd, 2016, 04:29 AM   #3 (permalink)
 Vendor: abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,153 since Apr 2013
Thanks: 191 given, 651 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
     

Old June 3rd, 2016, 01:42 PM   #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
     

Old June 3rd, 2016, 01:50 PM   #5 (permalink)
 Vendor: abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,153 since Apr 2013
Thanks: 191 given, 651 received

Futures Edge on FIO
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
     

Old June 4th, 2016, 05:01 AM   #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:
     

Old June 4th, 2016, 07:37 AM   #7 (permalink)
 Vendor: abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,153 since Apr 2013
Thanks: 191 given, 651 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:
     

Old June 24th, 2016, 11:34 AM   #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
     

Old June 24th, 2016, 11:58 AM   #9 (permalink)
 Vendor: abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,153 since Apr 2013
Thanks: 191 given, 651 received

shark505,

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

Regards,

ABCTG

Reply With Quote
     

Old June 24th, 2016, 12:25 PM   #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 > Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > EasyLanguage Programming > 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)
 

Trading Technologies: ADL hands-on

Dec 13

Normal webinar schedule resumes after the holidays

January

Ernie Chan: Risk Management

Elite only

Dedicated Trading Servers: Advantages/Disadvantages w/sam028

Elite only

An Afternoon with FIO member Massive I

Elite only

Leo Murphy: TBA

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 08:01 AM
API access is disabled. yunakhan1 IB Trader Workstation 1 June 24th, 2015 04:34 AM
Multicharts or MC.NET indicator to save bar data into a MySQL/MS SQL Server database? andby MultiCharts 3 October 13th, 2014 03:37 PM
CFD BID ASK access over API FB2012 IB Trader Workstation 7 June 9th, 2014 04:44 PM
Cheapest way to get access to Zen-Fire Data through their API ptd26 Brokers and Data Feeds 1 January 20th, 2010 01:23 AM


All times are GMT -4. The time now is 03:58 AM.

Copyright © 2016 by futures.io. All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
 
no new posts
Page generated 2016-12-11 in 0.14 seconds with 20 queries on phoenix via your IP 54.197.150.143