NexusFi: Find Your Edge


Home Menu

 





can you get a horizontal line at the current high of the volume indicator


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 anniebee321 
london
 
Experience: Beginner
Platform: ninja
Trading: fgbl
Posts: 138 since Nov 2009
Thanks Given: 64
Thanks Received: 44

Hi there,
does anybody know how to code a "price line indicator" this draws a horizontal line at the current price - but what i would like is a horizontal line at the current high of the volumeupdown indicator in the indicator panel. many thanks for your help


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Deal "In Review" at 87% on Deadline Day - …
Prediction Markets & Event Contracts
Post-Summit Scorecard: $36M in May 15 Bets Settle Near-Z …
Prediction Markets & Event Contracts
Weekend Update: First Qatari LNG Transit Attempted -- IR …
Traders Hideout
Irans Answer Due Today: Peace Surges to 33.5%, Invasion …
Prediction Markets & Event Contracts
Warsh Opens Today, Hormuz June 19 -- WTI Below $80, Fran …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117



anniebee321 View Post
Hi there,
does anybody know how to code a "price line indicator" this draws a horizontal line at the current price - but what i would like is a horizontal line at the current high of the volumeupdown indicator in the indicator panel. many thanks for your help


Here is a simple version that works in real-time. It does not use a custom plot, but the line adjusts to the last bar in your database.

If you scroll the chart back horizontally, the line will keep its last value, this is expected. You can update the chart then via F5. If you scroll the chart forward the line will update.

If you want that the line aligns itself to the last bar plotted on the chart, this would require a custom plot and cannot be done in a few minutes.


Attached Thumbnails
Click image for larger version

Name:	TF 12-10 (3 Min)  10_12_2010.jpg
Views:	448
Size:	82.1 KB
ID:	26819  
Attached Files
Elite Membership required to download: VolumeUpDownLine.zip
Reply With Quote
Thanked by:
  #4 (permalink)
 anniebee321 
london
 
Experience: Beginner
Platform: ninja
Trading: fgbl
Posts: 138 since Nov 2009
Thanks Given: 64
Thanks Received: 44

woohoo!!! many thanks fat tails
anniebee


Started this thread Reply With Quote
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117


anniebee321 View Post
woohoo!!! many thanks fat tails
anniebee

First try it. To understand the limitation of the indicator:

If you compare the NinjaTrader default RegressionChannel indicator to the RegressionChannel indicator that I posted, you will find

- that one keeps itself aligned to the last bar of the database
- whereas the other one moves with the chart window

That solution is possible as well, but requires more coding.


Reply With Quote




Last Updated on December 10, 2010


© 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