Announcement

Collapse
No announcement yet.

edit studies takes longer to load?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • edit studies takes longer to load?

    Is it just me, or does 'editing studies | function parameters ' take longer to load than than the initial load?

    Also, when I 'edit studies' more than once, the right slider in the function parameter window goes away.

    ...and, also when editing studies more than once: Winsig.exe pegs the cpu at 100% when I access the last function parameter of a long list of function parameters (about 30). (Longer than 15 minutes on a P4 2.2Ghz w/1G ram, so I kill it.)

    Thanks,
    THEO.

  • #2
    Edit Studies is BROKEN

    Ok, Edit Studies is definitely BROKEN.

    Not only do BOOLEANS become STRINGS, but NUMERIC STRINGS become NUMBERS!!!

    Consequently, the following just doesn't work!

    Put this on a chart with the Formula Output window open. Your account number is '00000003', then click Edit Studies, then OK. You don't even have to change anything. Your account # is now '3'. This breaks my script. Guess I'll have to hard code it... bummer.

    I should've figured something was goofy when the slider bar in the Edit Studies window goes away everytime a study is subsequently edited (i.e. more than once).

    PHP Code:
    var fp1 = new FunctionParameter("vAccount"FunctionParameter.STRING);
        
    fp1.setName("Broker Account#");
        
    fp1.addOption("00000001");
        
    fp1.addOption("00000002");
        
    fp1.setDefault("00000003");            // Leave blank to use default account

    function main(vAccount) {
        
    debugPrint("vAccount = " vAccount "\n");

    -function THEO( Bummed );
    Attached Files

    Comment

    Working...
    X