NexusFi: Find Your Edge


Home Menu

 





Work with historical tcks data on MUltichart .NET PowerLanguage


Discussion in MultiCharts

Updated
    1. trending_up 4,089 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

Work with historical tcks data on MUltichart .NET PowerLanguage

  #1 (permalink)
fede72bari
Turin Italy
 
Posts: 10 since Mar 2021
Thanks Given: 3
Thanks Received: 0

Hi all,

I need to manage historical ticks data (datetime, price, bid/ask, volume exchanged) with PowerLanguage .NET to create a real VWAP line and its deviations. The programming guide explains carefully the StartCalc and CalcBar function that returns just aggregated data on the bar ranges, so that the calculation of VWAP (and other ticks-based indicators) cannot be properly operated. Possibly, only the current bar could be updated at each tick and the single tick data maybe could be derived somehow. Does anybody know how to get access to historical tick data at the indicator lunch? Thank you.

Federico.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
Battlestations: Show us your trading desks!
48 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #2 (permalink)
 ocpb 
Hartford CT, USA
 
Experience: Beginner
Platform: None
Trading: ES
Posts: 126 since Jan 2015
Thanks Given: 152
Thanks Received: 125


fede72bari View Post
Hi all,

I need to manage historical ticks data (datetime, price, bid/ask, volume exchanged) with PowerLanguage .NET to create a real VWAP line and its deviations. The programming guide explains carefully the StartCalc and CalcBar function that returns just aggregated data on the bar ranges, so that the calculation of VWAP (and other ticks-based indicators) cannot be properly operated. Possibly, only the current bar could be updated at each tick and the single tick data maybe could be derived somehow. Does anybody know how to get access to historical tick data at the indicator lunch? Thank you.

Federico.

Hi Federico,

It sounds like the Multichart .NET IDataLoader interface might be (exactly?) what you are looking for, which is documented at the link listed below.

https://www.multicharts.com/trading-software/index.php/4.7.4_Receiving_the_data_for_any_symbol_and_any_resolution._DataLoader

Reply With Quote
The following user says Thank You to ocpb for this post:
  #3 (permalink)
fede72bari
Turin Italy
 
Posts: 10 since Mar 2021
Thanks Given: 3
Thanks Received: 0



ocpb View Post
Hi Federico,

It sounds like the Multichart .NET IDataLoader interface might be (exactly?) what you are looking for, which is documented at the link listed below.

https://www.multicharts.com/trading-software/index.php/4.7.4_Receiving_the_data_for_any_symbol_and_any_resolution._DataLoader

Thank you so much for your support; I gave a glance at the documentation but it seems really sparse. More particularly it is not explained every available field. At least to me, it seems it is not explained how to

- go back to the tick series with respect to the current one (historical or real time)
- retrieve the tick datetime or if possible ask for the tick series in a datetime range
- retrieve the exchanged volumes for each tick

My first need is to realize Cumulative Volume and Cumulative Volume Delta (also called Buy/Sell or ASk/Bid Pressure) indicators where the cumulation is done over the last N seconds (settable freely by the user) from the closing of the current bar (the timeframe of which is < N). So I need to sum the volumes of the exchanges of each tick in the past N seconds at the bar closing for the CV and the difference between the buy volumes and the sell volumes of the ticks in the last N seconds at the bar closing. Then I would like to do something similar for a mobile VWAP. Any suggestion? Maybe could be useful for somebody else? Thanks.

Reply With Quote





Last Updated on July 20, 2021


© 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