NexusFi: Find Your Edge


Home Menu

 





Multicharts.Net access footprint bar data elements via api


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one shark505 with 9 posts (1 thanks)
    2. looks_two ABCTG with 6 posts (2 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 fjgaspar with 1 posts (0 thanks)
    1. trending_up 5,520 views
    2. thumb_up 3 thanks given
    3. group 4 followers
    1. forum 16 posts
    2. attach_file 0 attachments




 
Search this Thread

Multicharts.Net access footprint bar data elements via api

  #11 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628

Isn't this just for realtime data? How do you access historical status line values for example? How do you access the ticks in the historical (not realtime!) bar tick by tick?
I am not trying to be cute, I am actually interested in it. Besides that it might answer why you see the behavior of the profile data that you describe.

Regards,

ABCTG

Follow me on Twitter Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
Quant vue
Trading Reviews and Vendors
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
What is Markets Chat (markets.chat) real-time trading ro …
72 thanks
Spoo-nalysis ES e-mini futures S&P 500
55 thanks
Just another trading journal: PA, Wyckoff & Trends
29 thanks
Bigger Wins or Fewer Losses?
24 thanks
The Program
16 thanks
  #12 (permalink)
shark505
Chicago + IL/USA
 
Posts: 23 since Aug 2012
Thanks Given: 3
Thanks Received: 3

I didnt know that! .. I thought the same methods to access realtime ticks would work when historical ticks are being streamed into the indicator. The way to access that information would be the same as in the realtime case...

VP on the other hand doesnt work the same way, it gets calculated somewhere else. Also, the calculation seems to use a different stream. Dunno if my assumption is correct

So, if this is wrong, then how does anyone work with historical tick based indicators/strategies?

Reply With Quote
  #13 (permalink)
shark505
Chicago + IL/USA
 
Posts: 23 since Aug 2012
Thanks Given: 3
Thanks Received: 3


Can someone atleast tell me if what I'm trying to do can be done? Seems there are few MC users, well cant blame you its GARBAGE software!

Reply With Quote
  #14 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628

shark505,

part of the problem might be that it's not really clear what you are trying to do exactly. So it's impossible to steer you in the right direction.

Regards,

ABCTG



shark505 View Post
Can someone atleast tell me if what I'm trying to do can be done? Seems there are few MC users, well cant blame you its GARBAGE software!


Follow me on Twitter Reply With Quote
  #15 (permalink)
shark505
Chicago + IL/USA
 
Posts: 23 since Aug 2012
Thanks Given: 3
Thanks Received: 3

Whats not clear, I'm trying to use bars footprint information to make an indicator/strategy.

The backfill/recalculation using tick data doesn't work tick by tick.. so the calculations are messed up for the VP and other issues ive outlined

Reply With Quote
  #16 (permalink)
shark505
Chicago + IL/USA
 
Posts: 23 since Aug 2012
Thanks Given: 3
Thanks Received: 3

Some observations, for real-time tick based calculations

1. When using StatusLine for values of Bid/Ask and then judging last trade as Buy/Sell seems to work. This doesn't work for historical tick based calculations, as the StatusLine bid/ask values dont update for past tick data

2. If I use UpTicksValue/DownTicksValue to see if last trade was Buy/Sell, this doesn't work/is incorrect for both in real-time and in historical tick based calculations. This is very strange cause the whole idea of having this variable is to be able to know buying and selling volume.

Reply With Quote
  #17 (permalink)
 fjgaspar 
Sevilla + Spain
 
Experience: Beginner
Platform: Multicharts
Trading: SP
Posts: 21 since May 2016
Thanks Given: 3
Thanks Received: 3

Hello,

I am trying to get access to those collections too. I have tried the code published:

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);
}
}

But when I compile it I get an error: 'System.Collections.Generic.ICollection<PowerLanguage.VolumeProfile.ILevel>' dpesn't contain an 'ElementAt' definition, neither an extension method 'ElementAt' that sccepts a first argument of type 'System.Collections.Generic.ICollection<PowerLanguage.VolumeProfile.ILevel>' (missing using directive or an ensamble reference?)

Any help would be appreciated

Reply With Quote




Last Updated on October 9, 2016


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts