NexusFi: Find Your Edge


Home Menu

 





Can a floating window be coded with Ninjascript ?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one max-td with 7 posts (7 thanks)
    2. looks_two trendisyourfriend with 7 posts (1 thanks)
    3. looks_3 timmyb with 5 posts (8 thanks)
    4. looks_4 mainstream with 3 posts (0 thanks)
      Best Posters
    1. looks_one timmyb with 1.6 thanks per post
    2. looks_two max-td with 1 thanks per post
    3. looks_3 wh with 1 thanks per post
    4. looks_4 bukkan with 0.5 thanks per post
    1. trending_up 12,895 views
    2. thumb_up 20 thanks given
    3. group 6 followers
    1. forum 29 posts
    2. attach_file 4 attachments




 
Search this Thread

Can a floating window be coded with Ninjascript ?

  #11 (permalink)
 mainstream 
Chicago, IL
 
Experience: Master
Platform: Kinetick Ninja Trader <7>
Broker: Ninja & IB
Trading: YM & Equities & Options & Mutual Funds
Posts: 174 since Jun 2010
Thanks Given: 57
Thanks Received: 88

So elegant in design, the floating window...

You might want to add to your strategy window information like: Market position, P&L, and resting orders. I find myself toggling between tabs on Ninja to see that information.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
Futures True Range Report
The Elite Circle
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
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 …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
The Program
20 thanks
GFIs1 1 DAX trade per day journal
19 thanks
  #12 (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

BTW - this JAM-guy has also done this in a pretty interessting way!
he did exactly what we talked about - offering a panel to control condition-driven ENTRYs via NT-strategys in multiple ways . - well done i gotta say !

have a look at this "Button" style" - OK, its nothing external or floating but still a first class ergonomic way to handle it in my eyes.





you have clear + big enaugh buttons for klicking at + coloroptions to arrange it visualy in a style that dont allow too much mistakes.

thats the way to go in the future i think.
a coding-challange wich is worth it - but a job for the masters i think !

-

max-td
Reply With Quote
Thanked by:
  #13 (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,171
Thanks Received: 6,018


Max, that's exactly what i am talking about. Something like this, is it possible with Ninjascript alone ?

Started this thread Reply With Quote
  #14 (permalink)
 bukkan 
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
Posts: 278 since Jun 2009
Thanks Given: 161
Thanks Received: 271

pretty straight forward stuffs. there are some codes by mindset which puts some button on the chartpanel search for them. that should give you the starting point.

Reply With Quote
  #15 (permalink)
 mainstream 
Chicago, IL
 
Experience: Master
Platform: Kinetick Ninja Trader <7>
Broker: Ninja & IB
Trading: YM & Equities & Options & Mutual Funds
Posts: 174 since Jun 2010
Thanks Given: 57
Thanks Received: 88

Nicely done! Very impressive Grail signal also! Only trouble is that you can only have one strategy up on the chart at a time... I'm using three in my CONTROL CENTER. How would you handle that?

Reply With Quote
  #16 (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 mainstream !

good question
this will be the next step on the way here.

it will work with an external panel (not inside of NT) where your buttons are located - taken away from the chart / taken even out of Ninja !

your strats you host / load still in the CONTROL CENTER like now but the external-buttons has to "talk" with the strats
- means they have to start / stop them somehow.

its goes in direction of bukkans ChartTrader-tool (an external panel out of NT) but corresponding into NT for to start / stop the strats.

i think this will also be easier than to implent such buttons like in the picture into a NT-chart.

a small job for bukkan i would say if i see his ChartTrader-tool !

max-td
Reply With Quote
Thanked by:
  #17 (permalink)
 timmyb 
duluth,mn
 
Experience: Advanced
Platform: ninja,thinkorswim
Broker: Amp-Zenfire
Trading: ES,Options
Posts: 654 since Feb 2010
Thanks Given: 81
Thanks Received: 1,361

I was playing with this myself. Not for stragetgies but to hopefully have a kind of head up display.

here is what I managed in ninja without visual. I really wish I knew how to use my visual basic correctly to do this in that then in ninja. But here is an example. Let me know if it can be of some use.

Tim

Attached Thumbnails
Click image for larger version

Name:	12-19-2010 10-37-56 AM external window.png
Views:	313
Size:	62.3 KB
ID:	27138  
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #18 (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

hey tim, thanks for input !

what of window is this ? a normal win-pop-up- window ?

or is it something where you can place more thing in (iE buttons ) ?

max-td
Reply With Quote
  #19 (permalink)
 timmyb 
duluth,mn
 
Experience: Advanced
Platform: ninja,thinkorswim
Broker: Amp-Zenfire
Trading: ES,Options
Posts: 654 since Feb 2010
Thanks Given: 81
Thanks Received: 1,361


max-td View Post
hey tim, thanks for input !

what of window is this ? a normal win-pop-up- window ?

or is it something where you can place more thing in (iE buttons ) ?

you can add anything you want, I will build a quick one tonight and psot teh code here then you can run with it. I just learned how to do all this so i am no expert . In fact i just learned some of visual basic last night.


But basically you can build the window in visual basic, then just copy the code over to ninja, changing a few things and then when you load the indicator, or strategy the window loads. Id love for this thread to continue. So we can all learn from one another

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #20 (permalink)
 timmyb 
duluth,mn
 
Experience: Advanced
Platform: ninja,thinkorswim
Broker: Amp-Zenfire
Trading: ES,Options
Posts: 654 since Feb 2010
Thanks Given: 81
Thanks Received: 1,361


Here is a simple form

I tried to organize the code the best I can, I also cannot say the code it perfect or most proficient.

but load the strategy, also make sure strategy is on and a window will pop up, with more coding this window can hold buttons etc. anything you want. This is the simplest code i know to do it, but i just learned yesterday

I think if we all work together we could really bring ninja to a whole new level

Also i know this is nothing to some people but I had never built a windows from till last night. and now i even got one with buttons that actually do orders in ninja.

WOOHOOOOOOOOO

Id like to thank big mike for this forumn, a year ago i could not code and now i can make a blank window LOL

Oh and a shout out to BUkken cause its his code that i figured out how this all works

Attached Files
Elite Membership required to download: UserWindow.zip
Visit my NexusFi Trade Journal Reply With Quote




Last Updated on December 21, 2010


© 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