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.

snoop

Members
  • Content Count

    4
  • Joined

  • Last visited

Everything posted by snoop

  1. Another pivot study post.... i know, but please hear me out. I've seen numerous pivot studies in the archives but they all suffer the same issue that I don't know how to resolve. I'm hoping someone can help me. The day high, low and session close are used in the calculation, and it works fine for ES or YM, as their open and close are in the same day. But I'd like to calculate 24hr pivots based on the session open and close ie. Oil, from yesterday @ 18:00 to today @ 17:15. HighD, LowD and CloseD work on a midnite to midnite basis where as I believe it should be based on the true trading sessions. I use multicharts which is effectively tradestation code, but I have no idea how to handle the overlap of previous day with part of today. I've looked for sample code that tackles the issue indirectly but no luck. Any help would be much appreciated. The code I'm using now is: http://www.traderslaboratory.com/forums/f46/soultraders-pivots-tradestation-488.html And I input the data manually but its tedious after a long day. Otherwise, I like the way this works, though I'd love to have historical plots as well, in a perfect world. Sincerely, T
  2. Thanks for the tip. Is it possible to calculate pivots on a 24hr basis, but from 1630 prev day to 1615 today? I'm early in learning EL so forgive me if its a simple question. Thanks.
  3. Squeeze Indicator | ThinkScripter Thinkscripter has a bunch of free code for TOS
×
×
  • Create New...

Important Information

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