NexusFi: Find Your Edge


Home Menu

 





ECO2New - how to get rid of the ECO Diff Text Box


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 232 since Jun 2009
Thanks Given: 28
Thanks Received: 40

I use the ECO2New Indicator on some of my charts. I want to keep the text box that says "Long" or "Fading" or Short" but I want to get rid of the lower box with says "ECO Diff +1.38' or something like that.

I tried to comment out the lines that I thought were appropriate but it left a black box were the ECO box once was. How do I get that to not plot the black box?

Here is a screenshot of a chart showing that little black box.
2009-06-17_1653

Any help is appreciated.

Thanks,
Todd


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
What we know about Binances $6.3bn hack - BBC News
Cryptocurrency
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
 
  #2 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 478 since Jun 2009
Thanks Given: 1,419
Thanks Received: 404

Todd,
In my ECO file from line 213, it looks like this...
I commented out the "DrawTextFixed" lines referencing "EcoDown" or "EcoUp"
Hope that helps
Kirk
(zeller4)

PS, I'm looking for the best settings for use with the TF Russell (if anybody has a preference they can share)


if(showText)
{
// if(eco[0]<eco[1])
// DrawTextFixed("EcoDown", " ECO Diff -" + ECOminus.ToString("0.00"), bPosition, Color.Black, new Font("Arial Narrow", 12), Color.Crimson, Color.Red, 10);
// else
// RemoveDrawObject("EcoDown");
//
// if(eco[0]>eco[1])
// DrawTextFixed("EcoUp", " ECO Diff +" + ECOplus.ToString("0.00"), bPosition, Color.Black, new Font("Arial Narrow", 12), Color.DarkGreen, Color.LimeGreen, 10);
// else
// RemoveDrawObject("EcoUp");

if(eco[0]<0 && average[0]<0 && eco[0]<average[0])


Attached Thumbnails
Click image for larger version

Name:	TF 09-09  6_17_2009 (150 Tick).jpg
Views:	504
Size:	95.0 KB
ID:	144  
Reply With Quote
Thanked by:
  #3 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 232 since Jun 2009
Thanks Given: 28
Thanks Received: 40


Thanks, Zeller... I did what you said and it gave me 4 errors in lines 301 thru 304 so I went back and messed around with it and finally got it to work.

In the end had to leave the lines which said "(eco[0]<eco[1])" as not commented out.
Not sure why but I'm just glad it's working.

Thanks for your help.

Todd


Started this thread Reply With Quote
  #4 (permalink)
J102491
Miami, Fl
 
Posts: 11 since Jun 2022
Thanks Given: 0
Thanks Received: 2


zeller4 View Post
Todd,
In my ECO file from line 213, it looks like this...
I commented out the "DrawTextFixed" lines referencing "EcoDown" or "EcoUp"
Hope that helps
Kirk
(zeller4)

PS, I'm looking for the best settings for use with the TF Russell (if anybody has a preference they can share)


if(showText)
{
// if(eco[0]<eco[1])
// DrawTextFixed("EcoDown", " ECO Diff -" + ECOminus.ToString("0.00"), bPosition, Color.Black, new Font("Arial Narrow", 12), Color.Crimson, Color.Red, 10);
// else
// RemoveDrawObject("EcoDown");
//
// if(eco[0]>eco[1])
// DrawTextFixed("EcoUp", " ECO Diff +" + ECOplus.ToString("0.00"), bPosition, Color.Black, new Font("Arial Narrow", 12), Color.DarkGreen, Color.LimeGreen, 10);
// else
// RemoveDrawObject("EcoUp");

if(eco[0]<0 && average[0]<0 && eco[0]<average[0])


what are the yellow bars


Reply With Quote




Last Updated on September 25, 2024


© 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