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 wh with 3 posts (3 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 13,099 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 ?

  #1 (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,174
Thanks Received: 6,019

Is it possible to create a floating window with buttons to pass orders if different conditions occur.
For example, there could be a button to trigger/activate a buy stop order if the developing bar closes above the high of the previous bar. Things like that, is it possible with Ninja script or do we need a specific DLL created outside Ninja ?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Better Renko Gaps
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
27 thanks
Tao te Trade: way of the WLD
24 thanks
Diary of a simple price action trader
22 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
9 thanks
  #3 (permalink)
 bukkan 
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
Posts: 278 since Jun 2009
Thanks Given: 161
Thanks Received: 271


yes you can

have a look at this dsChartTrader - [AUTOLINK]NinjaTrader[/AUTOLINK] Strategy

Reply With Quote
Thanked by:
  #4 (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

its possible with using a ninja-strategy if i get it right what you mean.

also you have to use those buttons in the chart's toolbar if you like to start + stop this strategys
(if you want to decide manualy when the moment has come to check for those conditions)

i understand your idea like this :

you have a condition ( if the developing ( current ) bar closes above the high of the previous bar)

and if this is true yu want to send an order out ( iE a buy stop order at price X )

max-td
Reply With Quote
Thanked by:
  #5 (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

Why not just hold the strategy inactive in the NINJA main and click and unclick the active box as needed?

Reply With Quote
  #6 (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,174
Thanks Received: 6,019


mainstream View Post
Why not just hold the strategy inactive in the NINJA main and click and unclick the active box as needed?

It seems to me that a floating palette is the proper way in terms of ergonomic.

Started this thread 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


trendisyourfriend View Post
It seems to me that a floating palette is the proper way in terms of ergonomic.

what exactly do you mean with "a floating palette" ?

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


max-td View Post
what exactly do you mean with "a floating palette" ?

Hi Max,

a window that is subsidiary to the main document window. It has a special small title bar and it floats above standard windows even when it is not the current focus. A floating palette is typically used for options and controls.

Best regards

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
Thanked by:
  #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

thanks wh,

something like this it seems you mean :

https://images.appleinsider.com/office-2008-excel-8.png

i think this has to be external then, not NT-intergeted.

like bukkans Chartrader but for allowing the control of NT-strategys (on / off) instead of orders only.

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



max-td View Post
thanks wh,

something like this it seems you mean :

https://images.appleinsider.com/office-2008-excel-8.png

i think this has to be external then, not NT-intergeted.

like bukkans Chartrader but for allowing the control of NT-strategys (on / off) instead of orders only.

all is possible with nt better c#, but you will switch to visual studio with nt integration to create an indicator/strategy which pass data between two forms (ninjatrader and a custoumer form). data can be in a simple form 0,1,-1 for ...

i have not look in bukkans solution.

here is a simple german tutorial:

[C#] Datenaustausch zwischen zwei Forms @ tutorials.de: Tutorials, Forum & Hilfe

but i think it is the same approach, but you will need some dlls.

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




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