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 DannyP96, 05-18-2026, 02:38 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    226 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    417 views
    0 likes
    Last Post CaptainJack  
    Working...
    X