NexusFi: Find Your Edge


Home Menu

 





horizontal line to update with real time price - NT7


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Tarkus11 with 1 posts (3 thanks)
    2. looks_two Traderji with 1 posts (0 thanks)
    3. looks_3 shuglu with 1 posts (0 thanks)
    4. looks_4 cory with 1 posts (0 thanks)
    1. trending_up 9,097 views
    2. thumb_up 6 thanks given
    3. group 5 followers
    1. forum 6 posts
    2. attach_file 3 attachments




 
Search this Thread
  #1 (permalink)
 gparkis 
New York City, NY/USA
 
Experience: Intermediate
Platform: NT
Trading: 6E, ZN, CL
Posts: 121 since Dec 2010
Thanks Given: 3
Thanks Received: 74

looking for a way to code a horizontal line to update in real time to reflect current price. I remember finding this in many other platforms; however, currently in NT7 and miss it.

any help is appreciated!


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
SEC Advisory Committee Backs Tokenized Securities Exempt …
Traders Hideout
MegaETH Proves the Crowd Right: Prediction Markets Calle …
Prediction Markets & Event Contracts
Hormuz Normalization Collapses to 19.5% -- Iran Regime F …
Prediction Markets & Event Contracts
OneChronos Launches First Combinatorial Auction FX Venue …
Currencies
Cboe Files for Near 24x5 Equities Trading -- December 20 …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Algo automated / semi-automated trading anyone?
6 thanks
2026 Fire Horse
5 thanks
  #2 (permalink)
 Tarkus11 
East Coast
 
Experience: Beginner
Platform: Ninja
Trading: ES, NQ
Posts: 124 since Apr 2010
Thanks Given: 55
Thanks Received: 80

If it helps, I use this on my MP chart.


Attached Files
Elite Membership required to download: CurrentPriceLine.zip
Reply With Quote
Thanked by:
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


a fancy one


Reply With Quote
  #4 (permalink)
 Traderji 
Australia
 
Experience: Advanced
Platform: NinjaTrader, Multicharts
Trading: Spot Forex, Gold, Silver
Posts: 176 since Oct 2010
Thanks Given: 114
Thanks Received: 114

I wrote this a while ago. It doesn't do it in realtime though. If you draw,move a existing or remove a horizontal line press F5 to reload the script and the prices will update. It's F6 to draw a line and then F5 to display the price on the chart.


Attached Files
Elite Membership required to download: PriceOnLine.zip
Reply With Quote
  #5 (permalink)
 brevco 
Denham Springs, LA
 
Experience: Advanced
Platform: Amibroker / Ninja Trader
Broker: Mirus Zenfire
Trading: TF 6E NQ
Posts: 194 since May 2010
Thanks Given: 259
Thanks Received: 187

This one works in real time and it also plots current price.


Attached Files
Elite Membership required to download: PriceLine_Indicator_V_2_nt7.zip
Reply With Quote
Thanked by:
  #6 (permalink)
 brafra 
munich germany
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 2 since Jun 2016
Thanks Given: 0
Thanks Received: 0

In the meantime I have found a solution directly from NinjaTrader:
https://forum.ninjatrader.com/showthread.php?t=85757&highlight=current+price+line

Here is the video that explains how to do it: https://screencast.com/t/cUsfvkmqVBBo

This works also in NT8.

Best regards


Reply With Quote
  #7 (permalink)
 
shuglu's Avatar
 shuglu 
Melbourne
 
Experience: None
Platform: NinjaTrader
Broker: Amp/CQG
Trading: NQ
Posts: 71 since Jul 2012
Thanks Given: 312
Thanks Received: 94

SMA set to HLine with period 1.


Reply With Quote




Last Updated on August 23, 2016


© 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