Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automated Trading

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

    Automated Trading

    GM,
    is there a procedure to follow when starting a running strategy?
    When I start a strategy, this strategy is already in a trade, and if some of the tgt has been filled, then I want to adjust my stop to a different level, and it always comes back to what i have program in the strategy.

    #2
    Originally posted by The Admiral View Post
    GM,
    is there a procedure to follow when starting a running strategy?
    When I start a strategy, this strategy is already in a trade, and if some of the tgt has been filled, then I want to adjust my stop to a different level, and it always comes back to what i have program in the strategy.
    Maybe you should try some suggestions, such as:

    1. Tell the Strategy that just perform and trade from the moment you start it on

    Use this instructions in the OnBarUpdate:

    Code:
    if (Historical) 
             return;
    2. Set an automatic StopLoss order using the Set method

    Code:
    SetStopLoss("", CalculationMode.Ticks, Quant, false);
    Where Quant in this example is the number of ticks where the order triggers.

    Comment


      #3
      Pstrusi, I don't know what this means what you just wrote. When I did this strategy, I didn't write it. I constructed it with the field that are already in the system.
      Ninja has someone working on this, bc it makes no sense what it does.When I start the strategy and 1 TGT as been filled trading with 2 contracts, after the first trade, the system puts on 3 contracts, so I have to manually remove that 1 contract for it to trade 2 contracts from then on. After that, everything is ok until I turn the system off again then turn it back on.

      TY

      Comment


        #4
        Now I see what you meant. At first, it seems the typical problem when programming an automated strategy; well then wait for the right solution from support.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        85 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        48 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        67 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X