Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

Skyler

Members
  • Content Count

    2
  • Joined

  • Last visited

Personal Information

  • First Name
    Mark
  • Last Name
    Schuyler
  • Country
    United States

Trading Information

  • Vendor
    No
  • Trading Platform
    MultiCharts
  1. Hi all. I'm new to TL but not to trading and am looking for a bit of direction pointing for some sample code to mimic in my works. I am trying to get some direction for some code samples to follow (not a coder by profession...but can get by with some example formats). The values I am trying to compare are pulled off of time frame bars. The values cycle through a Positive half cycle to a Negative half cycle and each half cycle has an unknown number of bars. The bars required will have a set number from the emini market open to close, so I assume a controlled dynamic array can be used, or a standard array with, say 100 indexes for 5 minute bars for example. Then the arrays will have to be cleared and reset for continued cycles once the values from the 1st complete cycle are captured for storage in another array for use in calculations. And this cycling continues from market open to close, so cycle, store the positive half cycle and pass to "storage array-index 1", then store the negative half cycle and pass to "storage array-index 1", clear and reset the "positive and negative cycle" arrays and continue the process for the day. Any direction to such an indicator or code example would be greatly appreciated. Thanks
  2. Hi all...this is my first post and was curious if anyone can point me in the direction of some code, or indicator that would store a maximum Positive High value and when the value goes to a maximum Negative Low, store that value so I could compare the absolute maximum positive to the negative for use in decision making? I use time frame bars (1-30 minutes) and the values can be positive or negative for as many unknown number of time frame bars as the emini market is open. So, I assume the use of a dynamic array would be used to store the Positive values and a second array to store the Negative values then compare the two values, use that information in the indicator/strat, and clear the arrays once the move completed a Pos/Neg cycle and repeat the loading array cycle until the stoptime is reached? :question: Any help would be greatly appreciated. Thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.