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 NullPointStrategies, Today, 05:17 AM
      0 responses
      53 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      130 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      70 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      44 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      49 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X