NexusFi: Find Your Edge


Home Menu

 





Can programming do this in NT?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one everlake with 3 posts (1 thanks)
    2. looks_two choke35 with 2 posts (1 thanks)
    3. looks_3 cory with 1 posts (0 thanks)
    4. looks_4 ratfink with 1 posts (1 thanks)
      Best Posters
    1. looks_one ratfink with 1 thanks per post
    2. looks_two jossfx with 1 thanks per post
    3. looks_3 choke35 with 0.5 thanks per post
    4. looks_4 everlake with 0.3 thanks per post
    1. trending_up 2,498 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
everlake
Baltimore MD
 
Posts: 3 since Aug 2015
Thanks Given: 1
Thanks Received: 1

I have little programming knowledge but am willing to learn. I have looked around at the basics and am wondering if my current desire is even programmable.

What I would like to do is draw a triangle, and then do some math with the anchors of that triangle and the dates of those bars, and output a target date in the future or number of bars in the future, based on the calculation.

Could use the anchors as drawn, or as they would be highs or lows, could identify high of bar X, date of bar X, etc.

So I'm wondering if this can even be done. Most of what I see about programming is studies over time, etc, that constantly update, rather than identifying three points on the chart and working with them.

Currently I do this by hand, entering the anchors and the dates or ticks into a spreadsheet by hand to get the output target date. Would like to reduce the time involved when I am doing many of these calculations.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran and Israel Stand Down: What $9M in Peace Contracts …
Prediction Markets & Event Contracts
More Than Capable: Hegseths War Warning Validates $114M …
Prediction Markets & Event Contracts
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
CME Raises Energy Futures Margins After Iran-War Volatil …
Commodities
I Have a Thing Called Iran -- Trump Stays in DC as Airsp …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 choke35 
Germany
Market Wizard
 
Experience: Intermediate
Platform: Other
Trading: ES, YM, 6E
Posts: 2,622 since Feb 2013
Thanks Given: 5,101
Thanks Received: 6,558


everlake View Post
I have little programming knowledge but am willing to learn. I have looked around at the basics and am wondering if my current desire is even programmable.

What I would like to do is draw a triangle, and then do some math with the anchors of that triangle and the dates of those bars, and output a target date in the future or number of bars in the future, based on the calculation.

Could use the anchors as drawn, or as they would be highs or lows, could identify high of bar X, date of bar X, etc.

So I'm wondering if this can even be done. Most of what I see about programming is studies over time, etc.

Currently I do this by hand, entering the anchors and the dates or ticks into a spreadsheet by hand to get the output target date. Would like to reduce the time involved when I am doing many of these calculations.

There is a simple rule: If you know and understand the math behind what you are doing, it is programmable.
If you can't even describe the math ex ante, it's nothing but self-delusion and mumbo-jumbo.


Reply With Quote
Thanked by:
  #3 (permalink)
everlake
Baltimore MD
 
Posts: 3 since Aug 2015
Thanks Given: 1
Thanks Received: 1


Well I understand the math well enough to use it in a spreadsheet. I guess what I'm asking is: Can you tell NT to look at three and only three data points and their dates, and output a single date beyond the current date on the chart.

All the beginner tutorials I have looked at seem to focus on rolling data analysis.


Reply With Quote
  #4 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,550 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,427


everlake View Post
Well I understand the math well enough to use it in a spreadsheet. I guess what I'm asking is: Can you tell NT to look at three and only three data points and their dates, and output a single date beyond the current date on the chart.

All the beginner tutorials I have looked at seem to focus on rolling data analysis.

Yes.


Travel Well
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #5 (permalink)
 choke35 
Germany
Market Wizard
 
Experience: Intermediate
Platform: Other
Trading: ES, YM, 6E
Posts: 2,622 since Feb 2013
Thanks Given: 5,101
Thanks Received: 6,558


everlake View Post
Well I understand the math well enough to use it in a spreadsheet. I guess what I'm asking is: Can you tell NT to look at three and only three data points and their dates, and output a single date beyond the current date on the chart.

All the beginner tutorials I have looked at seem to focus on rolling data analysis.

If "I understand the math well enough to use it in a spreadsheet" also includes the algorithmic way how the anchor dates are picked, the answer is yes.


Reply With Quote
  #6 (permalink)
everlake
Baltimore MD
 
Posts: 3 since Aug 2015
Thanks Given: 1
Thanks Received: 1


ratfink View Post
Yes.

Super. Worth the effort to learn then.


Reply With Quote
Thanked by:
  #7 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098


everlake View Post
Well I understand the math well enough to use it in a spreadsheet. I guess what I'm asking is: Can you tell NT to look at three and only three data points and their dates, and output a single date beyond the current date on the chart.

All the beginner tutorials I have looked at seem to focus on rolling data analysis.

SierraChart has built-in speadsheet. If you are good with speadsheet check it out.


Reply With Quote
  #8 (permalink)
 
jossfx's Avatar
 jossfx 
Almeria / Spain
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaBrokerage/CQG
Trading: 6E, ES, CL, GC
Posts: 69 since Jun 2015
Thanks Given: 35
Thanks Received: 49


choke35 View Post
There is a simple rule: If you know and understand the math behind what you are doing, it is programmable.
If you can't even describe the math ex ante, it's nothing but self-delusion and mumbo-jumbo.

EPIC!


Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on September 2, 2015


© 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