NexusFi: Find Your Edge


Home Menu

 





Want to duplicate SierraChart Time and Sales Bid & Ask Study/Indicator


Discussion in NinjaTrader

Updated
    1. trending_up 2,138 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
 vantojo 
Vilcabamba, Ecuador
 
Experience: Intermediate
Platform: Ninja
Trading: NQ, UB
Posts: 204 since Jul 2012

Hi guys,

I'm trying to duplicate the SierraChart in Ninja 7 (yes, I know, time to go to Ninja 8, I have to much code to change at the moment).

I've attached my attempt. I put the plotting in a timer because the indicator was stuck to the interval of the chart and not updating.

Still it does not work like I want. Ninja advised that I do a PLOT OVERRIDE, which I'm not sure how to do with this.

Can anyone fix the attached code (for NT 7) so the display flows like SierraChart?

On the chart, I hide the Data Series setting the
Chart Style to Line on Close
Line width 1
Color Transparent

and then set this indicator to
CalculateOnBarClose False
Panel Same as input Series


Attached Files
Elite Membership required to download: BidAskLine.cs
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Datafeed for Atas
Platforms and Indicators
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Ninjatrader users - good CONNECTIONs post and article fr …
NinjaTrader
Czechia Live at 52.5% as England Rides 4-2 Wave to Co-Fa …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098



vantojo View Post
Hi guys,

I'm trying to duplicate the SierraChart in Ninja 7...

upload a picture if sieerachart you try to duplicate.


Reply With Quote
  #4 (permalink)
 vantojo 
Vilcabamba, Ecuador
 
Experience: Intermediate
Platform: Ninja
Trading: NQ, UB
Posts: 204 since Jul 2012


cory View Post
upload a picture if sieerachart you try to duplicate.

ok, the top of the chart is a 5 minute candlestick

the bottom of the chart is the indicator I want to reproduce

it scrolls time/sales bid/ask real time right to left, fast....NOT in synch with the 5 minute chart, the scrolling in completely independent

(Sierrachart) once a line segment is drawn it does not change and the scrolling is fast

the Ninja indicator I uploaded (in this thread) is in a timer (1/2 second) so that at least it scrolls, otherwise it only scrolls with the instrument interval, even if the instrument is hidden

the Ninja indicator also will often draw a line segment then erase it, and draw another segment in the same place without scrolling...I have no idea why

I found I really like the simple SierraChart indicator....I had to go to SierraChart so that I could get the Bitmex stream...Ninja does not have an interface...and once I started playing with SierraChart, it is really cool....!!


Attached Thumbnails
Click image for larger version

Name:	XBTUSD-BMEX  5 Min   #4 2017-07-24  18_32_08.446.png
Views:	305
Size:	61.7 KB
ID:	238812  
Started this thread Reply With Quote
  #5 (permalink)
 vantojo 
Vilcabamba, Ecuador
 
Experience: Intermediate
Platform: Ninja
Trading: NQ, UB
Posts: 204 since Jul 2012

more information

the time - sales - bid ask indicator IS NOT synched with the X Time axis....it is independent


Started this thread Reply With Quote




Last Updated on July 24, 2017


© 2026 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 - Downloads - Top
no new posts