Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Anyone want to program "The Force" ?

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

    #31
    Great....I am going to work on it as well.......

    Comment


      #32
      I think it's just as simple as this.....

      // Condition set 1
      if (Stochastics(7, 14, 3).D[0] < Stoch80
      && MACD(
      12, 26, 1).Avg[0] > MACD(12, 26, 9).Avg[1]
      && CrossBelow(EMA(Close,
      5), EMA(Open, 5), 1)
      && Close[
      0] > Open[0])
      {
      EnterLong(DefaultQuantity,
      "");
      }
      // Condition set 2
      if (CrossAbove(EMA(Close, 5), EMA(Open, 5), 1))
      {
      ExitLong(
      "", "");
      }

      Comment


        #33
        A quick look ....

        I think it's just as simple as this.....

        // Condition set 1
        if (Stochastics(7, 14, 3).D[0] < Stoch80 <-- Stochastics(3,5,3).K < 80
        && MACD(
        12, 26, 1).Avg[0] > MACD(12, 26, 9).Avg[1] <-- MACD(12,26,1).Avg[0] must be MACD(12,26,2 or more).[0][0]
        && CrossBelow(EMA(Close,
        5), EMA(Open, 5), 1) <-- EMA(Close,5)[0] > EMA(Open,5)[0]
        && Close[
        0] > Open[0])
        {
        EnterLong(DefaultQuantity,
        "");
        }
        // Condition set 2
        if (CrossAbove(EMA(Close, 5), EMA(Open, 5), 1))
        {
        ExitLong(
        "", "");
        }

        See above for corrections. The MACD cannot be set to 12,26,1 with the standard MACD indicator and Avg can't be used since it would only be correct if you could use the 12,26,1. Also should be > MACD(12,26,2)[0][1].
        The Stochastics parameters are Stochastics(3,5,3).K[0]. The
        Stochastics(7, 14, 3).D[0] is what I was using to filter out the choppiness.
        Last edited by eDanny; 02-05-2009, 08:05 PM.
        eDanny
        NinjaTrader Ecosystem Vendor - Integrity Traders

        Comment


          #34
          Thank you eDanny- interessting idea with that filtering slower Stoch !

          Comment


            #35
            For anyone still visiting this thread, here is probably the last update on my version of the Force indicator. I added the option for colored candle triggers. Blue is a buy candle and Red is a sell candle. Green are neutral candles. Cyan and Magenta candles indicate either 3 of 4 conditions have been met, such as K line is higher than D line, black line D is rising, EMA dot is blue but Macd dash is still red. It can also indicate all systems go but the candle is a doji or closes in the wrong direction. Sometimes the candle will show a signal but the K line will still be green. That is a problem with stitching colored line segments together, it sometimes fails. The candle trigger will be right though. I also re-ordered the plots so the dots are always on top of the K line and looks cleaner. Have fun!

            Edit: Since some people like to use other indicators on their candles I added dots at the top of the indicator panel to show the long or short entry. Sheesh, it should be useful to just about anybody now.
            Attached Files
            Last edited by eDanny; 02-06-2009, 12:28 PM.
            eDanny
            NinjaTrader Ecosystem Vendor - Integrity Traders

            Comment


              #36
              eDanny,

              Cannot open or download your most recent Zip file.

              ""Invalid Attachment specified. If you followed a valid link, please notify the administrator ".
              RJay
              NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

              Comment


                #37
                I was just changing the file when you tried, try again.
                eDanny
                NinjaTrader Ecosystem Vendor - Integrity Traders

                Comment


                  #38
                  Originally posted by eDanny View Post
                  I was just changing the file when you tried, try again.
                  Perfect!!!

                  Thanks,

                  RJay
                  RJay
                  NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

                  Comment


                    #39
                    Very original implementation, eDanny, thanks.

                    Comment


                      #40
                      programming indicator

                      hi everybody
                      i am just asking if anyone know or can programme very simple indicator which is
                      volume *variation price on bar close

                      for example on the future 6E
                      volume is 850 contracts
                      for example price close is 1.2288and the next is 1.2295 so the variation will be 7
                      the calcul will be only 850*7= 5950
                      on the next bartime
                      volume is 920 contracts
                      the bar close is 1.2280 so the variation is 1.2280-1.2295=-15
                      the calcul is 920*-15= -13800
                      so if is is possible to writing the results on a graph like the rate of change
                      it will be perfect.

                      or it can be
                      volume* rate of change

                      I make it manually on excell but it take me very long time so it cannot be use on day trading.
                      If you want to know the use of this indicator please write me i will explain you how I believe it can be use but i need to backtest more to be sure .
                      It give a information on divergence. and give a information about reverse trend maybe


                      thank you
                      tanou

                      Comment


                        #41
                        Hi, tanou,

                        This thread is about programming for a method known as The Force, so perhaps your interesting idea should have its own thread ?

                        J.

                        Comment


                          #42
                          Originally posted by eDanny View Post
                          For anyone still visiting this thread, here is probably the last update on my version of the Force indicator. I added the option for colored candle triggers. Blue is a buy candle and Red is a sell candle. Green are neutral candles. Cyan and Magenta candles indicate either 3 of 4 conditions have been met, such as K line is higher than D line, black line D is rising, EMA dot is blue but Macd dash is still red. It can also indicate all systems go but the candle is a doji or closes in the wrong direction. Sometimes the candle will show a signal but the K line will still be green. That is a problem with stitching colored line segments together, it sometimes fails. The candle trigger will be right though. I also re-ordered the plots so the dots are always on top of the K line and looks cleaner. Have fun!

                          Edit: Since some people like to use other indicators on their candles I added dots at the top of the indicator panel to show the long or short entry. Sheesh, it should be useful to just about anybody now.
                          Thanks again EDanny good work

                          Comment


                            #43
                            Thanks eDanny for all the work

                            Comment


                              #44
                              As always, your indicators have a flair for the visual. Regardless whether anyone cares about 'The Force' or not this indicator could serve as a great template for which to base others on.

                              Good job.

                              Originally posted by eDanny View Post
                              For anyone still visiting this thread, here is probably the last update on my version of the Force indicator. I added the option for colored candle triggers. Blue is a buy candle and Red is a sell candle. Green are neutral candles. Cyan and Magenta candles indicate either 3 of 4 conditions have been met, such as K line is higher than D line, black line D is rising, EMA dot is blue but Macd dash is still red. It can also indicate all systems go but the candle is a doji or closes in the wrong direction. Sometimes the candle will show a signal but the K line will still be green. That is a problem with stitching colored line segments together, it sometimes fails. The candle trigger will be right though. I also re-ordered the plots so the dots are always on top of the K line and looks cleaner. Have fun!

                              Edit: Since some people like to use other indicators on their candles I added dots at the top of the indicator panel to show the long or short entry. Sheesh, it should be useful to just about anybody now.

                              Comment


                                #45
                                It seemed nobody was interested for awhile, but now... thanks for the kind words everybody.
                                eDanny
                                NinjaTrader Ecosystem Vendor - Integrity Traders

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                                0 responses
                                668 views
                                0 likes
                                Last Post Geovanny Suaza  
                                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                                0 responses
                                377 views
                                1 like
                                Last Post Geovanny Suaza  
                                Started by Mindset, 02-09-2026, 11:44 AM
                                0 responses
                                110 views
                                0 likes
                                Last Post Mindset
                                by Mindset
                                 
                                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                                0 responses
                                575 views
                                1 like
                                Last Post Geovanny Suaza  
                                Started by RFrosty, 01-28-2026, 06:49 PM
                                0 responses
                                580 views
                                1 like
                                Last Post RFrosty
                                by RFrosty
                                 
                                Working...
                                X