RSI Optimizer - EasyLanguage Programming | futures io social day trading
futures io futures trading


RSI Optimizer
Updated: Views / Replies:650 / 2
Created: by StockShark 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
 

RSI Optimizer

  #1 (permalink)
Trading Apprentice
Lund Sweden
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Stocks
 
Posts: 2 since May 2014
Thanks: 1 given, 0 received

RSI Optimizer

Hey Forum!

This will be my first post ever in a Stock Forum. I'm a beginner trader who has a long background of programming in Java, Vector Analysis and Finance in general - but I've just started out with TA and grown a big passion for Quantitative analysis and realised that it is what I would want to work with for the rest of my life.

Enough about me I'm sorry for posting such a beginner question. I'm very used to look for similiar answers on search engines, but since I've only been programming for two days in Power Language and I'm very stuck, I'll appreciate any help.

Problem Description: I'm trying to build a simple signal in MC which buys Stocks when RSI hits less than 30, and sells if it hits bigger than 70. Unfortunatley, I'm having a lot of difficulties understanding the arguments of the RSI() function in MC, and how would it know how much I would like to buy?

Code (please be gently with me):

 
Code
inputs:
	Price ( Close ),
	Length ( 200 ),
	OverSold ( 30 ),	
	OverBought ( 70 );
variables:
	var0 ( 0 );

	
// Set Conditions
var0 = RSI( Price,Length );

condition1 = CurrentBar > 1 and var0 crosses over OverSold;
condition2 = CurrentBar > 1 and var0 crosses over OverBought;


//Strategy

if condition1 then begin
	Buy ( "RSI_Optimizer" ) next bar at market;
end;

if condition2 then begin
	Sell ( "RSI_Optimizer" ) next bar at market;
end;

All the best,
/Shark

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)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary


StockShark,

welcome to futures.io (formerly BMT). Your code uses "crosses over" for both thresholds, when in fact I guess you are looking for "crosses under OverSold". For specifying how much to buy/sell: This can either be done under the properties when you load the strategy to a chart or directly in the code like this.
 
Code
Buy ( "RSI_Optimizer" ) 100 shares next bar at market;
"Shares" is the same as "contracts", so you can use either one.

Regards,
ABCTG


StockShark View Post
Hey Forum!

This will be my first post ever in a Stock Forum. I'm a beginner trader who has a long background of programming in Java, Vector Analysis and Finance in general - but I've just started out with TA and grown a big passion for Quantitative analysis and realised that it is what I would want to work with for the rest of my life.

Enough about me I'm sorry for posting such a beginner question. I'm very used to look for similiar answers on search engines, but since I've only been programming for two days in Power Language and I'm very stuck, I'll appreciate any help.

Problem Description: I'm trying to build a simple signal in MC which buys Stocks when RSI hits less than 30, and sells if it hits bigger than 70. Unfortunatley, I'm having a lot of difficulties understanding the arguments of the RSI() function in MC, and how would it know how much I would like to buy?

Code (please be gently with me):

 
Code
inputs:
	Price ( Close ),
	Length ( 200 ),
	OverSold ( 30 ),	
	OverBought ( 70 );
variables:
	var0 ( 0 );

	
// Set Conditions
var0 = RSI( Price,Length );

condition1 = CurrentBar > 1 and var0 crosses over OverSold;
condition2 = CurrentBar > 1 and var0 crosses over OverBought;


//Strategy

if condition1 then begin
	Buy ( "RSI_Optimizer" ) next bar at market;
end;

if condition2 then begin
	Sell ( "RSI_Optimizer" ) next bar at market;
end;

All the best,
/Shark


Reply With Quote
The following 2 users say Thank You to ABCTG for this post:

Reply



futures io > > > > > RSI Optimizer

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
Walk Forward Optimizer haonkered TradeStation 4 April 16th, 2014 04:03 AM
NT7 Genetic Optimizer tinkerz NinjaTrader 0 March 1st, 2012 06:20 PM
NT Optimizer crashes Baseheadz NinjaTrader Programming 2 August 22nd, 2011 03:47 AM
NinjaTrader Genetic Optimizer piersh NinjaTrader Programming 197 December 16th, 2010 02:25 PM
TSSuperTrend Optimizer dsraider NinjaTrader Programming 11 August 15th, 2010 10:04 AM


All times are GMT -4. The time now is 10:35 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-16 in 0.08 seconds with 19 queries on phoenix via your IP 54.227.51.103