NexusFi: Find Your Edge


Home Menu

 





How to use declared variable in protected override void OnBarUpdate() functions


Discussion in NinjaTrader

Updated
    1. trending_up 1,148 views
    2. thumb_up 2 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
hotshots's Avatar
 hotshots 
Ankara
 
Experience: Beginner
Platform: NinjaTrader, MetaTrader
Broker: NinjaTrader Brokerage
Trading: gc
Posts: 4 since Apr 2019
Thanks Given: 2
Thanks Received: 2

Hello i would like to use variable in OnBarUpdate() .




for example

protected override void OnBarUpdate()
{

if (drawdarrow)
Draw.ArrowDown(this, @"tag1"+this.CurrentBar, true, 0, High[0] + TickSize, Brushes.Red,true);

}


Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Hungary Called for Magyar at 97pct, Ending 16-Year Orban …
Prediction Markets & Event Contracts
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
Prediction Markets Expiry Day: Trump Eyes War Exit, $230 …
Prediction Markets & Event Contracts
Weekend Update: First Qatari LNG Transit Attempted -- IR …
Traders Hideout
Bookmap Global Plus Lifetime + Lifetime Addons For Sale
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks




Last Updated on June 1, 2019


© 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