Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop limit offset

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

    #16
    Hi, if I want to use Negative Offsets on Stop Limit order for Entering a Trade, example: I want to long at break out. Resistance at 77.7 and market is rising from below 77.7. I set offset of -5 to put a limit order to long at 77.2 when market touch 77.7 and retrace to 77.5. I can do this easily using Superdome by setting StopLimit with Stop=77.7, Limit price offset -5. I was using ATM with this.

    But for NT7 script, it seems to give me error when I set:

    bLnATM_ConfigOK = AtmStrategyCreate(OrderAction.Buy, OrderType.StopLimit, (dBlEntryTrigLvl - dBlEntry_LimitDeltaLvl), dBlEntryTrigLvl, TimeInForce.Day, sTrATM_OrderID, sTrATM_TemplateName, sTrATM_StrtgyID);
    where dBlEntryTrigLvl = 77.7, dBlEntry_LimitDeltaLvl=5 for this example.

    when executed, it gave me an error "Limit price can;'t be smaller than stop price. affected order: Buy 2 StopLimit @ 77.7x77.5". If I set dBlEntry_LimitDeltaLvl=0, there is no issue. The interesting thing is that earlier I tested this, it worked well with negative offset... but now it keep giving me error... not sure what happen. Any suggestion?

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    35 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    130 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    184 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    95 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    138 views
    0 likes
    Last Post cmoran13  
    Working...
    X