NexusFi: Find Your Edge


Home Menu

 





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


Discussion in NinjaTrader

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




 
Search this Thread

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

  #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: 1

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?
ZombieSqueeze
Platforms and Indicators
Quant vue
Trading Reviews and Vendors
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
 




Last Updated on June 1, 2019


© 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