NexusFi: Find Your Edge


Home Menu

 





Drawing a line on the price panel from within GomDeltaMomentum


Discussion in Traders Hideout

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




 
Search this Thread

Drawing a line on the price panel from within GomDeltaMomentum

  #1 (permalink)
 THEHAWKE 
Brielle, NJ
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 7 since Jan 2011
Thanks Given: 0
Thanks Received: 1

I am developing divergence detection code in NT7 within the GomDeltaMomentum indicator. I would like to draw a line on the price panel when I detect a divergence. I can only draw a line on the indicator panel. I see where the code has "Draw on price panel = false;" and "Overlay = false" in the GomInitialize section. I tried adding "Draw on PricePanel = true" just before my drawline code but that didn't work. I tried using "Overlay = true" but that didn't work.

Any help would be appreciated.

Merrill

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trend Direction Force Index (TDFI)
Platforms and Indicators
 
  #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



THEHAWKE View Post
I am developing divergence detection code in NT7 within the GomDeltaMomentum indicator. I would like to draw a line on the price panel when I detect a divergence. I can only draw a line on the indicator panel. I see where the code has "Draw on price panel = false;" and "Overlay = false" in the GomInitialize section. I tried adding "Draw on PricePanel = true" just before my drawline code but that didn't work. I tried using "Overlay = true" but that didn't work.

Any help would be appreciated.

Merrill

here is a sample, NOTE that this is not an indicator, it's just a coding sample of how to draw on both panels.

Attached Thumbnails
Click image for larger version

Name:	ES 09-16 (60 Min)  7_29_2016.jpg
Views:	170
Size:	56.4 KB
ID:	213085  
Attached Files
Elite Membership required to download: draw2sample.cs
Reply With Quote
Thanked by:
  #4 (permalink)
 THEHAWKE 
Brielle, NJ
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 7 since Jan 2011
Thanks Given: 0
Thanks Received: 1

Thanks Cori,

I will check it out later and let you know if it solves my problem. It looks good at first glance.

Started this thread Reply With Quote




Last Updated on July 31, 2016


© 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