Re: [amibroker] Re: Arrays problem

 

Miłosz,

the problem is with using something like 

Array = Ref(Array, -1);

It's a known mistake. Now I'm trying to rewrite the code using ValueWhen (with fxshrat assistance) – with no success so far.

Condition in AddColumn was just for demonstration.

best



On Sun, Mar 6, 2016 at 11:59 AM, milosz.mazurkiewicz@yahoo.com [amibroker] <amibroker@yahoogroups.com> wrote:
 

Hi Marcin,

I don't know how does your code behaves as a whole - because you have shown only a small part of it - a part which is not functional. There is no Filter variable which is required by Exploration ( but you probably have it in the full version of your code) and I don't know how do you declare "RecoverSignal" and "FirstRecoverSignal" variables. That is why it is hard to draw conclusions. But:

Why do you use conditional AddColumn? It is rather a bad idea.

Why don't you simply use:

AddColumn(RecoverSignal, "Column 1");
AddColumn(Ref(RecoverSignal, -1), "Column 2");
AddColumn(Ref(FirstRecoverSignal, -1), "Column 3");

Regards/Pozdrowienia

Miłosz




--
Marcin Jagodziński

__._,_.___

Posted by: =?UTF-8?Q?Marcin_Jagodzi=C5=84ski?= <marcin.jagodzinski@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___

Related Posts


EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv