I am trying to modify some values by pressing certain keys on the keyboard and tried this:
static double line_value;
public void OnKeyDown(object sender, KeyEventArgs e)
{
}
protected override void OnBarUpdate()
{
}
The initial values were correct, and the text and the line were drawn correctly, but when I pressed left or right Shift keys, nothing had changed,
wonder what I did wrong.
I tried using letters, but every time I pressed a letter key, a small window pop up, asked to enter a Stock symbol.
Also, I am wondering if NinjaTrader could recommend any resources and sample codes related to interactions between keyboard hits or mouse clicks
and variable values in my script? I have watched quite a few videos and bought a e-book about NinjaScript, all of them are about strategy coding, not
really I was looking for.
Thanks so much!!

Comment