• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator using Cash Value

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Indicator using Cash Value

    Hello,

    I would like to desing an indicator to do something considering the Cash Value of my real account.

    For example:

    If (Cash value of my real account > 5.000 €)
    Indicator value = 1;
    else
    Indicator value = 0;


    Is that possible? If the answer is yes I would be glad if you could give some information about how to do it.

    Thank you in advance.

    #2
    Hello,

    Thank you for the question.

    While running a strategy you could utilize the GetAccountValue() method. This allows you to get various values from the Account.

    http://ninjatrader.com/support/helpG...tsub=cashvalue

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by williamzz, Today, 03:10 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by cabum, 09-25-2018, 06:46 AM
    8 responses
    231 views
    0 likes
    Last Post koganam
    by koganam
     
    Started by saeed, Today, 02:07 PM
    6 responses
    12 views
    0 likes
    Last Post NinjaTrader_Heath  
    Started by 7robert, Today, 01:40 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by bortz, Today, 12:57 PM
    3 responses
    17 views
    0 likes
    Last Post NinjaTrader_PatrickH  
    Working...
    X