Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EXIT MANAGEMENT WITH 3 or more CONTRACTS in E-MINI

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

    EXIT MANAGEMENT WITH 3 or more CONTRACTS in E-MINI

    Dear Suppor Team,

    I am trying to developing an EXIT system that works in the MiniS&P500 futures. The basis are the following:

    We will work with 3 contracts (order quantity = 3).

    1) We exit the first contract when the profit is +1,25 points (5 ticks).
    2) We exit the second contract when EMA(3)[0] crosses the EMA(5)[0] in the opposite direction of the trade or if the profit is +3 points (12 ticks).
    3) We exit the third contract also when the EMA(3)[0] crosses the EMA(5)[0] in the opposite direction of the trade or if the profit is +5 points (20 ticks).

    The STOPLOSS will be set initially to 2 points (8 ticks) for the 3 contracts. But for the 2nd and 3rd contracts it will be moved to 0,25points (1 tick) in the direction of the trade if the profit is +2 points (8 ticks).

    In any case we close all positions if EMA(3)[0] crosses the EMA(15)[0] in the opossite direction of the trade.

    Is there any example whre I can see to better understand how to do the above?.

    Thanks in advanced.

    Regards,
    Sangui

    #2
    Sangui,

    Here is a reference sample of "Scaling out of a position".



    You could adapt it to use your conditions.

    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Dear Adam,

      OK, now I have it clear. But I have another question:

      In order to be able to test the results and if my strategy works properly, is there any way to display the STOPLOSS orders?. I can only see where they are when the price touchs them, but I would like to see the STOPLOSS in the sameway or similar as doing livetrading manually. Maybe there is some function that I can add in the " protected override void Initialize()" section like DisplaySTOPORDERS=true or something similar.

      Thanks for your support.

      Regards,
      Jose

      Comment


        #4
        Hello,

        There is not a method for displaying the stop loss in backtesting or in the chart.

        You can us DrawLine() to represent where your Stop losses are being placed.

        If you are live trading, you can always open a second chart without a strategy enabled, and enable Chart Trader to see where the stops are working.
        MatthewNinjaTrader Product Management

        Comment


          #5
          That's is a perfect solution for me to test it.

          Thanks

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by ScottWalsh, Today, 06:52 PM
          3 responses
          18 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by trilliantrader, Today, 03:01 PM
          2 responses
          17 views
          0 likes
          Last Post helpwanted  
          Started by cre8able, Today, 07:24 PM
          0 responses
          1 view
          0 likes
          Last Post cre8able  
          Started by Haiasi, Today, 06:53 PM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by ScottW, Today, 06:09 PM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Working...
          X