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,503 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:	208
Size:	28.4 KB
ID:	47689   Click image for larger version

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

Can you help answer these questions
from other members on NexusFi?
Penalties in Budapest, Peace Deadline in Tehran: Arsenal …
Prediction Markets & Event Contracts
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
Commodities
Hormuz Surges From 14% to 26.5% Intraday as Irans Answer …
Prediction Markets & Event Contracts
Iran Update May 8: Still Reviewing MOU, Demands Reparati …
Traders Hideout
CPI Eve: Fed Hike Odds Hold at 52% for the First Time, I …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #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://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