NexusFi: Find Your Edge


Home Menu

 





Work with historical tcks data on MUltichart .NET PowerLanguage


Discussion in MultiCharts

Updated
    1. trending_up 4,101 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?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Any futures traders in Texas looking to give back to tho …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
20 thanks
Just another trading journal: PA, Wyckoff & Trends
16 thanks
My NQ Trading Journal
16 thanks
Coding money management strategies.
14 thanks
HumbleTraders next chapter
9 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
Thanked by:
  #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