NexusFi: Find Your Edge


Home Menu

 





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


Discussion in NinjaTrader

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




 
Search this Thread

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

  #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?
MC PL editor upgrade
MultiCharts
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
 
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090



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:	218
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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts