NexusFi: Find Your Edge


Home Menu

 





Custom ATM Strategy for TP and SL


Discussion in NinjaTrader

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




 
Search this Thread

Custom ATM Strategy for TP and SL

  #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?
About a successful futures trader who didnt know anythin …
Psychology and Money Management
Better Renko Gaps
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
What broker to use for trading palladium futures
Commodities
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
  #2 (permalink)
 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:	121
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: 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

Reply With Quote
Thanked by:
  #6 (permalink)
 
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,176
Thanks Received: 6,020

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


© 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