Announcement

Collapse
No announcement yet.

reloadEFS();

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

  • reloadEFS();

    HI,
    I have written some EFSs and find that when I click on reload, the lines often change. I'm trying to set this up automatically to happen every 3 bars or so. How can I do this?
    Thanks, Jack

  • #2
    Jack
    That is usually an indication of incorrect programming logic and reloadEFS() is not the solution (besides being a dangerous command to use ).
    Post one of the scripts that has this problem and someone may be able to assist you
    Alex

    Comment


    • #3
      Hi Alex,

      Thanks for the reply. What happens is that I use different tickers (on Forex) in the same interval to make an EFS line. I know from communicating to you in the past that the first ticks on each symbol will not all come at the same time. Hence, the change in the line when I reload the efs.

      When we communicated in the past and you explained this to me, I think we then determined that the reloadEFS() was not the answer.

      Can you think of a way of doing this, so that I don't have to reload manually every few minutes?

      Thanks, Jack

      Comment


      • #4
        Hello Jack,

        This sounds like the same issue we explored previously in this thread. Please review the code solution I provided that uses a setBar() routine as the alternative to reloadEFS().
        Jason K.
        Project Manager
        eSignal - an Interactive Data company

        EFS KnowledgeBase
        JavaScript for EFS Video Series
        EFS Beginner Tutorial Series
        EFS Glossary
        Custom EFS Development Policy

        New User Orientation

        Comment


        • #5
          Hi Alex,

          Thanks. I've gone back to that thread and printed it out. I'll have to look it over to make sure I understand it, but I think it's the solution I need.

          Your help is really appreciated.

          Thanks, Jack

          Comment


          • #6
            In the last reply, I should have written Jason.

            So, Alex and Jason, thank you both. Thank you very much.

            Best, Jack

            Comment

            Working...
            X