Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Please help me with this basic indicator

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

    Please help me with this basic indicator

    Hi,

    I need an idea of how to create a very basic indicator. All I want to do is take the session open (very similar to the CurrentDayOHLC NT indicator) and subtract it by 20pts and display this value on the chart in the same manner.

    I have never used NinjaScript before, apart from the tutorials, but I am still struggling to understand how to do the above.

    Any help will be greatly appreciated, I am a fully licensed user by the way.

    Thank you in advance

    #2
    suprsnipes, please try something like this to get this value with 20 tick offset -

    Code:
     
    double myOffsetOpen = CurrentDayOHL().CurrentOpen[0] - 20 * TickSize;
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by md4866, 05-01-2024, 08:15 PM
    2 responses
    18 views
    0 likes
    Last Post md4866
    by md4866
     
    Started by samish18, Today, 12:20 PM
    0 responses
    7 views
    0 likes
    Last Post samish18  
    Started by thread, 04-15-2024, 11:58 PM
    3 responses
    48 views
    0 likes
    Last Post Georg1o
    by Georg1o
     
    Started by leojimenezp, 04-20-2024, 05:49 PM
    4 responses
    50 views
    0 likes
    Last Post leojimenezp  
    Started by nicthe, Today, 09:24 AM
    1 response
    8 views
    0 likes
    Last Post nicthe
    by nicthe
     
    Working...
    X