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 Haiasi, 04-25-2024, 06:53 PM
        2 responses
        17 views
        0 likes
        Last Post Massinisa  
        Started by Creamers, Today, 05:32 AM
        0 responses
        5 views
        0 likes
        Last Post Creamers  
        Started by Segwin, 05-07-2018, 02:15 PM
        12 responses
        1,786 views
        0 likes
        Last Post Leafcutter  
        Started by poplagelu, Today, 05:00 AM
        0 responses
        3 views
        0 likes
        Last Post poplagelu  
        Started by fx.practic, 10-15-2013, 12:53 AM
        5 responses
        5,408 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Working...
        X