Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

market flat. reset bool. per signal not strategy

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

    market flat. reset bool. per signal not strategy

    i have multiple sets in my strategy. and, my bools are set to reset if the market is flat. they have to do with stop limit entry orders being present. however, i had another set Long. so the entry criteria for the stop limit entry was present and caused an exit before it was supposed to. is there a way to check and see if current market position by entry signal name is market position flat. then, reset the bool from that?

    #2
    Hello SteveReiza,

    Thank you for your post.

    You cannot check a market position by a specific signal name. If your strategy enters any long position, the strategy's market position will be long. If your strategy's current market position is flat, this means it is currently not in a long (or short) trade.

    If the exit conditions were true before you meant them to be, you will likely need to add additional logic to prevent the exit happening when you aren't intending it to.
    Attached Files

    Comment


      #3
      thanks for the reply. alrighty. no sweat. appreciate the guidance.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Today, 05:17 AM
      0 responses
      20 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      119 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      63 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      41 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      45 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X