NexusFi: Find Your Edge


Home Menu

 





Code to draw a hash on the main price window


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one cunparis with 5 posts (0 thanks)
    2. looks_two cory with 3 posts (2 thanks)
    3. looks_3 wh with 2 posts (1 thanks)
    4. looks_4 Saroj with 1 posts (0 thanks)
    1. trending_up 9,316 views
    2. thumb_up 4 thanks given
    3. group 3 followers
    1. forum 10 posts
    2. attach_file 4 attachments




 
Search this Thread
  #1 (permalink)
 
cunparis's Avatar
 cunparis 
Paris, France
 
Experience: Advanced
Platform: Market Delta & Ninjatrader
Trading: ES
Posts: 2,565 since Jun 2009
Thanks Given: 1,162
Thanks Received: 2,095

I'd like to draw a hash mark on the price panel and have it update with the status of another indicator. It'll be blue or red. I think I remember mike's miketrend doing this but I never got the code for it. If anyone knows of an indicator that does this please let me know.

The reason I'd like to do this is I'd like to have the color for a moving average on a higher & lower timeframe. That way I can see what the other timeframes are doing at a glance. I understand that to do that one has to use a strategy.

Thanks.


Follow me on X Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
AI for Traders — Agents, Memory, Tools & Real-Worl …
Elite Quantitative GenAI/LLM
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
My Rant with AMP Futures
Trading Reviews and Vendors
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
 
  #2 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512

cunparis look into this

Multiple Timeframes - Page 2 - NinjaTrader Support Forum

perhaps it solves your problem ...


Reply With Quote
  #3 (permalink)
 
cunparis's Avatar
 cunparis 
Paris, France
 
Experience: Advanced
Platform: Market Delta & Ninjatrader
Trading: ES
Posts: 2,565 since Jun 2009
Thanks Given: 1,162
Thanks Received: 2,095



wh View Post
cunparis look into this

Multiple Timeframes - Page 2 - NinjaTrader Support Forum

perhaps it solves your problem ...

Thanks for the link. The MTF thing is ok for me and I can draw text in the top right corner but I'm not sure how to draw a dot there.


Follow me on X Started this thread Reply With Quote
  #4 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: NQ / ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,830 since Aug 2009
Thanks Given: 11,805
Thanks Received: 3,057


cunparis View Post
Thanks for the link. The MTF thing is ok for me and I can draw text in the top right corner but I'm not sure how to draw a dot there.

Is this what you need?

You can use the wingdings or wingdings1,2,3 to get all types of symbols.

I've put one in each corner and in the indicator panels.

You can change them as needed in the script.


Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Attached Thumbnails
Click image for larger version

Name:	EWE.jpg
Views:	369
Size:	65.9 KB
ID:	4513  
Attached Files
Elite Membership required to download: DrawOnPriceNC.zip
Follow me on X Reply With Quote
Thanked by:
  #5 (permalink)
 
cunparis's Avatar
 cunparis 
Paris, France
 
Experience: Advanced
Platform: Market Delta & Ninjatrader
Trading: ES
Posts: 2,565 since Jun 2009
Thanks Given: 1,162
Thanks Received: 2,095


DavidHP View Post
Is this what you need?

You can use the wingdings or wingdings1,2,3 to get all types of symbols.

I've put one in each corner and in the indicator panels.

You can change them as needed in the script.

This will work great! Good idea to use wingdings as the font. I didn't think of that. Thanks!


Follow me on X Started this thread Reply With Quote
  #6 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512

or you overwrite the plot method ...

for more Opportunities


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

did you check out TRO_SM_CandleColor2?


Attached Thumbnails
Click image for larger version

Name:	6gybs6w.png
Views:	396
Size:	18.6 KB
ID:	4519  
Reply With Quote
Thanked by:
  #8 (permalink)
 
cunparis's Avatar
 cunparis 
Paris, France
 
Experience: Advanced
Platform: Market Delta & Ninjatrader
Trading: ES
Posts: 2,565 since Jun 2009
Thanks Given: 1,162
Thanks Received: 2,095

Ok the TRO indicator is exactly what I was after. Doesn't seem that complicated either.
Thanks Cory


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

signal bar Links and Downloads Manager - NinjaTrader Support Forum


Attached Thumbnails
Click image for larger version

Name:	bars.jpg
Views:	345
Size:	105.3 KB
ID:	4605  
Reply With Quote
Thanked by:
  #10 (permalink)
 
cunparis's Avatar
 cunparis 
Paris, France
 
Experience: Advanced
Platform: Market Delta & Ninjatrader
Trading: ES
Posts: 2,565 since Jun 2009
Thanks Given: 1,162
Thanks Received: 2,095




Exactly what I want to do. Thank you Cory.


Follow me on X Started this thread Reply With Quote




Last Updated on November 17, 2009


© 2026 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 - Downloads - Top
no new posts