Improve RSI Strategy - NinjaTrader Programming | futures io social day trading
futures io futures trading


Improve RSI Strategy
Updated: Views / Replies:2,068 / 7
Created: by jkpdon Attachments:1

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
 

Improve RSI Strategy

  #1 (permalink)
Membership Temporarily Revoked
austin,tx,usa
 
Futures Experience: Beginner
Platform: ninjatrader
Favorite Futures: es
 
Posts: 31 since Dec 2010
Thanks: 3 given, 12 received

Improve RSI Strategy

Hello Elite Coders,

I need help adding some codes to existing RSI strategy

I have added my self 3 Targets and break even code for it but need some improvement.

1. Add Trailing Stop/Profit Feature
2.Ability Modify value of Lot1, Lot2 Lot3
3. Show Profit Loss on Chart
4. May be Chop filter

Thanks

JK

Attached Files
Register to download File Type: cs JKRSIwithRSI.cs (8.0 KB, 49 views)
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)
Membership Temporarily Revoked
austin,tx,usa
 
Futures Experience: Beginner
Platform: ninjatrader
Favorite Futures: es
 
Posts: 31 since Dec 2010
Thanks: 3 given, 12 received


I thought this forum is very helpful but seems i m not getting any help after i became Elite member.

Reply With Quote
 
  #4 (permalink)
Elite Member
Prague (temporary)
 
Futures Experience: Advanced
Platform: Custom
Favorite Futures: ES / ZB / ZN / ZF
 
Anagami's Avatar
 
Posts: 732 since Dec 2010
Thanks: 487 given, 1,490 received

Forum members are not your servants.

"The mind is its own place, and in itself can make a heaven of hell, a hell of heaven." - Milton
Reply With Quote
The following user says Thank You to Anagami for this post:
 
  #5 (permalink)
Membership Temporarily Revoked
austin,tx,usa
 
Futures Experience: Beginner
Platform: ninjatrader
Favorite Futures: es
 
Posts: 31 since Dec 2010
Thanks: 3 given, 12 received


Anagami View Post
Forum members are not your servants.

i asked for help!! read how many word help in my request.

Reply With Quote
 
  #6 (permalink)
Elite Member
Atkinson, NH USA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,933 since Dec 2010
Thanks: 2,980 given, 2,312 received

Hi,

You should check out a more appropriate section for assistance for a Strategy:
Elite Automated Trading - Big Mike's Trading Forum

You are likely to get help with direction, but difficult for someone to jump in and complete your code the way you want it.


jkpdon View Post
Hello Elite Coders,

I need help adding some codes to existing RSI strategy

I have added my self 3 Targets and break even code for it but need some improvement.

1. Add Trailing Stop/Profit Feature
2.Ability Modify value of Lot1, Lot2 Lot3
3. Show Profit Loss on Chart
4. May be Chop filter

Thanks

JK


Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Reply With Quote
 
  #7 (permalink)
Elite Member
Edmond,Oklahoma,United States
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: ES, CL
 
Posts: 19 since Sep 2010
Thanks: 6 given, 30 received


jkpdon View Post
Hello Elite Coders,

I need help adding some codes to existing RSI strategy

I have added my self 3 Targets and break even code for it but need some improvement.

1. Add Trailing Stop/Profit Feature
2.Ability Modify value of Lot1, Lot2 Lot3
3. Show Profit Loss on Chart
4. May be Chop filter

Thanks

JK

You can set a trailing stop in NT by calling the SetTrailStop method like so:

SetTrailStop (CalculationMode.Ticks, 12);

This will set a trailing stop 12 ticks behind current price. Of course you can set the 12 to a variable displayed on the strategy window. like such:

 
Code
   public class JKRsiWithRsi : Strategy
    {
        #region Variables
        // Wizard generated variables
       private int trailstop = 12;


   protected override void Initialize()
    {
	SetTrailStop (CalculationMode.Ticks, trailstop);


   #region Properties
	[Description("Set Trailing Stop Loss in Ticks")]
        [GridCategory("Stops")]
        public int TrailingStop
        {
            get { return trailstop; }
            set { trailstop = value; }
		}
By modifying the value of Lot1,2,3 I assume you mean the quantity of orders placed? If so, you can specify how many contracts to enter in the EnterLong() and EnterShort() methods as such (using the target names in the strategy):

EnterLong(1, "target1"); // Executes a long with 1 contracts
EnterLong(2, "target2"); // Executes a long with 2 contracts
EnterLong(3, "target3"); // Executes a long with 3 contracts

To show text on the chart window, add something like this:

 
Code
   protected override void OnBarUpdate()
    {
     DrawTextFixed("Profit","Cumulative Profit: " + Performance.RealtimeTrades.TradesPerformance.Currency.CumProfit.ToString(), TextPosition.BottomRight);
Chop filters are pretty unreliable from my point of view but a decent one to look at is the adxvma by sharky which can be found in the ninjatrader section of the downloads. I think I have an older version of it, and had to edit the indicator to set the bars to paint, then look for the color of the bars as so:

ADXVMA_sharky_paint(6,true).BarColor == Color.Red // this is the short color
ADXVMA_sharky_paint(6,true).BarColor == Color.Blue // this is the long color

Hope this helps. Play around with it and see what you can do.

Caveman

Reply With Quote
 
  #8 (permalink)
Market Wizard
New Orleans, La (Mardi Gras City)
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Ninjatrader / Optimus Futures / AmpFutures
Favorite Futures: ES / 6E / 6B / CL
 
DavidHP's Avatar
 
Posts: 1,033 since Aug 2009
Thanks: 949 given, 1,442 received


jkpdon View Post
I thought this forum is very helpful but seems i m not getting any help after i became Elite member.


Instead of making a new thread, perhaps your best option would have been to post here?

https://futures.io/elite-circle/1261-want-your-ninjatrader-indicator-created-free.html

That seems like a better place to have it done for you.
Or perhaps find an independent programmer and pay them to do it?

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Reply With Quote

Reply



futures io > > > > > Improve RSI Strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only
 

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple RSI Strategy frostengine NinjaTrader Programming 2 October 30th, 2011 12:12 PM
Simple RSI strategy, how to avoid no111 Elite Automated NinjaTrader Trading 2 July 19th, 2011 06:02 PM
RSI Strategy Dienewk NinjaTrader Programming 6 December 9th, 2010 09:12 AM
improve and train your knowledge wh Psychology and Money Management 0 September 12th, 2009 04:19 PM


All times are GMT -4. The time now is 09:18 AM.

Copyright © 2018 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 2018-05-23 in 0.11 seconds with 20 queries on phoenix via your IP 54.162.184.214