Announcement

Collapse
No announcement yet.

Code help

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

  • #31
    Russ
    Here below is a sample using Close as the price I would want to appear
    Alert.addToList(getSymbol(), close(), Color.RGB(0,0,0), Color.RGB(195,0,0))
    Alex

    Comment


    • #32
      RE: Reply to post 'Code help'

      Parameter 3 is incorrect according to the output, can you assist

      Alert.addToList(getSymbol(),close(), "Going Long", Color.black,
      Color.green);

      -----Original Message-----
      From: [email protected] [mailto:[email protected]]
      Sent: 18 March 2003 11:50
      To: [email protected]
      Subject: Reply to post 'Code help'


      Hello Russell,

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      Comment


      • #33
        Re: Reply to post 'RE: Reply to post 'Code help''

        Russ
        Try this
        Alert.addToList(getSymbol(),"Going Long"+close(),Color.black,Color.green);
        Alex
        Last edited by ACM; 03-18-2003, 06:35 AM.

        Comment


        • #34
          RE: Reply to post 'Re: Reply to post 'RE: Reply to post 'Code help'''

          no, same error message

          -----Original Message-----
          From: [email protected] [mailto:[email protected]]
          Sent: 18 March 2003 13:30
          To: [email protected]
          Subject: Reply to post 'Re: Reply to post 'RE: Reply to post 'Code
          help'''


          Hello Russell,

          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

          Comment


          • #35
            Russell
            It can't be the same error message. The parameters have changed so it should be giving an error on a different parameter.
            Did you reload the efs after modifying it?
            I just tried it here and the Triggered Alert is showing Going Long825.25.
            Which reminds me to suggest changing the "Going Long"+ to "Going Long "+ so that you have some space between the text and price (notice that the spaces are contained inside the quotes)
            Alex
            Last edited by ACM; 03-18-2003, 07:02 AM.

            Comment


            • #36
              RE: Reply to post 'Code help'

              Nope - here's the line and the parameter thats incorrect is no 3. Can't copy
              it for your info unfortunately

              Russ

              Alert.addToList(getSymbol(),close(), "Going Long "+close(), Color.black,
              Color.green);

              -----Original Message-----
              From: [email protected] [mailto:[email protected]]
              Sent: 18 March 2003 13:58
              To: [email protected]
              Subject: Reply to post 'Code help'


              Hello Russell,

              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

              Comment


              • #37
                Muppett

                Sorry I have just spotted I put the close in twice

                doh!

                Comment


                • #38
                  Re: Reply to post 'RE: Reply to post 'Code help''

                  Russell
                  You are adding a parameter. Just copy the line as I posted it.
                  Alex

                  Comment

                  Working...
                  X