looking for C# code for a keyboard command simulation - futures io
futures io futures trading



looking for C# code for a keyboard command simulation


Discussion in NinjaTrader

Updated
    1. trending_up 3,629 views
    2. thumb_up 3 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,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
 

looking for C# code for a keyboard command simulation

(login for full post details)
  #1 (permalink)
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received

hi,

i am working on some button-stuff and like to trigger a keyboard command with a condition in my indiactor
(a simulation of pressing the letter "A" on the keyboard in example)

it looks like this

 
Code
                            
if ( this is happening )


{
// do something here
code should send a simulation of pressing "A" on the keyboard

any ideas how this code has to look ?
i think it should be easy / predefined yet but i dont find the right piece.

thanks for input
-

max-td
Started this thread Reply With Quote
The following user says Thank You to max-td for this post:

Can you help answer these questions
from other members on futures io?
Automating strategies on multiple charts with same symbol
TradeStation
Help Needed: TOS Options Chain IV & IMPL MOVE Calcul …
ThinkOrSwim
ZigZag with Depth and Backstep
EasyLanguage Programming
SimplerOptions
Trading Reviews and Vendors
Automatic pattern research with NT
Elite Algorithmic NinjaTrader Trading
 
 
(login for full post details)
  #3 (permalink)
Market Wizard
Paris
 
Experience: None
Platform: NinjaTrader
 
Posts: 1,247 since Oct 2009
Thanks: 272 given, 4,415 received


I have used something like SendKeys.Send("{F5}");

Reply With Quote
The following 2 users say Thank You to gomi for this post:
 
(login for full post details)
  #4 (permalink)
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received

Works

thanks !

the results for playing and further developement are comming soon

max-td
Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > looking for C# code for a keyboard command simulation


Last Updated on December 29, 2010


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, 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