--- In [email protected], "vlanschot" <[EMAIL PROTECTED]> wrote:
>
....
>
> Personally, and FWIW, as I do not always want to clutter my Db with
> numerous ATC's, I often prefer to use VarSet.
>
> PS
>
I eventually tried using VarSet
eg. VarSet( Name() + "_trisk" , TradeRisk );
to use variables in the custom BT, but it has "Empty' values, maybe
the array gets cleared or I'm not referencing it correctly.
I initialise
TRisk2 = VarGet( Name() + "_trisk" );
at the start of the BT - "if( Status("action") == actionPortfolio )" loop
Any ideas ( much apreciated) anyone ?
Regards