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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    93 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    138 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
    123 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    73 views
    0 likes
    Last Post PaulMohn  
    Working...
    X