Hi all,
I noticed that daily updating for Free Quotes (ie: ^VIX, ^IXIC from yahoo) does not occur automatically after applying it to a chart. For instance, I set up a chart with IXIC on Friday, but as of this morning (more than one full trading day had past) it did not have the data for yesterday.
What's the setting for this so that I do not have to refresh this every day?
Thanks
Automatic daily updating for Free Quotes not happening?
-
- Posts: 45
- Joined: 07 Mar 2024
- Has thanked: 13 times
- Been thanked: 1 time
- Polly MultiCharts
- Posts: 206
- Joined: 20 Jul 2022
- Has thanked: 1 time
- Been thanked: 56 times
Re: Automatic daily updating for Free Quotes not happening?
Hello Talky_Zebra,
Free Quotes is free end-of-day historical daily bars coming from Yahoo Finance. It doesn't provide real-time data so it is expected that the charts will not update automatically.
In order to request historical data anew, you need to reload the charts via View → Reload.
Free Quotes is free end-of-day historical daily bars coming from Yahoo Finance. It doesn't provide real-time data so it is expected that the charts will not update automatically.
In order to request historical data anew, you need to reload the charts via View → Reload.
-
- Posts: 45
- Joined: 07 Mar 2024
- Has thanked: 13 times
- Been thanked: 1 time
Re: Automatic daily updating for Free Quotes not happening?
But, is there a way to set it up to refresh each day with "yesterday's" update?
- Polly MultiCharts
- Posts: 206
- Joined: 20 Jul 2022
- Has thanked: 1 time
- Been thanked: 56 times
Re: Automatic daily updating for Free Quotes not happening?
Talky_Zebra,
As a workaround you might try creating a custom study that will automatically reload your chart. You can refer to these keywords:
As a workaround you might try creating a custom study that will automatically reload your chart. You can refer to these keywords:
-
- Posts: 45
- Joined: 07 Mar 2024
- Has thanked: 13 times
- Been thanked: 1 time
Re: Automatic daily updating for Free Quotes not happening?
Thanks Polly, I see what needs to be done.
But wait, are those regular PowerLanguage commands? I don't see them in the .NET docs.
But wait, are those regular PowerLanguage commands? I don't see them in the .NET docs.
- Polly MultiCharts
- Posts: 206
- Joined: 20 Jul 2022
- Has thanked: 1 time
- Been thanked: 56 times
Re: Automatic daily updating for Free Quotes not happening?
Talky_Zebra,
Yes, these are PL Keywords. In MultiCharts .NET you can refer to these keywords:
Yes, these are PL Keywords. In MultiCharts .NET you can refer to these keywords:
- ExecControl.RecalcLastBarAfter()
- ChartCommands.CommandLine()
- DateTime.Now()
-
- Posts: 45
- Joined: 07 Mar 2024
- Has thanked: 13 times
- Been thanked: 1 time
Re: Automatic daily updating for Free Quotes not happening?
Thanks again Polly. I found the following code, which when added to a simple indicator will update most, but not all charts.
This leads to another question. I cannot seem to find a description of the parameters for TimeSpan() in any of the codebase documentation (Programming guide PDF, web docs, or the IDE help docs). Can't find Now() either (via google there are too many false positives.
Maybe Now() is the better choice? Hard to tell without some sort of reference. If you find a link, I'd like to read about how to use these and understand the differences.
Code: Select all
ExecControl.RecalcLastBarAfter(new TimeSpan(0, 0, 1));
Maybe Now() is the better choice? Hard to tell without some sort of reference. If you find a link, I'd like to read about how to use these and understand the differences.
- Polly MultiCharts
- Posts: 206
- Joined: 20 Jul 2022
- Has thanked: 1 time
- Been thanked: 56 times
Re: Automatic daily updating for Free Quotes not happening?
Talky_Zebra,
This class is not specific to MultiCharts .NET, so if there is no description of it in MultiCharts guides, you might want to find some additional info on the Internet in third party resources.
This class is not specific to MultiCharts .NET, so if there is no description of it in MultiCharts guides, you might want to find some additional info on the Internet in third party resources.
-
- Posts: 85
- Joined: 10 Feb 2022
- Has thanked: 52 times
- Been thanked: 11 times
Re: Automatic daily updating for Free Quotes not happening?
Take a look at chatgpt, chatgpt is ideal for such “simple” questions https://chat.openai.com/share/72380861- ... a49884f6bc
-
- Posts: 45
- Joined: 07 Mar 2024
- Has thanked: 13 times
- Been thanked: 1 time
Re: Automatic daily updating for Free Quotes not happening?
Polly and Hellghost thank you.
I am new to C# so did not initially understand that TimeSpan is not part of the PowerLanguage namespace. (I am coming over to MC from MT4/MT5, and I am not really a coder.) I'm very comfortable with C style syntax.... but still naive about many details about both MC and C#. So I am learning both simultaneously.
I am new to C# so did not initially understand that TimeSpan is not part of the PowerLanguage namespace. (I am coming over to MC from MT4/MT5, and I am not really a coder.) I'm very comfortable with C style syntax.... but still naive about many details about both MC and C#. So I am learning both simultaneously.
-
- Posts: 45
- Joined: 07 Mar 2024
- Has thanked: 13 times
- Been thanked: 1 time
Talky_Zebra
Hi Polly, to the above, can you direct me to a full list of CommandLine commands and their syntax? I am looking to understand what's in the toolkit.
The best I could find was a few from Josh's tutorials and this page: https://www.multicharts.com/trading-sof ... ommandLine
Is that the full list?
Thanks
The best I could find was a few from Josh's tutorials and this page: https://www.multicharts.com/trading-sof ... ommandLine
Is that the full list?
Thanks
- Polly MultiCharts
- Posts: 206
- Joined: 20 Jul 2022
- Has thanked: 1 time
- Been thanked: 56 times