Can a floating window be coded with Ninjascript ? - futures io
futures io



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 trendisyourfriend with 0.1 thanks per post
    1. trending_up 9,879 views
    2. thumb_up 20 thanks given
    3. group 6 followers
    1. forum 29 posts
    2. attach_file 4 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Can a floating window be coded with Ninjascript ?

(login for full post details)
  #21 (permalink)
 trendisyourfriend 
Market Wizard
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 4,179 since Oct 2009
Thanks: 3,854 given, 5,458 received

timmyb, you used Visual basic to code the window but it runs within Ninja? How can this be possible since Ninja does not understand VB ?

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Time to change of FCM
Emini and Emicro Index
value chart indicator by sim22
NinjaTrader
Multidata
EasyLanguage Programming
Williams Fractal (NT8) indicator - Alert function implem …
NinjaTrader
Tick Data Group Buy
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Spoo-nalysis ES e-mini futures S&P 500
97 thanks
Most Funding Firms are a Scam
65 thanks
Hedging NQ and MNQ 1-10...
13 thanks
Trading Plan
9 thanks
How many day traders are profitable?
8 thanks
 
(login for full post details)
  #22 (permalink)
 timmyb 
Market Wizard
duluth,mn
 
Experience: Advanced
Platform: ninja,thinkorswim
Broker: Amp-Zenfire
Trading: ES,Options
 
Posts: 653 since Feb 2010
Thanks: 81 given, 1,360 received


trendisyourfriend View Post
timmyb, you used Visual basic to code the window but it runs within Ninja? How can this be possible since Ninja does not understand VB ?


my VB is setup for C#

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #23 (permalink)
 trendisyourfriend 
Market Wizard
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 4,179 since Oct 2009
Thanks: 3,854 given, 5,458 received



timmyb View Post
my VB is setup for C#

OK i understand, you code in VB but the output is converted into C#. To make it run anywhere do we need to install a special runtime on our computer ? or simply the NET framework is all we need ?

I wonder if we could not use this tool: https://www.helpsystems.com/product-lines/automate

Started this thread Reply With Quote
 
(login for full post details)
  #24 (permalink)
 LukeGeniol 
Italy (IT)
 
Experience: Advanced
Platform: ATAS, R|Trader, NT8
Broker: Rithmic
Trading: CL, Brent, GC, TF
 
LukeGeniol's Avatar
 
Posts: 1,501 since Apr 2010
Thanks: 408 given, 984 received


trendisyourfriend View Post
OK i understand, you code in VB but the output is converted into C#. To make it run anywhere do we need to install a special runtime on our computer ? or simply the NET framework is all we need ?

I think u don't need any thing else.


Quoting 
I wonder if we could not use this tool: IT Automation - AutoMate 8 - Network Automation

To do what? Automate your tasks? If so, yes!

Take your Pips, go out and Live.
Luke.
Reply With Quote
 
(login for full post details)
  #25 (permalink)
 trendisyourfriend 
Market Wizard
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 4,179 since Oct 2009
Thanks: 3,854 given, 5,458 received


LukeGeniol View Post
To do what? Automate your tasks? If so, yes!

To create windows and pass orders to Ninja as they say it can replace Windows Scripting. Since we can create windows with WSH so i thought we could do the same with automate but more simply.

Started this thread Reply With Quote
 
(login for full post details)
  #26 (permalink)
 LukeGeniol 
Italy (IT)
 
Experience: Advanced
Platform: ATAS, R|Trader, NT8
Broker: Rithmic
Trading: CL, Brent, GC, TF
 
LukeGeniol's Avatar
 
Posts: 1,501 since Apr 2010
Thanks: 408 given, 984 received


trendisyourfriend View Post
To create windows and pass orders to Ninja as they say it can replace Windows Scripting. Since we can create windows with WSH so i thought we could do the same with automate but more simply.

Don't think you can do it nor with Automate and even nor with WSH.
But may be I'm wrong.

Take your Pips, go out and Live.
Luke.
Reply With Quote
 
(login for full post details)
  #27 (permalink)
 trendisyourfriend 
Market Wizard
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 4,179 since Oct 2009
Thanks: 3,854 given, 5,458 received


LukeGeniol View Post
Don't think you can do it nor with Automate and even nor with WSH.
But may be I'm wrong.

Of course you are. When i was a system analyst we used it to build quick and cheap interfaces to help users automate different functions. About automate, i know nothing about it.

Started this thread Reply With Quote
The following user says Thank You to trendisyourfriend for this post:
 
(login for full post details)
  #28 (permalink)
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
 
wh's Avatar
 
Posts: 538 since Jun 2009
Thanks: 298 given, 507 received

if he use vb.net he runs in msil the same as c#.
so it is easy to convert to c#.

Causality is the relationship between an event (the cause) and a second event (the effect), where the second event is a consequence of the first.
Reply With Quote
 
(login for full post details)
  #29 (permalink)
 timmyb 
Market Wizard
duluth,mn
 
Experience: Advanced
Platform: ninja,thinkorswim
Broker: Amp-Zenfire
Trading: ES,Options
 
Posts: 653 since Feb 2010
Thanks: 81 given, 1,360 received

Ok I think I understand where i was misinforming.

I meant I use Microsoft Visual Studio. No visual basic itself

I dont convert anything I just copy and paste the code. I have to change a couple things but it was rather easy.

in microsoft visual studio I go file new windows form and build it from there. Look at the strategy code I posted and you will understand it better

Attached Thumbnails
Click image for larger version

Name:	12-20-2010 6-12-45 PM visual c#.png
Views:	272
Size:	65.0 KB
ID:	27161  
Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #30 (permalink)
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 925 received


i dont know if its helpful but i found some examples of button-styles + their coding,
maybe a good source for ideas + help :

Vista Style Button in C# - CodeProject

CRoundButton2 - A fancy graphical button - CodeProject

XP-Style Button - CodeProject


-

max-td
Reply With Quote
The following 3 users say Thank You to max-td for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > Can a floating window be coded with Ninjascript ?


Last Updated on December 21, 2010


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.
no new posts