Announcement

Collapse
No announcement yet.

Different Color Bars on different times

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

  • Different Color Bars on different times

    I am trying to find out if anyone has a system that will allow me to set a different color bar for different times of the trading day. If you have this or know of one, please let me know.

    For example, 9:30 to 10:30 = blue bars - 10:30 to 12:00 green bars - 12:00 to 2:00 red bars, etc.

    Thank you,

    Ned

  • #2
    Ned
    The attached efs was created with Formula Wizard which you can use to edit/modify according to your needs.
    Alex

    Attached Files

    Comment


    • #3
      Re: Reply to post 'Different Color Bars on different times'

      ALEX, HOW DO I EDIT THE TIMES & COLORS?
      Best Regards

      Ned L. Huggins
      Ph-843-386-3848
      !







      ----- Original Message -----
      From: <[email protected]>
      To: <[email protected]>
      Sent: Tuesday, July 29, 2003 7:13 PM
      Subject: Reply to post 'Different Color Bars on different times'


      > Hello NHUGGINS,
      >
      > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      >

      Comment


      • #4
        Ned
        Use the Formula Wizard to open the efs and there you can edit the times, colors, etc in each of the conditions.
        Alex

        Comment


        • #5
          Re: Reply to post 'Different Color Bars on different times'

          ALEX, HOW DO I ADD 4 MORE SETS TO FORMULA WIZARD?
          Best Regards

          Ned L. Huggins
          Ph-843-386-3848







          ----- Original Message -----
          From: <[email protected]>
          To: <[email protected]>
          Sent: Tuesday, July 29, 2003 8:27 PM
          Subject: Reply to post 'Different Color Bars on different times'


          > Hello NHUGGINS,
          >
          > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          >

          Comment


          • #6
            Ned
            Just keep on adding Sets (each set being a condition). When you click on the last one available a new empty opne will be formed for you.
            May I also suggest that you go to the EFS Help Center and Library (link provided below) and go through the Formula Wizard Guide.
            Alex

            Comment


            • #7
              'Different Color Bars on different times---HOW TO SET COLORS FOR UP--GREEN, DOWN--RED--ON REMAINING

              HOW DO I SET COLORS ON REMAINING BARS??
              Best Regards

              Ned L. Huggins
              Ph-843-386-3848

              ----- Original Message -----
              From: <[email protected]>
              To: <[email protected]>
              Sent: Tuesday, July 29, 2003 9:29 PM
              Subject: Reply to post 'Different Color Bars on different times'


              > Hello NHUGGINS,
              >
              > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              >

              Comment


              • #8
                Ned
                There are a couple of ways of doing it. One requires that you open the formula with Editor and add the following line in preMain()
                setDefaultPriceBarColor(Color.black);
                That sets the default color to be used when none of the conditions match.
                An easier way is shown in my original code. As the last condition (Set) I used
                1==1
                setPriceBarColor(Color.black)
                In other words if none of the prior conditions match and if 1 is equal to 1 - which is always true - then paint the bars in black
                Alex
                Last edited by ACM; 08-03-2003, 03:36 AM.

                Comment


                • #9
                  Re: Reply to post 'Different Color Bars on different times'

                  NEED HELP TO CORRECT SYNTAX ERROR IN LAST SET---WHICH SETS COLOR FOR ALL
                  BARS NOT IN THE SETS.
                  Best Regards

                  Ned L. Huggins
                  Ph-843-386-3848

                  ----- Original Message -----
                  From: <[email protected]>
                  To: <[email protected]>
                  Sent: Wednesday, July 30, 2003 5:52 PM
                  Subject: Reply to post 'Different Color Bars on different times'


                  > Hello NHUGGINS,
                  >
                  > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  >

                  Comment


                  • #10
                    Ned
                    Look at Set5 in the efs I attached in one of the early messages of this thread.
                    Also you did not post any formula. If you are attaching the efs while replying with your email client you cannot do that. To attach files you need to be online
                    Alex

                    Comment


                    • #11
                      Reply ----SETTING ALL OTHER BARS TO UP-GREEN, DOWN RED EXCEPT THE OTHER TIME SETS.

                      ALEX, HOW DO I SET ALL OTHER BARS TO UP--GREEN, DOWN--RED, EXCEPT THE OTHER
                      TIME SETS?
                      Best Regards

                      Ned L. Huggins
                      Ph-843-386-3848

                      ----- Original Message -----
                      From: <[email protected]>
                      To: <[email protected]>
                      Sent: Wednesday, July 30, 2003 5:52 PM
                      Subject: Reply to post 'Different Color Bars on different times'


                      > Hello NHUGGINS,
                      >
                      > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      >

                      Comment


                      • #12
                        Ned
                        I have no idea as to how the formula has evolved at this point so it depends.
                        In general though you would create another two sets where you define the time block(s) not included in the prior sets and in one of the two you will use if close()>close(-1) then color the bar green and in the other if close()<close(-1) color the bar red.
                        Alex
                        Last edited by ACM; 08-13-2003, 02:44 PM.

                        Comment


                        • #13
                          Re: Reply to post 'Different Color Bars on different times' GO TO SET #9

                          ;
                          charset="iso-8859-1"
                          Content-Transfer-Encoding: 7bit

                          SET # 9 IS ALL THE OTHER BARS BESIDES THE TIME SET BARS----THESE BARS ARE
                          ALL SET ON GREEN NOW--SO HOW DO I PROGRAM SET #9 FOR UP BARS--GREEN, DOWN
                          BARS--RED?
                          SET #9 ATTACHED HERE.

                          Best Regards
                          Ned L. Huggins
                          Ph-843-386-3848

                          ----- Original Message -----
                          From: <[email protected]>
                          To: <[email protected]>
                          Sent: Wednesday, August 13, 2003 5:41 PM
                          Subject: Reply to post 'Different Color Bars on different times'


                          > Hello NHUGGINS,
                          >
                          > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          >

                          Comment


                          • #14
                            Ned
                            As I have already mentioned in another message in this same thread if you are posting messages by replying with an email client then the attachments do not get posted.
                            Hence this message of yours has no attachment.
                            You need to be online in the Bulletin Board if you want to attach files to messages.
                            Alex

                            Comment


                            • #15
                              Re: Reply to post 'Different Color Bars on different times'

                              ALEX, PLEASE PROVIDE A PH. NO. AND TIME TO CALL SO WE CAN STOP WASTING
                              EVERYBODY'S TIME WITH INADEQUATE COMMUNICATIONS---CALL CAN BE BRIEF--WE CAN
                              GET THE JOB DONE QUICKLY---THANKS FOR YOUR HELP---NED
                              Best Regards
                              Ned L. Huggins
                              Ph-843-386-3848


                              ----- Original Message -----
                              From: <[email protected]>
                              To: <[email protected]>
                              Sent: Thursday, August 14, 2003 6:09 PM
                              Subject: Reply to post 'Different Color Bars on different times'


                              > Hello NHUGGINS,
                              >
                              > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                              >

                              Comment

                              Working...
                              X