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 1,889 views
    2. thumb_up 4 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 2 attachments




 
Search this Thread

Indicator plot syntax

  #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:	105
Size:	28.4 KB
ID:	47689   Click image for larger version

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

Can you help answer these questions
from other members on NexusFi?
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Deepmoney LLM
Elite Quantitative GenAI/LLM
Better Renko Gaps
The Elite Circle
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


check out Zorder
zOrder, Putting Indicators behind Price. - [AUTOLINK]NinjaTrader[/AUTOLINK] Support Forum

Reply With Quote
Thanked by:
  #4 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts