Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Position Aware

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

    Position Aware

    Hi there,

    Hope you guys are doing well,

    I have some stratgies that are long only, that sometimes I deactiavte and when I re activate they are in a long position already, so when the sell signal hits it goes short.

    What can I do to to have the strategy go long only when the position is sold and another long signal appears ? I have came across a code that might reflect on the real account the actual position such as position aware or something like that but can't remember exactly.

    Appreciate your help.

    Thanks,

    #2
    Hello moewqasem,

    When you deactivate and re active a strategy it will process all bars up to that point as historically which it could place historical trades. For a strategy to accurately know what to do it would need to place the historical trade and then use its exit logic to close the position before working in realtime. That is the default start behavior wait until flat. If you have another start behavior selected you would have to use the descriptions in the help guide to ensure your strategy is programmed to support that behavior. You can read about each of the behaviors in the following link:



    Comment


      #3
      Hello Jesse,

      I think that Adopt Position Aware is going to work for me,

      Appreciate your response.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      134 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      67 views
      0 likes
      Last Post PaulMohn  
      Working...
      X