Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I want to display the time of the high and low on a daily bar based indicator.
Therefore, a 1 minute data was added to the daily data, which can be referenced in the indicator.
My idea was to realize it with a while loop starting when the end of the session is reached on data2.
Counting till the start of the session. However, I was not able to count back more than 150 bars i was noticed that the end of available bars was reached with 203 bars. But I am using 200days back for the minute and 200days back for the daily dataset. Therefore, this should be not the problem. It would be nice if somebody can help me out.
Can you help answer these questions from other members on NexusFi?
Ok even if it is not following my first idea, the following code solved my problem.
However, in this implementation there is no backward looking loop and it only uses the incoming data stream order.
Therefore, I am still convinced that it should be possible to look back more bars on the minute data stream than can be referenced on the daily data stream. I would consider that error as a bug or a feature request within Multicharts.
Having implemented this with much less effort than I have used for the .NET variant, I am absolutly impressed about the ease of use of the easylanguage version. The concept of multiple data streams is just awesome.