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,581 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?
Trump Media to sell instant access to market-moving soci …
Traders Hideout
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Would a node-based workflow for automated trading be useful?
Traders Hideout
No book, only a stair: journaling fills where price move …
Cryptocurrency
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks
  #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:	490
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