NexusFi: Find Your Edge


Home Menu

 





Scrolls_Lite ( Vertical Drag/AutoScroll)


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one TikDaddy with 6 posts (17 thanks)
    2. looks_two devdas with 4 posts (39 thanks)
    3. looks_3 Cheech with 3 posts (0 thanks)
    4. looks_4 superpete with 3 posts (1 thanks)
      Best Posters
    1. looks_one devdas with 9.8 thanks per post
    2. looks_two TikDaddy with 2.8 thanks per post
    3. looks_3 Silvester17 with 1.5 thanks per post
    4. looks_4 cory with 1 thanks per post
    1. trending_up 17,800 views
    2. thumb_up 68 thanks given
    3. group 14 followers
    1. forum 29 posts
    2. attach_file 1 attachments




 
Search this Thread

Scrolls_Lite ( Vertical Drag/AutoScroll)

  #11 (permalink)
 Cheech 
Mesa, AZ/USA
 
Experience: Intermediate
Platform: NinjaTrader, ThinkorSwim
Broker: AMP Futures/CQG, TDA
Trading: Currency Futures, my Harley Davidson
Posts: 107 since Jun 2012
Thanks Given: 43
Thanks Received: 133


TikDaddy View Post
devdas

I have been using a modified version of your great indicator for years. I had previously used eSignal which had chart dragging as a standard feature. When I switched to Ninja, I was constantly annoyed with it. Your code has perfectly fixed that for me with just a little tweaking.

I uploaded a tweaked version, called 'ScrollsRite', here:


Many thanks.

TikDaddy

I downloaded and installed ScrollsRite but can not get it to work. I know it's in the chart as a middle click displays what is normally in the data window. I've tried left clicking and pushing the mouse to the top of the chart as per the instructions for ScollsLite thinking that might enable it. What am I doing wrong or not doing?

BTW, I'm using SveRenko bars.

Thanks

**Update:

I just tried it with a time chart (seconds) and it works fine. It also works okay with UniRenko bars (limited testing).

**Update 2
An interesting "anomaly". If the chart has 2 instruments middle clicking on the 2nd instrument will display the correct chart data however, the chart can not be scrolled. After removing the second instrument the ability to scroll the chart in the original instrument stopped. Deleting and re-adding ScrollRite did not help.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
22 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #12 (permalink)
 TikDaddy 
Michigan
 
Experience: Intermediate
Platform: Ninja,Esig,TS
Trading: ES,NQ,6C,ZB
Posts: 7 since Jul 2010
Thanks Given: 0
Thanks Received: 17

Cheech,

I just now saw your post. I am not always near my computer.

When using custom bar types, it may be that the code simply won't work. I have a few of the popular custom renko types, and it seems to work with them OK. I'll need to take a look at the bars you are using.

A few things must be noted with regard to multiple instruments though. The code examines the Scale values on the far right of the topmost chart, and it relies on those values to accomplish its magic. You will find that it will completely ignore any extra instruments that are loaded into the next lower panes. In the case of these extra panes, you should find that you can still scroll them using the conventional Ninja style 'ctrl - drag' on price scale. The code does not interfere with Ninja style scrolling.

I hope you can get by with it somehow. I would hate to give it up.

Good luck.

TikDaddy

Reply With Quote
Thanked by:
  #13 (permalink)
 Cheech 
Mesa, AZ/USA
 
Experience: Intermediate
Platform: NinjaTrader, ThinkorSwim
Broker: AMP Futures/CQG, TDA
Trading: Currency Futures, my Harley Davidson
Posts: 107 since Jun 2012
Thanks Given: 43
Thanks Received: 133



TikDaddy View Post
Cheech,

I just now saw your post. I am not always near my computer.

When using custom bar types, it may be that the code simply won't work. I have a few of the popular custom renko types, and it seems to work with them OK. I'll need to take a look at the bars you are using.

A few things must be noted with regard to multiple instruments though. The code examines the Scale values on the far right of the topmost chart, and it relies on those values to accomplish its magic. You will find that it will completely ignore any extra instruments that are loaded into the next lower panes. In the case of these extra panes, you should find that you can still scroll them using the conventional Ninja style 'ctrl - drag' on price scale. The code does not interfere with Ninja style scrolling.

I hope you can get by with it somehow. I would hate to give it up.

Good luck.

TikDaddy

TikDaddy:

Thanks for the info. I did notice that it worked with other Renko bars.

I now understand why it doesn't work with multiple instruments and can work around that. Not sure if you noticed the other 2 problems. If there are 2 instruments in the chart it only works with one as mentioned however, removing the 2nd instrument causes it to stop working on the first, at least it did on my system. The other problem as show in the screen capture was clicking on the indicated icon shown in the ss will also cause it to stop working (without having 2 instruments at all).

Thanks for looking into this as it's a pretty cool indicator.

**Update

I just look back at my previous post and can not find the one with the screen shot that I mentioned above. I was pretty sure that I posted it after reviewing it, but maybe not. It's posted here.

Attached Thumbnails
Click image for larger version

Name:	ScrollRite.png
Views:	318
Size:	48.4 KB
ID:	174542  
Reply With Quote
  #14 (permalink)
 TikDaddy 
Michigan
 
Experience: Intermediate
Platform: Ninja,Esig,TS
Trading: ES,NQ,6C,ZB
Posts: 7 since Jul 2010
Thanks Given: 0
Thanks Received: 17

Cheech,

Pressing the "F" button enables a built in feature of Ninja that will automatically center the bars in the window. It also keeps them centered as you drag the chart to the right. In this mode, ScrollsRite is effectively disabled. However, if you 'click-drag' on the right hand price scale, it will release control back to ScrollsRite.

I can confirm that removing a second instrument from the chart will cause loss of scrolling ability. It will not restart as you say, even if you remove and reinsert it. Generally, you can right click and 'Reload NinjaScript' to reset some scripts, but this dosen't appear to fix it either.

I'll look into it and see if I can detect what is not happening under the hood and get back to you.

TD

Reply With Quote
Thanked by:
  #15 (permalink)
 Cheech 
Mesa, AZ/USA
 
Experience: Intermediate
Platform: NinjaTrader, ThinkorSwim
Broker: AMP Futures/CQG, TDA
Trading: Currency Futures, my Harley Davidson
Posts: 107 since Jun 2012
Thanks Given: 43
Thanks Received: 133


TikDaddy View Post
Cheech,

Pressing the "F" button enables a built in feature ...

TD

TicDaddy:

I was familiar with that feature and use it, which is how I found the "problem". What I didn't know was how to get ScrollRite working again.

Drag/clicking on the right hand price scale did re-enable it.

Thank you.

Reply With Quote
  #16 (permalink)
 TikDaddy 
Michigan
 
Experience: Intermediate
Platform: Ninja,Esig,TS
Trading: ES,NQ,6C,ZB
Posts: 7 since Jul 2010
Thanks Given: 0
Thanks Received: 17

Cheech,

I restarted Ninja, and loaded one single chart just to toy with it. Strangely, I can freely add or subtract another instrument to the window without the wonky behavior I saw earlier. I had three instruments up with no problem. I need some more time with this.

TD

Reply With Quote
Thanked by:
  #17 (permalink)
 superpete 
Montreal, Quebec
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Optimus Trading Group/Rithmic
Trading: CL
Posts: 69 since Oct 2009
Thanks Given: 269
Thanks Received: 34

It seems scrolls lite was causing a problem when I was reloading historical data, which I tend to do a lot...

2015-02-25 09:45:58 Default Error on calling 'OnTermination' method for indicator 'ScrollsRite': You are accessing an index with a value that is invalid since its out of range. I.E. accessing a series [barsAgo] with a value of 5 when there are only 4 bars on the chart.

I do like the indie though, thanks a lot for sharing


Pierre

Reply With Quote
Thanked by:
  #18 (permalink)
 TikDaddy 
Michigan
 
Experience: Intermediate
Platform: Ninja,Esig,TS
Trading: ES,NQ,6C,ZB
Posts: 7 since Jul 2010
Thanks Given: 0
Thanks Received: 17

superpete,

I have not seen this error myself. I tried in vain to duplcate the error by reloading historic data many times and had no luck.

As an experiment, try to get the error when there are no other indicators or strategies ( except ScrollsRite ) loaded onto your chart. I woud be curious to know if the situation changes.

TD

Reply With Quote
Thanked by:
  #19 (permalink)
 superpete 
Montreal, Quebec
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Optimus Trading Group/Rithmic
Trading: CL
Posts: 69 since Oct 2009
Thanks Given: 269
Thanks Received: 34

OK I'll try it as soon as I can... I am spending this week away from the world in a Benedictine abbey... Maybe I should turn my phone off and really get away!
Pierre

Reply With Quote
  #20 (permalink)
 superpete 
Montreal, Quebec
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Optimus Trading Group/Rithmic
Trading: CL
Posts: 69 since Oct 2009
Thanks Given: 269
Thanks Received: 34


Hi @TikDaddy ,

I tried scrollsrite again and it seems to work fine. Very useful. Thanks a lot!

Great name by the way!

Pete

Reply With Quote




Last Updated on September 10, 2018


© 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