Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need help with programming ATMs

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

    Need help with programming ATMs

    Hi,

    I need some help with programming ATMs.

    Thanks in advance for your time and assistance.

    My strategies are as follow. Please see the attached images (couldn't get "insert image" to work) for what I have come up with so far but they don't seem to be working the way I intended.

    1) ATM trailing stop strategy
    Initial stop loss of 10 ticks
    no profit target
    move trailing stop to Breakeven +1 with a 5-tick profit trigger
    then auto trailing 6-ticks to exit


    2) Scale out strategy 1
    Total quantity 4 contracts

    Target 1
    Exit 2 contracts
    initial stop loss: 10 ticks
    profit target: 5 ticks
    move stop loss to breakeven plus one tick with profit trigger 5 ticks

    Target 2 (same as Target 3)
    Exit 1 contract
    initial stop loss: 10 ticks
    profit target: none
    move stop loss to breakeven plus one tick with profit trigger 5 ticks
    manually trail the stop to exit

    Target 3 (same as Target 2)
    Exit 1 contract
    initial stop loss: 10 ticks
    profit target: none
    move stop loss to breakeven plus one tick with profit trigger 5 ticks
    manually trail the stop to exit

    It seems that the system is combining Target 2 and Target 3 as a single exit order of two units.
    Is this so?

    I’d like to see Targets 2 and 3 as two separate orders.


    3) Scale out strategy 2
    Total quantity 4 contracts

    Target 1
    Exit 2 contracts
    initial stop loss: 10 ticks
    profit target: 5 ticks
    move stop loss to breakeven plus one tick with profit trigger 5 ticks

    Target 2
    Exit 1 contract
    initial stop loss: 10 ticks
    profit target: none
    move stop loss to breakeven plus one tick with profit trigger 5 ticks
    manually trail the stop to exit


    Target 3
    Exit 1 contract
    initial stop loss: 10 ticks
    profit target: none
    move stop loss to breakeven plus one tick with profit trigger 5 ticks
    then auto trailing stop 6 ticks to exit

    I don’t know if the targets need to be in sequence. In this strategy, Target 3 may be filled before Target 2.


    Thank you.
    Attached Files

    #2
    Hello,
    Thank you for writing to the support team.
    Your first ATM strategy is correct. The contracts for target 2 and 3 are runners and are treated the same when you close your position. You will need to specify a profit target for these targets to discretize them. For your other strategy, you need to specify a profit trigger and a frequency. The Stop loss field in Auto Trail refers to how many ticks below the current price it will be moved. So setting this to 1 would mean the stop will be moved 1 below the current price. The profit trigger is the profit at which this auto trail will activate, and the frequency is the number of ticks that needs to occur before it updates it again.
    So as an example, set Stop Loss to 6, Frequency to 1 and Profit trigger to 7. This means that after 7 ticks in profit the stop loss will be moved to 6 ticks below the current price, then after each tick in profit (frequency 1) after that, it will be moved up again to 6 below the current price.
    Here is a link to our ATM 301 webinar:
    Watch daily livestreams to learn how to trade futures. Tune in as NinjaTrader experts provide futures market analysis and trading tips. Join us today!

    Here is a link to our ATM 301 video on Youtube:
    Understand advanced order management strategies and add advanced features to your ATM strategies.Auto Break Even 4:35Auto Trail 5:31Simulated Stop 14:03Shado...

    Please let us know if we may be of any further assistance.
    Last edited by NinjaTrader_ChrisL; 06-15-2017, 02:24 PM.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by algospoke, Yesterday, 06:40 PM
    2 responses
    19 views
    0 likes
    Last Post algospoke  
    Started by ghoul, Today, 06:02 PM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    45 views
    0 likes
    Last Post jeronymite  
    Started by Barry Milan, Yesterday, 10:35 PM
    7 responses
    20 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by AttiM, 02-14-2024, 05:20 PM
    10 responses
    181 views
    0 likes
    Last Post jeronymite  
    Working...
    X