Thanks
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Horizontal line that starts at a specific bar/time
Collapse
X
-
Horizontal line that starts at a specific bar/time
Are there any indicators for drawing a simple horizontal line that start at say 10:50 am? instead of drawing a line that goes for infinity in both directions backwards and forwards in time, I would like one that starts at a specific time and only goes forward from there. If i could right click and add it it would be great.
ThanksTags: None
-
Hello markus3500,
Thanks for opening the thread.
I am not aware of a specific indicator that accomplishes this, but it would not be hard to write an indicator that places a Ray drawing object from the time specified into the future.
I'll include some resources that can point you in the right direction for creating indicators and using DrawRay(), but I should also note that this task could be accomplished by manually placing a Ray drawing object and adjusting its anchors to be at the time specified.
If you are new to creating NinjaScripts, I recommend reviewing the tutorials we have in the NinjaTrader 7 help guide and then referencing the DrawRay() documentation for adding the DrawRay(). You may also wish to get more acquainted with NinjaScripts by using the Strategy Wizard to construct the logic in a strategy.
Indicator tutorials for NinjaTrader 7 can be found here - https://ninjatrader.com/support/help...ndicators2.htm
DrawRay() - https://ninjatrader.com/support/help...t7/drawray.htm
Strategy Wizard 301 - https://www.youtube.com/watch?v=FmBiNYsf1e8
Please let me know if we can be of further assistance.JimNinjaTrader Customer Service
-
Cant believe i never used Ray..... problem solved .... this works perfect for what i need
many thanks
Originally posted by NinjaTrader_Jim View PostHello markus3500,
Thanks for opening the thread.
I am not aware of a specific indicator that accomplishes this, but it would not be hard to write an indicator that places a Ray drawing object from the time specified into the future.
I'll include some resources that can point you in the right direction for creating indicators and using DrawRay(), but I should also note that this task could be accomplished by manually placing a Ray drawing object and adjusting its anchors to be at the time specified.
If you are new to creating NinjaScripts, I recommend reviewing the tutorials we have in the NinjaTrader 7 help guide and then referencing the DrawRay() documentation for adding the DrawRay(). You may also wish to get more acquainted with NinjaScripts by using the Strategy Wizard to construct the logic in a strategy.
Indicator tutorials for NinjaTrader 7 can be found here - https://ninjatrader.com/support/help...ndicators2.htm
DrawRay() - https://ninjatrader.com/support/help...t7/drawray.htm
Strategy Wizard 301 - https://www.youtube.com/watch?v=FmBiNYsf1e8
Please let me know if we can be of further assistance.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by mmenigma, Yesterday, 03:25 PM
|
1 response
11 views
0 likes
|
Last Post Today, 06:09 AM | ||
Started by kujista, Today, 05:44 AM
|
0 responses
6 views
0 likes
|
Last Post
by kujista
Today, 05:44 AM
|
||
Started by ZenCortexCLICK, Today, 04:58 AM
|
0 responses
9 views
0 likes
|
Last Post Today, 04:58 AM | ||
Started by sidlercom80, 10-28-2023, 08:49 AM
|
172 responses
2,281 views
0 likes
|
Last Post
by sidlercom80
Today, 04:40 AM
|
||
Started by Irukandji, Yesterday, 02:53 AM
|
2 responses
18 views
0 likes
|
Last Post
by Irukandji
Today, 03:55 AM
|
Comment