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,960 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 2 attachments




 
Search this Thread
  #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?
April Jobs Beat Flips Fed Hike Odds Past 52% for First T …
Traders Hideout
The June 15 Resolution Trap: Irans Agreed Text Still Pri …
Prediction Markets & Event Contracts
Iran Airspace Contract Surges to 33.5% as Project Freedo …
Prediction Markets & Event Contracts
Khamenei Vetoes Uranium Transfer as Peace Odds Surge to …
Prediction Markets & Event Contracts
Bookmap Global Plus Lifetime + Lifetime Addons For Sale
Platforms and Indicators
 
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)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098



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


© 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