Flex Renko

Questions about MultiCharts .NET and user contributed studies.
beggar
Posts: 25
Joined: 22 Sep 2016

Flex Renko

Postby beggar » 04 Oct 2017

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?

User avatar
Henry MultiСharts
Posts: 8514
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2734 times

Re: Flex Renko

Postby Henry MultiСharts » 05 Oct 2017

Hello beggar,

You can access custom resolutions using Resolution.CreateCustomResolution().

beggar
Posts: 25
Joined: 22 Sep 2016

Re: Flex Renko

Postby beggar » 05 Oct 2017

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.

User avatar
Henry MultiСharts
Posts: 8514
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2734 times

Re: Flex Renko

Postby Henry MultiСharts » 06 Oct 2017

beggar,

Check the plugin Details in the Custom Resolution manager:
https://www.multicharts.com/trading-sof ... esolutions

beggar
Posts: 25
Joined: 22 Sep 2016

Re: Flex Renko

Postby beggar » 06 Oct 2017

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.

User avatar
Henry MultiСharts
Posts: 8514
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2734 times

Re: Flex Renko

Postby Henry MultiСharts » 09 Oct 2017

beggar,

Please find a sample code attached.
Attachments
Test_DataLoader_FlexRenko.pln
(1.76 KiB) Downloaded 30 times

beggar
Posts: 25
Joined: 22 Sep 2016

Re: Flex Renko

Postby beggar » 16 Oct 2017

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.

User avatar
Henry MultiСharts
Posts: 8514
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2734 times

Re: Flex Renko

Postby Henry MultiСharts » 30 Oct 2017

Please refer to the following information:
https://docs.microsoft.com/en-us/dotnet ... /try-catch

beggar
Posts: 25
Joined: 22 Sep 2016

Re: Flex Renko

Postby beggar » 30 Oct 2017

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.


Return to “MultiCharts .NET”