NexusFi: Find Your Edge


Home Menu

 





ForceIndex - Colour up/down


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one perryg with 2 posts (6 thanks)
    2. looks_two eDanny with 1 posts (12 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 mmarco with 1 posts (0 thanks)
    1. trending_up 8,760 views
    2. thumb_up 18 thanks given
    3. group 6 followers
    1. forum 7 posts
    2. attach_file 3 attachments




 
Search this Thread

ForceIndex - Colour up/down

  #1 (permalink)
 
perryg's Avatar
 perryg 
Rechovot
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG
Trading: Index,Currency and Energy futures
Posts: 1,644 since Jan 2010
Thanks Given: 508
Thanks Received: 6,288

I have attached the FORCEINDEX indicator, and would like someone to add code that will show me a change in colour when the line is ABOVE ZERO and a different colour when it is BELOW Zero.

Attached Files
Elite Membership required to download: ForceIndex.zip
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #3 (permalink)
 
eDanny's Avatar
 eDanny 
East Rochester, NY
 
Experience: Intermediate
Platform: NT
Posts: 329 since Jul 2009
Thanks Given: 18
Thanks Received: 425


Fixed so it is using enums now and just commented out the old stuff. I should be easy to add in any other MA's you would like to use. Dan

Attached Files
Elite Membership required to download: ForceIndex.zip
Reply With Quote
  #4 (permalink)
 
perryg's Avatar
 perryg 
Rechovot
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG
Trading: Index,Currency and Energy futures
Posts: 1,644 since Jan 2010
Thanks Given: 508
Thanks Received: 6,288

Dan,

Absolutely perfect. Thank you

Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 Moore1937 
Tampa, Florida, USA
 
Experience: Advanced
Platform: NinjaTrader, Thinkorswim
Trading: fututes
Posts: 11 since Jun 2011
Thanks Given: 0
Thanks Received: 2

I have attached the FORCEINDEX indicator, and would like someone to add code that will show me a change in colour when the line is ABOVE ZERO and a different colour when it is BELOW Zero for thinkorswim platform

#
# thinkorswim, inc. (c) 2007
#
declare lower;
input length = 13;
plot FI = ExpAverage(data = (close - close[1]) * volume, length);
FI.SetDefaultColor(GetColor(8));
plot ZeroLine = 0;
ZeroLine.SetDefaultColor(GetColor(5));

Reply With Quote
  #6 (permalink)
 mmarco 
boston, MA
 
Experience: Intermediate
Platform: NinjaTrader, T4
Trading: 6E, ES
Posts: 51 since Nov 2011
Thanks Given: 33
Thanks Received: 184

Hey guys,

Is this the latest version of this indicator? I'm starting to play with it, but I find that it will change colors in real time but then revert the color if the next bar over crosses back the other way. This happens almost all the time if the cross is not very large, say less than +/- 0.2. I've seen it done as high as +/- 0.5.

For example, assuming calculate on bar close = TRUE, the force index crosses from long to short -0.2 on bar 1. The color now is red. The next bar closes and the force index crosses back to long 0.5. The color now is blue. You would expect the index to have gone red and then blue in the history of the graph, but I keep seeing it as just blue! As if it never went red...

This is a real issue for me as it's screwing me up on backtesting and throwing "fake" signals live, although I'm trying to compensate for it in some way. Any advice is deeply appreciated!!!

PS. here's a screenshot of what I mean, notice on the RIGHT SIDE how the index went well below 0, but the next bar over crossed up again and the red color is gone.


Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
bebbus
bari/italy
 
Posts: 11 since Sep 2016
Thanks Given: 0
Thanks Received: 5

there is a version for nt8?

Reply With Quote
  #8 (permalink)
 steveb 
Mount Vernon, Ohio USA
 
Experience: Intermediate
Platform: Ninjatrader, TOS
Trading: EC,CL GC
Posts: 6 since Nov 2011
Thanks Given: 0
Thanks Received: 2

looking for the nt8 version as well if anyone can help. Thanks!

Reply With Quote




Last Updated on January 20, 2023


© 2024 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 - Privacy Policy - Downloads - Top
no new posts