NexusFi: Find Your Edge


Home Menu

 





accessing daily values into an intraday chart


Discussion in MultiCharts

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




 
Search this Thread
  #1 (permalink)
 
Jack Tripper's Avatar
 Jack Tripper 
Vienna, Virginia/USA
 
Experience: Advanced
Platform: Sierra Chart, MC
Broker: InteractiveBrokers
Trading: ES NQ GC CL JPY EUR
Posts: 3 since May 2017
Thanks Given: 9
Thanks Received: 1

Hi, I realize this has probably been answered with a quick solution already, but my searches haven't been able to zero in on the particular easylanguage problem I have, so I appreciate the patience in advance. I am not an expert easylanguage user.

I am trading an intra-day futures strategy, where I use data from the daily time frame.
I want to call up the daily average volume over the past n days.
I want to calculate the Average true range over the past n days.

I inserted two data streams into my chart. one minute bars in top panel/daily bars in bottom panel.
I use the above info in my daily volume and daily ATR information in my intra-day strategy.

average(volume of data2, 20)

my strategy uses an unrelated input that has a look back period of 500 bars. And when I try to compile, I get the error "Not enough series length". Bars reference value:500.

I checked the properties tab, and the max bars back setting is 500. I also changed the input value to 100.

I still get the same error.

Is there a special function to get a day's total volume into an intraday chart, like "HIGHD" does for getting a day's high value? I looked at "dailyvolume" but that doesn't seem to fit.

Grateful for any assistance.


Started this thread Reply With Quote

 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

Jack Tripper,

it sounds like you are using a viable approach. How many bars do you have on the chart for data 2?

Regards,

ABCTG


Follow me on X Reply With Quote
Thanked by:
  #3 (permalink)
 
Jack Tripper's Avatar
 Jack Tripper 
Vienna, Virginia/USA
 
Experience: Advanced
Platform: Sierra Chart, MC
Broker: InteractiveBrokers
Trading: ES NQ GC CL JPY EUR
Posts: 3 since May 2017
Thanks Given: 9
Thanks Received: 1


thanks for reply. I think I found the problem. I tried to run the signal code on other instruments and never got the error again. I only kept getting that error on one particular emerging market futures contract, so I think the problem was the data from that exchange.


Started this thread Reply With Quote




Last Updated on January 7, 2019


© 2026 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 - Downloads - Top
no new posts