NexusFi: Find Your Edge


Home Menu

 





Click Trader for Chart Traders


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one vantojo with 7 posts (1 thanks)
    2. looks_two terratec with 6 posts (0 thanks)
    3. looks_3 monpere with 4 posts (5 thanks)
    4. looks_4 OpalDragon with 3 posts (0 thanks)
      Best Posters
    1. looks_one sam028 with 3 thanks per post
    2. looks_two monpere with 1.3 thanks per post
    3. looks_3 futuretrader with 1 thanks per post
    4. looks_4 ThatManFromTexas with 1 thanks per post
    1. trending_up 18,758 views
    2. thumb_up 16 thanks given
    3. group 13 followers
    1. forum 29 posts
    2. attach_file 0 attachments




 
Search this Thread

Click Trader for Chart Traders

  #1 (permalink)
 vantojo 
Vilcabamba, Ecuador
 
Experience: Intermediate
Platform: Ninja
Trading: NQ, UB
Posts: 204 since Jul 2012

I trade exclusively with Chart Trader, never with the DOM.

I"m using Click Trader from this vendor...

Tools and indicators for NinjaTrader

I really love it. On click and the order is placed where I click.

Left Shift + Left Click = Place a Long Order
Left Control + Left Click = Place a Short Order
Space = Close Order / Exit Position

This is the only indicator now on my chart (finally) that is not my code. Personally I don't like third party indicators/strategies and don't like to build my business on them, because one day perhaps the vendor will go away and the licensing validation will fail.

So, this indicator is on my list to rewrite into my own code. The only unknown is how to get the price at the click. I believe it may be possible to get the Y coordinate then somehow map that to a price.

If I am the first to rewrite this I will post it in the forum.

Otherwise, any ideas how to convert the click to a Y coordinate, then to a price?

Thx.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
Futures True Range Report
The Elite Circle
Online prop firm The Funded Trader (TFT) going under?
Traders Hideout
ZombieSqueeze
Platforms and Indicators
 
  #2 (permalink)
 
monpere's Avatar
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
Posts: 1,854 since Jul 2010
Thanks Given: 300
Thanks Received: 3,371


vantojo View Post
I trade exclusively with Chart Trader, never with the DOM.

I"m using Click Trader from this vendor...

Tools and indicators for NinjaTrader

I really love it. On click and the order is placed where I click.

Left Shift + Left Click = Place a Long Order
Left Control + Left Click = Place a Short Order
Space = Close Order / Exit Position

This is the only indicator now on my chart (finally) that is not my code. Personally I don't like third party indicators/strategies and don't like to build my business on them, because one day perhaps the vendor will go away and the licensing validation will fail.

So, this indicator is on my list to rewrite into my own code. The only unknown is how to get the price at the click. I believe it may be possible to get the Y coordinate then somehow map that to a price.

If I am the first to rewrite this I will post it in the forum.

Otherwise, any ideas how to convert the click to a Y coordinate, then to a price?

Thx.

You don't have to pay for a 3rd party application for that kind of functionality. I do this with 3 lines of code using AutoHotkey. I believe TMTF also has code to issue orders directly from an indicator, and there are also several indicators with sample code on how to get the price at the chart cursor. So, if you want to implement the functionality yourself in NT, most of the code already exist.

Reply With Quote
Thanked by:
  #3 (permalink)
 futuretrader 
Como Italy
 
Experience: Intermediate
Platform: Ninjatrader, customized
Trading: ES
Posts: 525 since Feb 2010
Thanks Given: 471
Thanks Received: 643


This is the code I use for getting y, I think it's from pepe's ChartHelper:
 
Code
 public double ConvertYtoPrice(int y)
        {
            int _tickLength = 0;

            if (TickSize < 1)
                _tickLength = TickSize.ToString().Length - 2;

            double chartscale = Math.Abs(chartMax - chartMin);
            double boundAreaScale = chartBounds.Bottom - chartBounds.Y;

            double ratio = (double)(chartscale) / boundAreaScale;
            double chartPrice = Math.Round(chartMin + ((chartBounds.Bottom - y) * ratio), _tickLength);

            return (chartPrice);
        }
But I'm not sure I understand the point, since you can just right click on the chart and select your order.

Reply With Quote
Thanked by:
  #4 (permalink)
 vantojo 
Vilcabamba, Ecuador
 
Experience: Intermediate
Platform: Ninja
Trading: NQ, UB
Posts: 204 since Jul 2012

thank you both...

monpere....thank you...what is TMTF?

future trader: thank you for the code, can't wait to try it

as to why:

I often scalp in fast moving markets and a second makes a big difference....to place an order with Chart Trader, one needs to use the buttons, which one cannot select the exact price wanted, or right click on the chart, which opens a dialog, from there you choose.

(I need to choose the exact price I want, not market, bid, or ask.)

sometimes the standard chart trader is too slow or awkward. The clicktrader really helped with this problem. I would not trade without it now.

Next question: Do you know how to get the ATM in the drop down list on chart trader...then I can complete this indicator.

Started this thread Reply With Quote
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,399 since Jun 2009
Thanks Given: 33,175
Thanks Received: 101,541


vantojo View Post
what is TMTF?

@ThatManFromTexas

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629

I wrote something like this, but more complex, for a customer who never paid, so I may release a cleaned version of this (if I have enough time to clean it).
Basically, it was trapping the price on the chart, and if the ctrl/shift/alt key was also pressed, a limit/stop/market order was send (and another bunch of options for an atm like, a bit smarter).

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
  #7 (permalink)
 
ThatManFromTexas's Avatar
 ThatManFromTexas 
Houston,Tx
 
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: TF
Posts: 2,265 since Feb 2010
Thanks Given: 1,206
Thanks Received: 4,348


sam028 View Post
I wrote something like this, but more complex, for a customer who never paid, ....


@sam028

I remember those days .... being self employed ..... spending 25% of your time finding projects... 25% of your time completing the project ... and 50% of your time collecting for the project...

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote
Thanked by:
  #8 (permalink)
 Traderji 
Australia
 
Experience: Advanced
Platform: NinjaTrader, Multicharts
Trading: Spot Forex, Gold, Silver
Posts: 176 since Oct 2010
Thanks Given: 114
Thanks Received: 114

Couldn't you just right click on the chart and place order from the menu?

Reply With Quote
  #9 (permalink)
 terratec 
Zurich Switzerland
 
Experience: Intermediate
Platform: NinjaTrader
Broker: IB
Trading: ES, 6E, CL
Posts: 403 since Sep 2009
Thanks Given: 64
Thanks Received: 515


vantojo View Post
Next question: Do you know how to get the ATM in the drop down list on chart trader...then I can complete this indicator.

I could not find a proper way to get the info from the charttrader. So I used unsupported code to get part of it. (ATM's I did not find out). But the unsupported stuff has some disadvantages...

As you are working on stuff with that indy/strat combo, why not that way?
There you have everything you need. And the mouse click part you can find in some indicators in the downloads section. If you code it to be fast, it will be fast. And it is all with regular code.

But if you find a proper way to get the ATM's, then I would be very interested in that code.

Reply With Quote
  #10 (permalink)
 futuretrader 
Como Italy
 
Experience: Intermediate
Platform: Ninjatrader, customized
Trading: ES
Posts: 525 since Feb 2010
Thanks Given: 471
Thanks Received: 643


All this stuff is unsupported.

You need to get the ChartTrader controls, and then you can get the name of the currently selected atmstrategy.

string atm = ctrader.Controls["cboStrategy"].Text;

Reply With Quote
Thanked by:




Last Updated on October 11, 2020


© 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