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 Brevo, Today, 01:45 AM
        0 responses
        3 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        239 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        6 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Working...
        X