Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ploting More Data than Usual OLHC... Any Guidance?

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

    Ploting More Data than Usual OLHC... Any Guidance?

    Folks,

    For my research I calculated two types of Datapoints along with Usual OHLC. So lets call it

    1) Weighted Av Price P1 and
    2) Weighted Av Price P2

    I want to Plot these both P1 and P2 along with OHLC.

    So say P1 has yellow Color and P2 has Blue Color. It can be just a Noticable Point on the SPread Bar.

    How to do it?

    Any Help Please?

    #2
    Hello RitikaGupta,

    You would accomplish this by creating an indicator which plotted the values.

    If your Weighted Av Price P1 and Weighted Av Price P2 are calculated using the OHLCVT variables, then this is very straightforward.

    1) Make a new indicator with two plots
    2) Add your calculation logic for each bar of each plot to the OnBarUpdate method
    3) Compile and add your indicator to a chart

    If you would like further assistance with this, please elaborate on exactly how you are calculating the P1 and P2 values.

    If they are calculated based on external data, then you will either need plot a pre-calculated list of values or grab your data per bar or tick, the method of which will depend on how and where you have your external data stored.

    Please let me know if I may be of further assistance.
    Michael M.NinjaTrader Quality Assurance

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ender_wiggum, Today, 09:50 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by rajendrasubedi2023, Today, 09:50 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by geotrades1, Today, 10:02 AM
    0 responses
    4 views
    0 likes
    Last Post geotrades1  
    Started by bmartz, Today, 09:30 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by geddyisodin, Today, 05:20 AM
    3 responses
    25 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X