Announcement

Collapse
No announcement yet.

Editing the text of and Email Alert

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

  • Editing the text of and Email Alert

    I am using the MACD Crossover.efs with Email alerts that was developed in the Formula Wizard.
    I need help setting the text of the email alert to display the current price when the crossover triggers the alert.

    Gary
    Attached Files
    Gary Welte
    Advanced GET User

  • #2
    I cant get my email alerts to work, so I cant check this but try

    Alert.email("ggg"+close(), "ggg"+open())

    and see if the 'variables' close and open make it to your email.

    Comment


    • #3
      Re: Reply to post 'Editing the text of and Email Alert'

      Gary
      This should do it
      Alert.email(close(), "Down or Up")
      Alex

      Comment


      • #4
        RE: Reply to post 'Re: Reply to post 'Editing the text of and Ema il Alert''

        ;
        charset="iso-8859-1"


        Hi Alex

        The email alert triggered but the email only showed the symbol and "UP"
        but not the close price.

        Here is the section of code I edited.

        SWizard_Actions
        //{{EFSWizard_Action_1
        function onAction1() {
        if (vLastAlert != 1) Alert.playSound("C:\\Program
        Files\\eSignal\\Sounds\\Chime Down.wav");
        if (vLastAlert != 1) drawShapeRelative(0, low(), Shape.UPARROW,
        "", Color.RGB(0,128,0), Shape.BOTTOM);
        if (vLastAlert != 1) Alert.email((close(), "Up"));
        vLastAlert = 1;
        }
        //}}EFSWizard_Action_1 40097

        //{{EFSWizard_Action_2
        function onAction2() {
        if (vLastAlert != 2) Alert.playSound("C:\\Program
        Files\\eSignal\\Sounds\\Chimes.wav");
        if (vLastAlert != 2) drawShapeRelative(0, high(),
        Shape.DOWNARROW, "", Color.RGB(255,0,0), Shape.TOP);
        if (vLastAlert != 2) Alert.email((close(), "Down"));
        vLastAlert = 2;
        }
        //}}EFSWizard_Action_2 37164


        Gary



        -----Original Message-----
        From: [email protected] [mailto:[email protected]]
        Sent: Wednesday, March 12, 2003 3:49 PM
        To: [email protected]
        Subject: Reply to post 'Re: Reply to post 'Editing the text of and Email
        Alert''


        Hello Gary_Welte_eSignal,

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Gary Welte
        Advanced GET User

        Comment


        • #5
          Re: Reply to post 'RE: Reply to post 'Re: Reply to post 'Editing the text of and Ema il Alert'''

          Gary
          I believe there is one set of parenthesis too many in yours.
          Try the following
          if (vLastAlert != 2) Alert.email(close(), "Down");
          Alex

          Comment

          Working...
          X