Announcement

Collapse
No announcement yet.

Signal clarity

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

  • Signal clarity

    Lots of times we are looking for signals and create colored bars/dots/etc to show the trade points.

    Here is a little snippet of a neat way I show the signals, in this case the indicator crosses up or down through a certain value.

    This code

    if(stoch1>pt2 && stoch<pt2){
    setBarBgColor( Color.lime );
    drawShapeRelative(+0, stoch, Shape.CIRCLE, null, Color.black, Shape.TOP|Shape.ONTOP);
    drawShapeRelative(-1, stoch1, Shape.CIRCLE, null, Color.black, Shape.TOP|Shape.ONTOP);
    }
    if(stoch1<pt8 && stoch>pt8){
    setBarBgColor( Color.red );
    drawShapeRelative(+0, stoch, Shape.CIRCLE, null, Color.black, Shape.TOP|Shape.ONTOP);
    drawShapeRelative(-1, stoch1, Shape.CIRCLE, null, Color.black, Shape.TOP|Shape.ONTOP);
    }

    produces this chart effect
    Attached Files

  • #2
    I was just looking into doing this with combining multiple indicators to give one signal. For example using stochastics, CCI, RSI, MACD, etc.

    FIbbgann
    Excellent book on JavaScript for beginners

    Comment


    • #3
      I was just looking into doing this with combining multiple indicators to give one signal. For example using stochastics, CCI, RSI, MACD, etc.

      Need any help FibbGann?

      I am looking to help someone who is interested in posting the results on eSignal with a speific trading signal(s)

      Comment


      • #4
        Sure, can always use the help! Right now I am crunching on the new mouse functions. I came to the decision of just going with CCI, RSI, Stochastics. Was just going to use the general buy sell theory of each (users can change the parameters to there liking) and have them displayed with setBarBgColor/setBarFgColor.
        Having the signals when all 3 signals are inplay. It's always nice to throw out a few new efs's for everyone.

        Thanks Dloomis

        Fibbgann
        Last edited by FibbGann; 12-13-2003, 02:04 PM.
        Excellent book on JavaScript for beginners

        Comment


        • #5
          Let's see...

          CCI entry signal is usually a cross over 100 for long, cross under -100 for long signal

          RSI - long signal cross up over 30, short signal cross under 70

          Stoch - long signal Xup 20, short signal xDown 80.

          So do you wait for all three to signal in the same direction before a signal is confirmed?

          Comment


          • #6
            Well going to have to trial and error this one, but yes you have the params right. was going to try it the way you stated then backtest it. Then maybe try a triple color combination. For example. If 2 signals were go use green for long or if 3 were a go use Lime. Not quite sure how to approach this. Looks like a trail and error process. Hope this is not to confusing, my brain is not cooperating with me this weekend.

            Fibbgann
            Last edited by FibbGann; 12-13-2003, 02:20 PM.
            Excellent book on JavaScript for beginners

            Comment


            • #7
              Here is how I would find the combination of signals you referenced, red bars are short signals, green are long....

              (Sorry - it's kinda hacked up, but the concept is in there. WHat I do is keep track of each indicator's status, if it is signally long I flag it with a value of 1, signalling short gets a value of -1. When the three signals add up to 3, bingo, that's a long.

              That handles the entry signals, what's the exit signals?
              Attached Files

              Comment


              • #8
                The exact opposite would be the exit (short) signals. Not a solid way to look at it, but, it a nice helper for those.

                Fibbgann
                Excellent book on JavaScript for beginners

                Comment


                • #9
                  so you continue with the long signal til a short signal comes along?

                  Comment


                  • #10
                    I like your idea better! Do you have an efs that does that process instead of cluttering up the chart? Was just trying to load up some more efs's on my original theory for the board members.

                    I was'nt having much luck with the Themometer.efs for flagging. Maybe I should just hand up my gloves for the weekend. LOL
                    (yeah right)

                    Fibbgann
                    Last edited by FibbGann; 12-13-2003, 03:04 PM.
                    Excellent book on JavaScript for beginners

                    Comment


                    • #11
                      The signal are just the initial marker. Just imply all conditions have been met. Ideally one cannot use this indicator to go long and then short when the signal changes.(Entry suppot signals) In my theory a short signal would be more likely

                      RSI over 90

                      CCI over 120

                      Stochatics over 90

                      Fibbgann
                      Last edited by FibbGann; 12-13-2003, 03:03 PM.
                      Excellent book on JavaScript for beginners

                      Comment


                      • #12
                        See attached for the three oscillators, rsi cci and stochastic signaling long and short.

                        Added the variables for the entry exit signals, and cleaned up the code.

                        Think you can track how this does and then we adjust the parmeters to fit the situation?

                        What symbol should we use?
                        Attached Files

                        Comment


                        • #13
                          Sure can... I was thinking maybe the e-minis? what intervals do we want to track?

                          Fibbgann
                          Excellent book on JavaScript for beginners

                          Comment


                          • #14
                            Re: Reply to post 'Signal clarity'

                            That was my next question to you

                            How about 5 minutes es h4 for starters?

                            Can you post a chart for others to download so they can 'sing along' at
                            home?

                            >

                            Comment


                            • #15
                              Re: Reply to post 'Signal clarity'

                              Fibb Gann

                              How about this question? I think the option to control the individual
                              parameters should be there.

                              if(cciL==null) cciL = +100;
                              if(cciS==null) cciS = -100;//is this just (-cciL) ?

                              if(rsiL==null) rsiL = + 30;
                              if(rsiS==null) rsiS = + 70;//is this just (100-rsiL) ?

                              if(stochL==null)stochL = + 20;
                              if(stochS==null)stochS = + 80;//is this just (100-stochL) ?


                              ----- Original Message -----
                              From: <[email protected]>
                              To: <[email protected]>
                              Sent: Saturday, December 13, 2003 5:11 PM
                              Subject: Reply to post 'Signal clarity'


                              > Hello dloomis,
                              >
                              > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                              >

                              Comment

                              Working...
                              X