NexusFi: Find Your Edge


Home Menu

 





Custom ATM Strategy for TP and SL


Discussion in NinjaTrader

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




 
 

Custom ATM Strategy for TP and SL

 
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


Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
Deepmoney LLM
Elite Quantitative GenAI/LLM
Are there any eval firms that allow you to sink to your …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
 
 BERN Algos 
Bologna Italy
 
Experience: Advanced
Platform: nt8
Broker: NinjaTrader
Trading: futures
Posts: 42 since Jun 2022
Thanks Given: 11
Thanks Received: 38


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:	117
Size:	68.2 KB
ID:	328134  
Attached Files
Elite Membership required to download: ATM FourSteps .xml
Thanked by:
 
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

 
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.

 
 BERN Algos 
Bologna Italy
 
Experience: Advanced
Platform: nt8
Broker: NinjaTrader
Trading: futures
Posts: 42 since Jun 2022
Thanks Given: 11
Thanks Received: 38


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

Thanked by:
 
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,171
Thanks Received: 6,018

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.



 



Last Updated on November 14, 2022


© 2024 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 - Privacy Policy - Downloads - Top
no new posts