Announcement

Collapse
No announcement yet.

A Question

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

  • #16
    thanks steve

    garth beat you with the variable answer but your reply has helped me better understand "boolean"

    Comment


    • #17
      Garth...

      Shogun is one of my clients.. I wrote the script for him and it was my "poorly picked variable name" that you were commenting about....

      For clarification. I use the following...

      Strategy.is??? for Back-test code
      Strategyis??? for real-time execution code..

      Why, you may ask??? Simple, the conversion of the logic from one (BT code) to the other (RT code) is simplified when I do this. Plus, the exclusion of the "." and "()" is simple to replace with a search/replace function.

      I hope this clears it up a bit. Just my simple little brain working to simplify the structures of two types of EFS code.

      B
      Brad Matheny
      eSignal Solution Provider since 2000

      Comment


      • #18
        Brad,

        Sorry, no offense intended, the only reason I new about it as well as I did was because I cut my teeth in this platform with your code and had made the same mistake myself. It was certainly not intended as a criticizm of your code or coding ability which is at a very high level and very good (or is it very.good() = true ). BTW, I see your point about using the global replace functions.

        Regards,

        Steve

        Comment

        Working...
        X