NexusFi: Find Your Edge


Home Menu

 





horizontal ray line


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one supermht with 3 posts (2 thanks)
    2. looks_two Tasker_182 with 2 posts (2 thanks)
    3. looks_3 cory with 1 posts (2 thanks)
    4. looks_4 DavidHP with 1 posts (1 thanks)
      Best Posters
    1. looks_one cory with 2 thanks per post
    2. looks_two Tasker_182 with 1 thanks per post
    3. looks_3 DavidHP with 1 thanks per post
    4. looks_4 supermht with 0.7 thanks per post
    1. trending_up 4,515 views
    2. thumb_up 8 thanks given
    3. group 8 followers
    1. forum 13 posts
    2. attach_file 0 attachments




 
Search this Thread

horizontal ray line

  #1 (permalink)
 supermht 
Naperville IL
 
Experience: Intermediate
Platform: ninjatrader
Broker: NT broker
Trading: NQ ES 6E GC CL
Posts: 962 since Feb 2010
Thanks Given: 1,189
Thanks Received: 661

when I press F3, it draws Ray line, but I have to move the cursor up and down to make it horizontal, it is very frustrated, anybody know a method to draw horizontal ray line? that means when we draw ray line, it is horizontal automatically and not need to move cursor up and down to make it balance. thanks

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Increase in trading performance by 75%
The Elite Circle
Exit Strategy
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
32 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
GFIs1 1 DAX trade per day journal
11 thanks
HumbleTraders next chapter
11 thanks
  #3 (permalink)
 tulanch 
Salt Lake City, UT
 
Experience: Intermediate
Platform: SC, NT, MT
Broker: AMP
Trading: NQ ES YM Bonds
Posts: 265 since Mar 2010
Thanks Given: 50
Thanks Received: 387


using NT, a horizontal line can be created pressing F6 and then clicking the mouse at the desired location. A vertical line is done with F7.

Reply With Quote
  #4 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,401


tulanch View Post
using NT, a horizontal line can be created pressing F6 and then clicking the mouse at the desired location. A vertical line is done with F7.

He just wants a RAY.

Be yourself; everyone else is already taken. Oscar Wilde
Reply With Quote
  #5 (permalink)
 supermht 
Naperville IL
 
Experience: Intermediate
Platform: ninjatrader
Broker: NT broker
Trading: NQ ES 6E GC CL
Posts: 962 since Feb 2010
Thanks Given: 1,189
Thanks Received: 661

right, I just want Ray, with automatic horizontal feature

Started this thread Reply With Quote
  #6 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,401


supermht View Post
right, I just want Ray, with automatic horizontal feature

I went through a bunch of key combinations thinking they would have put the ability to go in 15 degree increments but no such luck, sorry.

Be yourself; everyone else is already taken. Oscar Wilde
Reply With Quote
Thanked by:
  #7 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,610 since Aug 2009
Thanks Given: 11,335
Thanks Received: 2,743


supermht View Post
right, I just want Ray, with automatic horizontal feature

I don't think anyone has coded that yet.
However you can create a ray and then right click on the line and choose PROPERTIES
A window will popup and you can click on the DATA tab at the top.
Make the Start Y and End Y the same number and it will be horizontal.

I know it is a pain but works.

FWIW

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
Thanked by:
  #8 (permalink)
 supermht 
Naperville IL
 
Experience: Intermediate
Platform: ninjatrader
Broker: NT broker
Trading: NQ ES 6E GC CL
Posts: 962 since Feb 2010
Thanks Given: 1,189
Thanks Received: 661

found it

use F8, only 0 fib ( uncheck all other rations), then on the chart, double click a spot, and you get ray line, beautiful

Started this thread Reply With Quote
Thanked by:
  #9 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


supermht View Post
found it

use F8, only 0 fib ( uncheck all other rations), then on the chart, double click a spot, and you get ray line, beautiful

Talk about killing a fly with a sledgehammer,

F6, click at a spot, F3, click a the spot and line up with F6 line, click on F6 line, hit delete.

Reply With Quote
Thanked by:
  #10 (permalink)
 samurai 
CO
 
Experience: Intermediate
Platform: NinjaTrader
Posts: 29 since Sep 2009
Thanks Given: 228
Thanks Received: 45


I had to custom code an indicator to make a line horizontal.

The magic is to attach to the PreviewKeyDownEventHandler from the ChartControl. I then assigned the comma (',') key to do the following when I have a ChartLine selected:

 
Code
            var cl = o as NinjaTrader.Gui.Chart.ILine;
	     if(cl == null)
                return;	            

            //...

            //
            // Make line Horizontal
            //
            else if( e.KeyCode == Keys.Oemcomma)
            {
	            cl.EndY = cl.StartY;
            }
I also assigned the Ctrl-Shift-Comma to convert a ChartLine to a ChartRay and vice versa.

I have other keys and key combinations assigned to do other common functions I need.

I'm not sure I'd feel comfortable releasing the indicator because I'm using C# Reflection to get at some methods NT has not exposed. The methods are VERY, VERY volatile, meaning NT could, and will, change them without notice breaking the indicator.

Samurai

Reply With Quote
Thanked by:




Last Updated on January 29, 2024


© 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