NexusFi: Find Your Edge


Home Menu

 





Indicator plot syntax


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one pequemec with 2 posts (0 thanks)
    2. looks_two Fat Tails with 1 posts (3 thanks)
    3. looks_3 cory with 1 posts (1 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 2,693 views
    2. thumb_up 4 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
 pequemec 
Elche, Spain
 
Experience: None
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: ES
Posts: 14 since Jul 2009
Thanks Given: 6
Thanks Received: 1

Hello,

I have a problem. When programming my indicators do not know what the syntax I am to use to plot the indicator always above the candlestick and not below the candlestick. View attached images. Can you help me?

Thanks in advance.


Attached Thumbnails
Click image for larger version

Name:	indicator correct.png
Views:	231
Size:	28.4 KB
ID:	47689   Click image for larger version

Name:	indicator incorrect.png
Views:	193
Size:	21.0 KB
ID:	47690  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My Rant with AMP Futures
Trading Reviews and Vendors
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
What we know about Binances $6.3bn hack - BBC News
Cryptocurrency
AI for Traders — Agents, Memory, Tools & Real-Worl …
Elite Quantitative GenAI/LLM
 
  #3 (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


check out Zorder
zOrder, Putting Indicators behind Price. - NinjaTrader Support Forum


Reply With Quote
Thanked by:
  #4 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117

You can add the indicator to your chart, then select the plot on your chart, press the SHIFT button of your keyboard and turn the wheel of your mouse.

This allows you to have the plot either behind or in front of the candles.


The property can also be accessed programmatically.

If you add the line "ZOrder = 1;" to the Initialize() section of your indicator, the indicator should plot behind the candles. If you add "ZOrder = 10;" instead it should plot on top of the candles.

For more information, see this thread.

https://www.ninjatrader.com/support/forum/showthread.php?t=21838&highlight=ZOrder&page=2


Reply With Quote
Thanked by:
  #5 (permalink)
 pequemec 
Elche, Spain
 
Experience: None
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: ES
Posts: 14 since Jul 2009
Thanks Given: 6
Thanks Received: 1

Thank you very much for your answers.


Started this thread Reply With Quote




Last Updated on August 30, 2011


© 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