Announcement

Collapse
No announcement yet.

time of day based rules

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

  • time of day based rules

    if i wanted to trade a security based on:
    if the price at 11:30 is greater or equal to the price at 11:00, then go long - then close position at 4:00.
    if the price at 11:30 is less than the price at 11:00, then go short - then cover position at 4:00.

    any assistance would be great - i'm new to esignal.

  • #2
    Hello 113slater,

    Welcome to the eSignal forums. To begin learning how to develop formulas in EFS, please start with the Beginner Tutorial Series in the EFS KnowledgeBase. If you are new to programming, please review our JavaScript for EFS video series to learn the basics of this language, which is the foundation for EFS.

    Once you have an understanding of the EFS basics and you begin developing this formula you could use the hour() and minute() functions to find the specific bars based on the start times. To access the close values of the bars you would use the close() series function.

    If you run into some specific coding questions, please post them here along with the code you're working with.
    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

    Working...
    X