NexusFi: Find Your Edge


Home Menu

 





Coding for beginner


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one max-td with 3 posts (1 thanks)
    2. looks_two wh with 2 posts (0 thanks)
    3. looks_3 Saroj with 1 posts (0 thanks)
    4. looks_4 Elliott Wave with 1 posts (3 thanks)
    1. trending_up 3,235 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 8 posts
    2. attach_file 0 attachments




 
Search this Thread

Coding for beginner

  #1 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

hi,
i am not a big coder - just startet 1,5 years ago with ninjatrader + 1 year with my first coding-tweak. But it is really fun ! .... most of the time - lol

so advanced people can learn nothing here - its not interessting for mikes + nothing for zelle04s, if you know wht i mean
its really for absolute beginners.

I want to go through the way of my own beginning.
This means i show you how you create some easy indicator-tweaks and on the way you learn to understand the ninja-coding-concepts step by step.

So are there people out there who are interested in this ?

max-td
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Deepmoney LLM
Elite Quantitative GenAI/LLM
Are there any eval firms that allow you to sink to your …
Traders Hideout
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
Build trailing stop for micro index(s)
Psychology and Money Management
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
37 thanks
NexusFi site changelog and issues/problem reporting
22 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
20 thanks
  #2 (permalink)
 Blz17 
Seattle
 
Experience: Beginner
Platform: NinjaTrader Interactive Brokers
Trading: 6B
Posts: 225 since Jun 2009
Thanks Given: 135
Thanks Received: 270

I get real busy at times so any responses from me would be scattered. That being said I'd love to learn more about coding and would definitely read through the thread and contribute when possible if you continued on with this subject.

Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512



Quoting 
I want to go through the way of my own beginning.
This means i show you how you create some easy indicator-tweaks and on the way you learn to understand the ninja-coding-concepts step by step.

hi max, a better solution for you and other members is to understand the object-oriented model of c# and ninjatrader.

you do not have to learn a lot just to understand. then it comes.

a good step is to convert simple or create simple indicators like a moving average. there is a lot what you need ... maths, fun and statistics ...

but when you have understand the oo of nt, then you can easy be a copy paster coder like me. for example i find an indicator or algorithm then i make a model on paper ... make a draft, implementation and then ...

but the best way is learning by doing ...

look for time series analysis and model in java or c# ...


nice weekend wh

Reply With Quote
  #4 (permalink)
 
Saroj's Avatar
 Saroj 
Arcata, CA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: index futures, oil
Posts: 485 since Jun 2009
Thanks Given: 232
Thanks Received: 415

Its been over a decade since I messed with oo programming, but I clearly recall the capability of creating a user function that, when called, would perform code and then return one or more values... so far I haven't seen anything like this aside from NT function calls. Is this possible in the NT implementation of C#?

Reading through the advanced NT doco on Strategy Methods and Properties... answered my own question I think... still exploring to see how generic it can be (I.e. can the function ("method") exist outside the strategy itself like an indicator or strategy that can be called from multiple strategies.

Reply With Quote
  #5 (permalink)
Elliott Wave
Vancouver, BC
 
Posts: 9 since Jun 2009
Thanks Given: 0
Thanks Received: 15

Everything I have ever done I learned from simple indicator 'tweaks'.

I think sharing your knowledge in this area could be very helpful. My biggest tip is just to study existing indicators and if there is a tweak you want to make to an indicator, find one that already has the desired functionality and 'hack it in'.

While often frustrating, 'hacking stuff together' can be quite rewarding and when you hit a snag, the fact that NT uses C# means there are plenty of educational resources available.

The way I see it, if I can create useful indicators (if not the most I have close to the most indicators shared in the NT file sharing section) with almost no programming skill/knowledge, anybody can do it! The easier it is for novice programmers to get over the initial hurdle of believing they can create something useful, the more the larger NT community benefits.


Reply With Quote
Thanked by:
  #6 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512

Saroj has create From Saroj

Reply With Quote
  #7 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

Thank you for the feedbacks + your interest !
ElliottWave hits the point where i am come from + thats where i can start :
"learning by tweaking existing stuff "

maybe wh can make some excursion to the "object-oriented model of c# and ninjatrader"-topic - thats a part i really dont understand yet - i even dont know what it is -
would shurely be a great addition!

these days a will start a thread with my first demo-tweak - we will see .....

have the idea to make different threads with diff. topics and title them always ie as : Coding for beginner : audio-alerts
to keep it a bit organized.

max-td
Started this thread Reply With Quote
  #8 (permalink)
aimboy
australia
 
Posts: 1 since Jul 2009
Thanks Given: 0
Thanks Received: 0

I am also interested in indicator construction, only problem is I'm trying
to find a complete list of all the functions that are specific to ninjatrader and can't seem to find much info. It would make it much easier seeing what was
available to call. Sure I could hunt through all the current indicators write each new one down I find and log it but this would be very time consuming

Reply With Quote
  #9 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

hi,
if you mean you wanna know all possible ninjatrader supported coding-functions -- you have to read the help-guide.
there is nothing else out there i think - no other lists or so.

look at this : http://ww25.ninjatrader-support.com/HelpGuideV6/helpguide.html?WelcomeToNinjaTrader&subid1=20240329-0637-3695-bf22-8f64b7d211b2

max-td
Started this thread Reply With Quote




Last Updated on July 21, 2009


© 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