NexusFi: Find Your Edge


Home Menu

 





Custom ATM Strategy for TP and SL


Discussion in NinjaTrader

Updated
    1. trending_up 3,310 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
nitrous
Chicago, IL
 
Posts: 3 since Nov 2022
Thanks Given: 2
Thanks Received: 0

Hi Guys, Im fairly new to Nt8 and was figuring out, on how to use input the below custom ATM strategy settings into Nt8 as below:

TP1: Take 1/4 profit @ 1:1
Move Stop loss to breakeven

TP2: Take 1/2 profit
Move Stop loss to TP1 value

Tp3: Take 3/4 profit
Move Stop loss to TP2 value

Tp4: Take 100% profit
Move Stop loss to TP3 value

I cant seem to figure the correct settings for tick based charts, so any help to create a custom ATM setting for the above would be great.

Thanks


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
CFTC Requests Tag 50 Trader Identity Data From CME and I …
Traders Hideout
CFTC Rewrites the Rulebook -- Kalshi Cracks $1B Non-Spor …
Prediction Markets & Event Contracts
Energy Futures Shatter All-Time Daily Volume: 8.3 Millio …
Commodities
More Than Capable: Hegseths War Warning Validates $114M …
Prediction Markets & Event Contracts
One Wallet Made $200K in Hours: AP Probes Polymarket Cea …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 BERN Algos 
Bologna Italy
 
Experience: Advanced
Platform: nt8
Broker: NinjaTrader
Trading: futures
Posts: 58 since Jun 2022
Thanks Given: 12
Thanks Received: 54


nitrous View Post
Hi Guys, Im fairly new to Nt8 and was figuring out, on how to use input the below custom ATM strategy settings into Nt8 as below:

TP1: Take 1/4 profit @ 1:1
Move Stop loss to breakeven

TP2: Take 1/2 profit
Move Stop loss to TP1 value

Tp3: Take 3/4 profit
Move Stop loss to TP2 value

Tp4: Take 100% profit
Move Stop loss to TP3 value

I cant seem to figure the correct settings for tick based charts, so any help to create a custom ATM setting for the above would be great.

Thanks

This is the closest thing I was able to create.
Mixing auto breakeven and auto trail
16 ticks/step.
Copy and Paste into \NinjaTrader 8\templates\AtmStrategy



Attached Thumbnails
Click image for larger version

Name:	image_23.png
Views:	204
Size:	68.2 KB
ID:	328134  
Attached Files
Elite Membership required to download: ATM FourSteps .xml
Reply With Quote
Thanked by:
  #3 (permalink)
nitrous
Chicago, IL
 
Posts: 3 since Nov 2022
Thanks Given: 2
Thanks Received: 0


This is great.

I didnt see a folder call ATMStrategy, so I created that under \NinjaTrader 8\templates\, restarted NT8, and I dont see this custom strategy under ATM strategy under chart trader.

Let me know what I am doing wrong.

Found the folder, it was under C:\Users\%username%\Documents\NinjaTrader 8\templates\AtmStrategy


Reply With Quote
  #4 (permalink)
nitrous
Chicago, IL
 
Posts: 3 since Nov 2022
Thanks Given: 2
Thanks Received: 0

Tested this strategy, for some reason it doesn't do what I am looking for:

The ATM settings are this from the XML file:

4 Orders
TP1: 16
SL: 16

TP2: 24
SL: 16

TP3: 32
SL: 16

TP4: 64
SL: 16

If 1 point is 100% profit (i.e 4 ticks), shouldn't the TP1 be 1, TP2: 2, TP3: 3 etc?

I am new to ticks, so maybe I am interpreting it totally wrong.


Reply With Quote
  #5 (permalink)
 BERN Algos 
Bologna Italy
 
Experience: Advanced
Platform: nt8
Broker: NinjaTrader
Trading: futures
Posts: 58 since Jun 2022
Thanks Given: 12
Thanks Received: 54


nitrous View Post
Tested this strategy, for some reason it doesn't do what I am looking for:

cut

I am new to ticks, so maybe I am interpreting it totally wrong.

Test it with MNQ in simulated data connection or on a sim account. Right click on price axis, properties, select
horizontal grid type: tick
horizontal grid values: 10

Try:
- 10 seconds chart
- 100 ticks chart


Reply With Quote
Thanked by:
  #6 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Legendary Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,580 since Oct 2009
Thanks Given: 4,266
Thanks Received: 6,199

If you edit the ATM strategy, check to make sure the Parameter type = Ticks

youtube tutorials


nitrous View Post
Tested this strategy, for some reason it doesn't do what I am looking for:

The ATM settings are this from the XML file:

4 Orders
TP1: 16
SL: 16

TP2: 24
SL: 16

TP3: 32
SL: 16

TP4: 64
SL: 16

If 1 point is 100% profit (i.e 4 ticks), shouldn't the TP1 be 1, TP2: 2, TP3: 3 etc?

I am new to ticks, so maybe I am interpreting it totally wrong.


Reply With Quote




Last Updated on November 14, 2022


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts