Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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 …
Great example. Is it possible to hide some of the buttons on a charts toolbar? Basically, I've added a few buttons, but they take up too much room to the right of the Ninja buttons. So, I would like to hide their buttons from view. Seeing your code above leads me to believe that some sort of similar technique could be used to hide the buttons? How do you even know what the reference names for the buttons are? I see you referenced
"pnlChartTrader" above, how did you get a hold of that name? Many thanks in advance.
Great example. Is it possible to hide some of the buttons on a charts toolbar? Basically, I've added a few buttons, but they take up too much room to the right of the Ninja buttons. So, I would like to hide their buttons from view. Seeing your code above leads me to believe that some sort of similar technique could be used to hide the buttons? How do you even know what the reference names for the buttons are? I see you referenced
"pnlChartTrader" above, how did you get a hold of that name? Many thanks in advance.
fosch
Check out the ChartButtons indicator in the download section as an alternative. I use it exclusively, and can use it with or without chart trader visible or enabled, and no need to alter NinjaTrader internal code.
Check out the ChartButtons indicator in the download section as an alternative. I use it exclusively, and can use it with or without chart trader visible or enabled, and no need to alter NinjaTrader internal code.
What's your code(s) for BE (BreakEven) ? The ChartButtons indicator in the download section does not contain the codes for the buttons press/trigger actions.
What's your code(s) for BE (BreakEven) ? The ChartButtons indicator in the download section does not contain the codes for the buttons press/trigger actions.
Lolu
You have to write your own code for the button actions. Most of my order buttons control a separately running strategy. The break even button tells the strategy to do something like "SetStopLoss(CalculationMode.Price, entryPrice +(2*TickSize)"
You have to write your own code for the button actions. Most of my order buttons control a separately running strategy. The break even button tells the strategy to do something like "SetStopLoss(CalculationMode.Price, entryPrice +(2*TickSize)"
Is SetStopLoss(CalculationMode.Price, entryPrice +(2*TickSize) not a strategy code ?
Pls, could you give a typical example of a strategy call for BE ... the code(s) that call the strategy from within the ChartButtons indicator "to do something like SetStopLoss(CalculationMode.Price, entryPrice +(2*TickSize)".
What I want to do is code a BE action (just like the CLOSE action) into terratec's bTPA indicator.