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,860 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?
$24.5 Billion Record Month: Prediction Markets Shatter A …
Prediction Markets & Event Contracts
Orban Crashes to 21pct on Record Turnout -- McIlroy Drop …
Prediction Markets & Event Contracts
MES Trader Journal & Market Structure Discussion
Emini and Emicro Index
Prop Firms Are Banning Gold Trading as Record Prices Mak …
Funded Trading Evaluation Firms
Iran War Prediction Markets: Ceasefire 16%, Ground Invas …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
17 thanks
The Confluence Meter: A Multi-Layered Signal Framework B …
11 thanks
NT8 color choices
9 thanks
The Pivot Point 113.6³ — Navigating the Prediction of …
8 thanks
500 MES points a week
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:	249
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