NexusFi: Find Your Edge


Home Menu

 





I need help with code to add color to candles/bars ?? -- Ninjatrader 8


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one SJunior with 6 posts (0 thanks)
    2. looks_two zt379 with 3 posts (2 thanks)
    3. looks_3 EDGE with 2 posts (2 thanks)
    4. looks_4 DavidHP with 1 posts (0 thanks)
    1. trending_up 1,261 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 10 posts
    2. attach_file 1 attachments




 
Search this Thread
  #11 (permalink)
 zt379 
UK London
Legendary Market Wizard
 
Platform: NT
Posts: 2,166 since Sep 2009
Thanks Given: 1,637
Thanks Received: 2,162


SJunior View Post
Thank you for your help.

So that I understand, why does [0] have to be used and when do I have to change it to [1] or [2] or [3]......?

See EDGE's post 5.

[0] refers to the current bar.

So for example Close[0] refers to the close of the current bar,

[1] refers to one bar back

So Close[1] refers to the close of the previous bar.

[2] is two bars back...etc..

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Elite Trader Funding, Avoid?
Funded Trading Evaluation Firms
Volumetric charts
The Elite Circle
Help re translation of ninjascript to EL
NinjaTrader
Quantum physics & Trading dynamics
The Elite Circle
What You Know vs How much you know about it
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
HumbleTraders next chapter
47 thanks
Tao te Trade: way of the WLD
45 thanks
What is Markets Chat (markets.chat) real-time trading ro …
36 thanks
ApexTraderFunding.com experience and review
26 thanks
1 Minute Man
19 thanks




Last Updated on June 30, 2023


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