Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy defining stops

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

    Strategy defining stops

    I have a EnterLongStopLimit . I was wondering if I have to change the price point on the EnterLongStopLimit how do I change the price.

    EnterLongStopLimit( nNumberOfContracts,MyCloudLine[0], Low[0] - dStopLossFromChartinTicks*TickSize, "Long");

    If I leave this statement the order will work. A few bars later it will cancel the order. The bar after it will re submit.

    If the price point ,MyCloudLine[0] changes in price do I cancel my order and resubmit or do I just use the same statement.

    EnterLongStopLimit( nNumberOfContracts,MyCloudLine[0], Low[0] - dStopLossFromChartinTicks*TickSize, "Long");



    #2
    Now I have another question

    This Scenario works
    EnterLongStopLimit(nNumberOfContracts,MyCloudLine[0],MyCloudLine[0] - nBaseLineTickOffset*TickSize,"BaseLineLong");
    vs
    This gives an error.
    EnterLongStopLimit(nNumberOfContracts,MyCloudLine[0],Low[0] - nBaseLineTickOffset*TickSize,"BaseLineLong");

    Is it better to wait the order to be filled and then add a stop?

    When the order is filled I want the stop to be the candle low - 3 Ticks;

    Comment


      #3
      Hi ballboy11, thanks for your question.

      If you call the same order method with the same signal name the order will be "Changed" to the new price rather than "Canceled, then replaced".

      It appears you are talking about a stop-loss order but the method posted is submitting a Buy Stop Limit order which would be different than a Stop Loss that exits a position for you. A Buy Stop Limit order must have a stop and limit price above the market.

      We have an example here that shows how to apply protective orders to open positions:


      Please let me know if I can assist any further.

      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
      135 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
      69 views
      0 likes
      Last Post PaulMohn  
      Working...
      X