Flex Renko
Flex Renko
I am trying do download bid and ask quotes for Flex Renko. The instrument data requests does not have any options for Flex Fenko. I only see options for Renko with delta and a few others. Is there a way to use the existing instrument data requests to get the bid and ask for Flex Renko charts?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Flex Renko
Hello beggar,
You can access custom resolutions using Resolution.CreateCustomResolution().
You can access custom resolutions using Resolution.CreateCustomResolution().
Re: Flex Renko
What is the plugin name and plugin parameters based on? The custom resolution manager for the flex renko is read only. How am I supposed to get the plugin information.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Flex Renko
beggar,
Check the plugin Details in the Custom Resolution manager:
https://www.multicharts.com/trading-sof ... esolutions
Check the plugin Details in the Custom Resolution manager:
https://www.multicharts.com/trading-sof ... esolutions
Re: Flex Renko
I've read that information before it is very generic. But what I am trying to figure is the Flex Renko you have as a custom resolution has offsets that are not in the basic Renko plugin. So unless I know the plug in parameters or can see the script there is no way for me to download bid ask data for the Flex Renko.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Flex Renko
beggar,
Please find a sample code attached.
Please find a sample code attached.
- Attachments
-
- Test_DataLoader_FlexRenko.pln
- (1.76 KiB) Downloaded 732 times
Re: Flex Renko
Code works. I am able to down load bid/ask data and plot them.
I do have one problem. I am using ExecControl.RecalcLastBarAfter instead of wait handles. I am getting the Indexing exception and it is disabling the indicator before it has the opportunity to download the data and plot after ExecControl.Recalculate. Is there anyway to catch the exception to prevent it from disabling the indicator so it can download the data.
I do have one problem. I am using ExecControl.RecalcLastBarAfter instead of wait handles. I am getting the Indexing exception and it is disabling the indicator before it has the opportunity to download the data and plot after ExecControl.Recalculate. Is there anyway to catch the exception to prevent it from disabling the indicator so it can download the data.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Flex Renko
Please refer to the following information:
https://docs.microsoft.com/en-us/dotnet ... /try-catch
https://docs.microsoft.com/en-us/dotnet ... /try-catch
Re: Flex Renko
I tried catching the exception before and checked the writeline to see if the code continued. It appeared to catch the exception but the code stopped at that point. I'll watch it a little closer to see if it keeps trying until the exception is no longer valid.