Exit using CCI Indicator - NinjaTrader Programming | futures io social day trading
futures io futures trading


Exit using CCI Indicator
Updated: Views / Replies:1,838 / 4
Created: by kian123 Attachments:0

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
 

Exit using CCI Indicator

  #1 (permalink)
Just starting out...
florida
 
Futures Experience: Intermediate
Platform: ninjatrader,mt4,amibroker
Favorite Futures: forex,es
 
Posts: 2 since Nov 2010
Thanks: 1 given, 0 received

Exit using CCI Indicator

Hello All,

I am new here and to programming,

I was wondering if anyone could help me with the following:

Why the following code is not getting me out of my long trades on NT6.5?

// Condition set 2
if (CrossBelow(CCI(Exitcci), 100, 1)
&& Position.MarketPosition == MarketPosition.Long)

Any advise is appricated!!

Reply With Quote
 
  #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)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received


hi kian123,
with such a little snippet its not possible to say why your code is not workling.

if you want to increase the chance of good + senseful answers you have to post your whole code, or more than this little piece.

its not because of wanting your code but this snippet must also be checked in its relation to the rest of the code i think.

max-td
Reply With Quote
 
  #4 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,306 received


kian123 View Post
Hello All,

I am new here and to programming,

I was wondering if anyone could help me with the following:

Why the following code is not getting me out of my long trades on NT6.5?

// Condition set 2
if (CrossBelow(CCI(Exitcci), 100, 1)
&& Position.MarketPosition == MarketPosition.Long)

Any advise is appricated!!

Add the following to you conditional

ExitLong();

Reply With Quote
 
  #5 (permalink)
Just starting out...
florida
 
Futures Experience: Intermediate
Platform: ninjatrader,mt4,amibroker
Favorite Futures: forex,es
 
Posts: 2 since Nov 2010
Thanks: 1 given, 0 received


MWinfrey View Post
Add the following to you conditional

ExitLong();


I found the problem..

You are right I needed to add ExitLong() which I did have but it does not show in the formula I posted


I also add name the exit which I found out that the entery should be named the same so the system know which trade to exit, and I had not name the entry.

Thanks for all your replies!!

Reply With Quote

Reply



futures io > > > > > Exit using CCI Indicator

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
CCI Cross Zero Line Indicator Senna NinjaTrader Programming 13 August 23rd, 2012 01:12 PM
CCI Simplified Silver Dragon The Elite Circle 72 July 17th, 2011 09:15 PM
Woodies CCi perryg NinjaTrader 28 April 12th, 2011 08:15 PM
a CCI system cory Traders Hideout 13 February 15th, 2011 07:45 AM
CCI Fibonacci Indicator wh NinjaTrader Programming 6 November 4th, 2009 07:19 PM


All times are GMT -4. The time now is 01:28 AM.

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-16 in 0.10 seconds with 19 queries on phoenix via your IP 23.22.136.56