Announcement

Collapse
No announcement yet.

3LB Charts and current price..

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 3LB Charts and current price..

    Is there a way (within EFS) to pull the current "trading price" of the symbol from a 3LB chart??

    There is a way to get the OPEN, HIGH, LOW and CLOSE of the 3LB bars, but I'm looking to pull the price (trading price) behind the chart - the LAST PRICE of the symbol??

    Thanks,

    Brad
    Brad Matheny
    eSignal Solution Provider since 2000

  • #2
    possible solution...

    I guess I could simply use...

    getValue..

    to retrieve the trading price - huh?? Never thought about it - but it should work. Just pass the proper parameters and away I go..

    B
    Brad Matheny
    eSignal Solution Provider since 2000

    Comment


    • #3
      nope...

      my "guess solution" does not work..

      Any help would be appreciated..

      B
      Brad Matheny
      eSignal Solution Provider since 2000

      Comment


      • #4
        Brad
        Did you try getMostRecentTrade()
        Alex

        Comment


        • #5
          Brad,

          Using close() should work t get the most recent trade (after you make sure you are at bar 0).

          I have two studies that run under 3PB and this seems to work fine (or used to, I haven't run them in two or three releases now).

          Garth
          Garth

          Comment


          • #6
            Thanks...

            Garth,

            I have tried it. It does not work. It reports the current close of the 3LB bar - not the actual trading price of the symbol.

            Hoping for a solution...

            Brad
            Brad Matheny
            eSignal Solution Provider since 2000

            Comment


            • #7
              Thanks Alex...

              That did the trick...

              Once again, you "are the man".

              BTW, I talked to a guy yesterday who needed help importing Excel data into esig. I sent him over to the "Triple screen" thread for both our examples. He seemed pleased and started digging through it.

              Thanks again.

              B
              Brad Matheny
              eSignal Solution Provider since 2000

              Comment


              • #8
                Re: Thanks Alex...

                Brad,

                I'm new to eSignal and the EFS language. Could you post the formula you came up with for showing the current trading price for the 3LB chart? I use the 3LB charts and that would be a helpful feature to add to my charts.

                Thanks in advance,
                Rusty

                Comment


                • #9
                  Rusty
                  While waiting for Brad's reply you may want to try the attached efs.
                  It will plot a simulated up (cyan) or down (magenta) box while showing you where the market is currently trading (blue arrow) and providing you the value needed for a reversal.
                  The efs could probably use some refinements but should give you some ideas as to what can be done.
                  Alex

                  Attached Files

                  Comment


                  • #10
                    My Formula...

                    Actually, Alex found the key to my success.....

                    the getMostRecentTrade() function allowed me to pull the current "Trading Price" into my EFS file...

                    It solved all my problems...

                    I just created a variable and assigned it to getMostRecentTrade()

                    like..

                    var LastTrade = getMostRecentTrade();

                    Then I can use/plot this value anywhere in my code.

                    Brad
                    Brad Matheny
                    eSignal Solution Provider since 2000

                    Comment

                    Working...
                    X