Announcement

Collapse
No announcement yet.

EFS Automated Trading

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

  • EFS Automated Trading

    Dear All,

    I just got esignal on friday and I'm brand new to EFS.

    I downloaded a strategy : strMAcrsv.efs from - http://share.esignal.com/groupconten...gies&groupid=7

    Having run the strategy I changed the MA's to 3 and 9, I have some questions:

    Can strategies be automated directly to my broker?

    Will a window pop up telling me of the crossover (I did not have time to sit and watch friday!) and alert/advise me to close/change position?

    Regards
    Spamula

  • #2
    Spamula,

    Both of what you are requesting can be done. This Search for the term "Automated Trading" should assist in the discovery in how to implement some of the features you're looking for. Also, the EFS Help Center & Library will help in finding how to setup pop-up alerts in EFS. Just go to the EFS Function Reference, and then the Alert Functions section.
    Regards,
    Jay F.
    Product Manager
    _____________________________________
    Have a suggestion to improve our products?
    Click Support --> Request a Feature in eSignal 11

    Comment


    • #3
      I need to add an alert to the strategy below (I'm using 3,9 min EMA instead of 20 min simple MA as code) so I can see the timing of the new position on my chart or via a pop up box. I want to make sure the strategy timing is correct on paper as well as on the back test.

      This alert will occur on a EMA line crossover not simply when a bar goes through the moving average!

      As I just got esignal friday and I'm awaiting my 1.5 javascript 4th edition book from amazon so could someone help me with this code by adding the above requirements to the following code:



      I don't mind paying for help and eventually I would like to get a strategy automated; any ideas on the best automation solution. Is dynaorder the way ahead for automation in conjunction with IB? Any thoughts from anyone will be greatly appreciated! Big thanks to JF for the last post.

      Regards

      Spam

      Comment


      • #4
        Re: Reply to post 'EFS Automated Trading'

        The link did not come thru properly, where is it?

        Comment


        • #5
          David
          It is here
          Alex

          Comment


          • #6
            Thsi will sound an alert when your order is entered.

            /************************************************** *****************
            Description : Two Average Crossover Strategy
            Provided By : Developed by TS Support, LLC for eSignal. (c) Copyright 2002
            ************************************************** ******************/

            var fast = new MAStudy(20, 0, "Close", MAStudy.SIMPLE);
            var slow = new MAStudy(40, 0, "Close", MAStudy.SIMPLE);

            function preMain() {
            setPriceStudy(true);
            setColorPriceBars(true);
            setDefaultPriceBarColor(Color.black);

            }

            function main() {
            var f = fast.getValue(MAStudy.MA);
            var s = slow.getValue(MAStudy.MA);

            if(f == null || s == null)
            return;
            if(f >= s && !Strategy.isLong()) {
            Strategy.doLong("Crossing Up", Strategy.MARKET, Strategy.THISBAR);
            Alert.playSound("C:\\Program Files\\eSignal\\Sounds\\Ding.wav");
            }
            if(f < s && !Strategy.isShort()){
            Strategy.doShort("Crossing Down", Strategy.MARKET, Strategy.THISBAR);
            Alert.playSound("C:\\Program Files\\eSignal\\Sounds\\Ding.wav");
            }
            if(Strategy.isLong())
            setPriceBarColor(Color.lime);
            else if(Strategy.isShort())
            setPriceBarColor(Color.red);
            return new Array(f,s);
            }

            Comment


            • #7
              Dear David + Alex,

              Thanks so much for spending the time doing this for me!

              Regards
              Spam

              Comment


              • #8
                EFS for Interactive Brokers

                With the EFS for Interactive Brokers, can you go long and short automatically ?

                i.e.1. Buy(“symbol”, LotSize, OrderTypeConst,[LimitPrice])
                2. Sell(“symbol”, LotSize, OrderTypeConst,[LimitPrice])

                How do you cover or is it long only?

                Regards
                Spam

                Comment

                Working...
                X