NexusFi: Find Your Edge


Home Menu

 





2 ATMÂīs automatics & consecutives


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one mrmaster with 11 posts (1 thanks)
    2. looks_two rleplae with 7 posts (1 thanks)
    3. looks_3 Chronomacros with 1 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 3,317 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 19 posts
    2. attach_file 1 attachments




 
Search this Thread

2 ATMīs automatics & consecutives

  #11 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


mrmaster View Post
Can anyone help me to modify the code of an ATM? ...... decompile the file ninjatrader.sdf, locate in it an ATM already made and saved, modify the code for where the stop jumps the ATM2, re-compile and work? Thanks and that obviously does not come in the guide ninjatrader 7 nor 8

The file you are talking about is a SQLCE compact database,
It is not possible to decompile and compile a database,
it is data and not a program.

Although not supported by NT and not documented, you can however use various tools to
explore the data that is stored there..

You can however read & write in this DB, i have implemented this and i'm using this in my platform.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Deepmoney LLM
Elite Quantitative GenAI/LLM
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Futures True Range Report
The Elite Circle
 
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
Battlestations: Show us your trading desks!
26 thanks
The Program
18 thanks
  #12 (permalink)
mrmaster
madrid
 
Posts: 11 since Jun 2016
Thanks Given: 0
Thanks Received: 1

Then can you help me?

Sent using the NexusFi mobile app

Reply With Quote
  #13 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863



mrmaster View Post
Then can you help me?

Sent using the NexusFi mobile app

Be nice to people on futures.io and in general they will help you.

What i understood from what you want to do is : entry with ATM, target + stop
stop -> reversal and a new ATM

There are a few possible solutions to the given scenario

1. I think there is an auto reversal option in NT 7
https://ninjatrader.com/support/helpGuides/nt7/?auto_reverse.htm

2. You can program everything to a good granularity in an strategy.

From the question, it is not clear to me if you use the DOM, chart-trader or a strategy (#cs file)

The second option would be my preference

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #14 (permalink)
mrmaster
madrid
 
Posts: 11 since Jun 2016
Thanks Given: 0
Thanks Received: 1

I use chart trader to place input orders and I'm moving them manually according to the price, so I need an ATM because if I used an automatic strategy I could not do it.

Reply With Quote
  #15 (permalink)
mrmaster
madrid
 
Posts: 11 since Jun 2016
Thanks Given: 0
Thanks Received: 1

Effectively touching the ATM1 stop would have to enter the market in the opposite direction to the one with the same number of contracts and different ATM strategy (2). Since if it were the same ATM input would be a reversal to stop and that if it does NinjaTrader.

Reply With Quote
  #16 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863

1. If you use an automated strategy to generate the order (it could be a button), then you can still play around with the limits manual in chart trader. the strategy upon hitting the stop would then reverse the position. It is possible to mix strategy and manual

2. Alternatively you can do it all manually and use revert upon stop
right click in the superdom or in the basic entry window

Just an example here, in my windows the reverse at stop is not active, you can simply select it from this menu and your position will be reversed at stop, then you manually manage the limits


Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #17 (permalink)
mrmaster
madrid
 
Posts: 11 since Jun 2016
Thanks Given: 0
Thanks Received: 1

If that is clear. But what I do not see is that when doing reverse switch to another different ATM strategy

Reply With Quote
  #18 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


mrmaster View Post
If that is clear. But what I do not see is that when doing reverse switch to another different ATM strategy

In my opinion, you can only do that programmatically, writing a strategy
not interactively

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #19 (permalink)
mrmaster
madrid
 
Posts: 11 since Jun 2016
Thanks Given: 0
Thanks Received: 1

Yes it`s more easy

Sent using the NexusFi mobile app

Reply With Quote
  #20 (permalink)
Chronomacros
Voorhees, New Jersey, United States
 
Posts: 5 since Jul 2021
Thanks Given: 5
Thanks Received: 0



rleplae View Post
In my opinion, you can only do that programmatically, writing a strategy
not interactively

Hi would you or another member be doing even rudimentary tutorials on how to think through the ninja script language and put together ATMs or scripts and avoid handling errors, conflicts and other problems? Kind of really want to know how not to create a buggy automation in ninja. I fully presume that there will be limits but i want to learn to understand how to know that limitation by understanding the syntax wihtout making the errors.

Reply With Quote




Last Updated on July 27, 2021


© 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