Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Additional position during reversal

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

    Additional position during reversal

    Hi, I created one strategy with strategy builder. It has sets
    1) Long entry conditions
    2) Long exit conditions
    3) Short entry conditions
    4) Short exit conditions

    Short exit and long entry conditions are almost same with minor differences. Usually both occurs at the same bar close.

    At the time of short exit and long entry, short position should be closed and long position should be open. System should take 2 long position, one to cover short and another to create a new long. But to my surprise, system took 3 long positions as stated below.

    1) buy to cover
    2) close position
    3) buy

    So now After closing of short position, now I have 2 long open positions instead of one.

    Seniors, please help.

    regards,
    Sid

    #2
    Hello sprithiani,

    Thanks for your post.

    Do not call Enter and Exit methods at the same time, as this is what causes the additional order to be submitted.

    If you want to reverse, call EnterShort when Long and EnterLong when Short.

    If you want to see if the strategy is long or short, please see below on how to make position checks.



    We look forward to assisting.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    81 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    149 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    79 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    52 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    59 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X