ForceIndex - Colour up/down - NinjaTrader Programming | futures io social day trading
futures io futures trading


ForceIndex - Colour up/down
Updated: Views / Replies:5,214 / 5
Created: by perryg Attachments:3

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

ForceIndex - Colour up/down

  #1 (permalink)
Elite Member
Rechovot
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: CQG
Favorite Futures: Index,Currency and Energy futures
 
perryg's Avatar
 
Posts: 1,703 since Jan 2010
Thanks: 504 given, 6,262 received

ForceIndex - Colour up/down

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
Register to download File Type: zip ForceIndex.zip (13.8 KB, 507 views)
Reply With Quote
The following 5 users say Thank You to perryg for this post:
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
 Vendor: www.integrity-traders.com 
East Rochester, NY
 
Futures Experience: Intermediate
Platform: NT
 
eDanny's Avatar
 
Posts: 327 since Jul 2009
Thanks: 17 given, 419 received

Here ya go


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
Register to download File Type: zip ForceIndex.zip (12.6 KB, 946 views)
Reply With Quote
The following 11 users say Thank You to eDanny for this post:
 
  #4 (permalink)
Elite Member
Rechovot
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: CQG
Favorite Futures: Index,Currency and Energy futures
 
perryg's Avatar
 
Posts: 1,703 since Jan 2010
Thanks: 504 given, 6,262 received

Dan,

Absolutely perfect. Thank you

Reply With Quote
The following user says Thank You to perryg for this post:
 
  #5 (permalink)
Elite Member
Tampa, Florida, USA
 
Futures Experience: Advanced
Platform: NinjaTrader, Thinkorswim
Favorite Futures: fututes
 
Posts: 11 since Jun 2011
Thanks: 0 given, 2 received

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)
Elite Member
boston, MA
 
Futures Experience: Intermediate
Platform: NinjaTrader, T4
Favorite Futures: 6E, ES
 
Posts: 51 since Nov 2011
Thanks: 33 given, 183 received

Wrong color when it crosses 0 and back?

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.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote

Reply



futures io > > > > > ForceIndex - Colour up/down

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
need vwap indicator that changes colour on up and downmoves anniebee321 NinjaTrader 27 August 10th, 2017 08:09 PM
Colour time zones indicator nickohorny NinjaTrader 17 June 2nd, 2016 10:21 AM
Colour Bar Script Assistance zt379 NinjaTrader Programming 10 March 17th, 2011 10:20 PM
Stoch Colour Above Below Threshold zt379 NinjaTrader Programming 1 February 12th, 2011 11:52 PM
Candlestick Border Colour yroyal NinjaTrader 1 December 8th, 2009 02:46 AM


All times are GMT -4. The time now is 12:39 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-13 in 0.10 seconds with 20 queries on phoenix via your IP 54.82.79.109