Announcement

Collapse
No announcement yet.

$highfive for NASDAQ

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

  • $highfive for NASDAQ

    Anyone want to take a look at this. I was trying to modify the Highfive.efs for the nasdaq. I keep getting an error on line 295 and it makes no sense to me. It lines up with the original as far as I can see. Maybe someone else will see what I don't.

    Fibbgann
    Excellent book on JavaScript for beginners

  • #2
    FibbGann
    There are two errors.
    First you need to change Line 121 to
    function getTRINQState(vTRINQ) {
    then change Line 146 to
    function getTICKQState(vTICKQ) {
    That should do it
    Alex

    Comment


    • #3
      FibbGann
      Found another two errors (I think)
      Change Line 660 to
      drawTextPixel(nColTRINQ, nY,
      and Line 670 to
      drawTextPixel(nColTICKQ, nY,
      Alex

      Comment


      • #4
        Oh and by the way do you want to take care of the reservations at Le Cirque for David and me or shall I do it?
        Jokes aside, I am not positive the prior suggested fixes will take care of intrinsic problems (if any) that could still be in the formula, all they do is fix the errors returned so you may want to double check the signals.
        Have a good weekend
        Alex

        Comment


        • #5
          Which one Alex?

          Fibbgann
          Excellent book on JavaScript for beginners

          Comment


          • #6
            How are you going to determine what levels to use for the Nasdaq? They surely will be different. Also what stock will you use as a Nasdaq replacement for MER?

            Comment


            • #7
              When I am done you will know.

              Fibbgann
              Excellent book on JavaScript for beginners

              Comment


              • #8
                How do you change the font size?

                I figured it out...


                PHP Code:


                    
                if (bEdit == true) { nFontSize Math.round(inputFontSize); }

                    
                drawTextPixel(nColMERnY,
                        
                "-1.50 or more",
                        
                getAtOrBelowRangeFG(vMER, -1.5STATE_BEARUGLY),
                        
                getAtOrBelowRangeBG(vMER, -1.5STATE_BEARUGLY),
                        
                Text.FRAME Text.CENTER Text.VCENTER,
                        
                null,
                        
                nFontSize,
                        
                "bearugly6"
                        
                nColWidth, -2); 
                Needed the FontSize parameter!
                Attached Files

                Comment

                Working...
                X