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 cory with 1 posts (1 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 Fat Tails with 1 posts (3 thanks)
    1. trending_up 2,395 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:	188
Size:	28.4 KB
ID:	47689   Click image for larger version

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

Can you help answer these questions
from other members on NexusFi?
Energy Futures Shatter All-Time Daily Volume: 8.3 Millio …
Commodities
Orban Crashes to 21pct on Record Turnout -- McIlroy Drop …
Prediction Markets & Event Contracts
New Section 301 Probes Target 16 Trading Partners -- Tra …
Traders Hideout
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
Kraken Becomes First US Digital Asset Bank With Direct F …
Cryptocurrency
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
22 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
5 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


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
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,114

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://forum.ninjatrader.com/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