Announcement

Collapse
No announcement yet.

Email problems Ver 7.2

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

  • #16
    Jay F,

    Thanks for the reply. I have V 7.2(Build 544).

    The emails stopped functioning as well as the Alerts function.

    Settings were unaffected.

    Other items such as changing the colors of Bars continued as programed.

    David

    Comment


    • #17
      Has this been addressed yet?
      I have the same problem. If I have setComputeOnClose() in my efs I don't get email alerts. Comment it out and I get continuous alerts about every 20 seconds.

      Jerry

      Comment


      • #18
        My understanding is that this has been resolved in 7.4. Are you still experiencing this issue?
        Regards,
        Jay F.
        Product Manager
        _____________________________________
        Have a suggestion to improve our products?
        Click Support --> Request a Feature in eSignal 11

        Comment


        • #19
          No, 7.3 (Build 588).
          I thought 7.4 was still beta.
          Regardless, I am on my way to get 7.4.
          Thanks
          Jerry

          Comment


          • #20
            Hi Jerry,

            7.4 is going gold by end of today. Being that we are located on the West Coast, that should happen momentarily!

            Check the download page over at WWW.eSignal.Com for the release. Here's the direct link.

            Remember, if you see 7.3, then we haven't yet posted.

            Regards,
            Andy

            Comment


            • #21
              Jerry and Jay
              FWIW email alerts have been working without any problems here with setComputeOnClose() on the various 7.4 beta and RC versions
              Alex

              Comment


              • #22
                Hello guys

                I am still having the same problem with 7.4.
                Do I have the wrong logic in my code?

                //sample_backtest_code

                var study = new MAStudy(20, 0, "Close", MAStudy.SIMPLE);

                function preMain() {
                setComputeOnClose();

                setPriceStudy(true);

                setColorPriceBars(true);

                setDefaultPriceBarColor(Color.black);

                }

                function main() {

                var v = study.getValue(MAStudy.MA);

                if(v == null)

                return;

                if(close() >= v && !Strategy.isLong())

                Strategy.doLong("Crossing Up", Strategy.MARKET, Strategy.THISBAR);
                Alert.email("Long @ " + close(),"");

                if(close() < v && !Strategy.isShort())

                Strategy.doShort("Crossing Down", Strategy.MARKET, Strategy.THISBAR);
                Alert.email("Short @ " + close(),"");

                if(Strategy.isLong())

                setPriceBarColor(Color.lime);

                else if(Strategy.isShort())

                setPriceBarColor(Color.red);

                return v;

                }

                Comment


                • #23
                  Jerry
                  Are you testing this in real time or are you using Replay?
                  If Replay what symbol and interval?
                  Alex

                  Comment


                  • #24
                    Alex

                    Real time, SPY, 3 minute for testing.

                    Jerry

                    Comment


                    • #25
                      Jerry
                      I just ran your code and in the last 5 minutes it issued 4 emails on 1 min ES U3 chart. Last one was [ES U3] Short @ 982
                      So, the code is working at this end
                      I will try on SPY now
                      Alex

                      Comment


                      • #26
                        One thing I noticed is the need to include brackets around the code to be run when the if statements are true.

                        if (condition == true) {
                        // do this code
                        }

                        Using your code...

                        PHP Code:
                        //sample_backtest_code

                        var study = new MAStudy(200"Close"MAStudy.SIMPLE);

                        function 
                        preMain() {
                            
                        setComputeOnClose();

                            
                        setPriceStudy(true);

                            
                        setColorPriceBars(true);

                            
                        setDefaultPriceBarColor(Color.black);

                            }

                        function 
                        main() {

                            var 
                        study.getValue(MAStudy.MA);
                            
                            if(
                        == null)

                                return;

                            if(
                        close() >= && !Strategy.isLong()) {

                                
                        Strategy.doLong("Crossing Up"Strategy.MARKETStrategy.THISBAR);
                                
                        Alert.email("Long @ " close(),"");
                            }

                            if(
                        close() < && !Strategy.isShort()) {

                                
                        Strategy.doShort("Crossing Down"Strategy.MARKETStrategy.THISBAR);
                                
                        Alert.email("Short @ " close(),"");
                            }
                            
                            if(
                        Strategy.isLong()) {

                                
                        setPriceBarColor(Color.lime);
                            }
                            
                            else if(
                        Strategy.isShort()) {

                                
                        setPriceBarColor(Color.red);
                            }
                            
                            return 
                        v;


                        Regards,
                        Jay F.
                        Product Manager
                        _____________________________________
                        Have a suggestion to improve our products?
                        Click Support --> Request a Feature in eSignal 11

                        Comment


                        • #27
                          Alex and Jay
                          I will try the brackets.
                          It may be 2 months before all the messages are out of the queue.
                          Jerry

                          Comment


                          • #28
                            Alex and Jay
                            The bracket trick seems to be working.
                            Thanks guys
                            Jerry

                            p.s. to Alex
                            Did the code work for you "without" the brackets?

                            Comment


                            • #29
                              Jerry
                              Yes, I simply copied the code "as is" from your message and it worked.
                              Alex

                              Comment


                              • #30
                                Originally posted by Alexis C. Montenegro
                                Jerry
                                Yes, I simply copied the code "as is" from your message and it worked.
                                Alex
                                Strange
                                But, at least I am working now.
                                Thanks again
                                Jerry

                                Comment

                                Working...
                                X