NexusFi: Find Your Edge


Home Menu

 





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


Discussion in NinjaTrader

Updated
    1. trending_up 802 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?
MC PL editor upgrade
MultiCharts
Better Renko Gaps
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
Strategy stop orders partially filled
EasyLanguage Programming
Footprint for strategy Builder
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
57 thanks
Trading with Intuition
16 thanks
Self sabotage reframed
15 thanks
Joes Trading Garage
13 thanks
GFIs1 1 DAX trade per day journal
11 thanks




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