Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Assigning Time to entry and indicator

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

    Assigning Time to entry and indicator

    I am using strategy builder, is it possible to assign a variable to the time of entry? and the time the swing indicator creates a new low or high? Example of what im trying to do going long. If the swing low is created after my entry time then move my stop to the low of that swing.

    Asking the question in different way, can you retrieve the time of something on strategy builder and assign it to a variable?

    #2
    Hello jpgombot,

    Using time in the builder i fairly limited, while you can set a time variable you cannot set a variable to a dynamic value like the current series time, you have to know a specific time. For example lets say your swing condition becomes true and you want to save the current time at that point, that would require manual coding. You could set a specific time, for example if your condition is checking if the bar time is 9:30 to make the condition true, when it does come true you could set a variable to another predetermined time like 10:30 as an example.

    Most time operations in the builder would revolve around comparisons, like checking if a bar time is equal to a predefined time or checking if a bar time is within a time window. For more complex time operations that would require manual coding.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    100 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    156 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    84 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    57 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    73 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X