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,850 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?
GDP Day: The First Economic Reckoning -- Pahlavi at 6.55 …
Prediction Markets & Event Contracts
Day 97: Israel-Lebanon Ceasefire Struck Overnight -- WTI …
Traders Hideout
CME Cuts Precious Metals Margins Up to 21% Starting Toda …
Commodities
SEC and CFTC Unlock Customer Cross-Margining for Treasur …
Treasury Notes and Bonds
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #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



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