Announcement

Collapse
No announcement yet.

addToList

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

  • addToList

    from knowledgebase

    if ( bCondition==true ) {
    var symb = getSymbol(); //EUR A0-FX
    Alert.addToList( symb, "Breakout!", Color.green, Color.black );
    ...
    }

    but as of 31Jan2012 alert not showing symbol. any ideas?
    Paul Williams
    Strategy & Applications
    www.futurenets.co.uk

  • #2
    Try:
    PHP Code:
    var bCondition true;

    function 
    main(){
        var 
    symb;
        if ( 
    bCondition==true ) { 
            
    symb getSymbol(); //EUR A0-FX
            
    Alert.addToListsymb"Breakout!"Color.greenColor.black ); 
            
    bCondition false;
        } 

    If the alert triggers, then the issue is likely that "bCondition" never evaluates to true.

    Wayne
    Last edited by waynecd; 01-31-2012, 07:01 AM.

    Comment


    • #3
      sorry Wayne,

      somtimes with some symbols e.g. EUR A0-FX

      Alert.addToList( symb, "Breakout!", Color.green, Color.black );

      only displays "Breakout!" with no symbol. not had time yet to establish if this is addToList or getSymbol. since things keep changing its difficult to find.
      Paul Williams
      Strategy & Applications
      www.futurenets.co.uk

      Comment

      Working...
      X