NexusFi: Find Your Edge


Home Menu

 





RSI Breakout


Discussion in EasyLanguage Programming

Updated
    1. trending_up 3,284 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

RSI Breakout

  #1 (permalink)
evanevans
Cancun, Quintant Roo, Mexico
 
Posts: 5 since Jul 2013
Thanks Given: 1
Thanks Received: 0

Anybody know how I can create an indicator which shows when the RSI is hitting a new 52-week high? I've been working all day on this in EasyLanguage, and it's just been too long (10+ years) since I programmed EasyLanguage, and I'm back into it again, I just haven't been able to wrap my mind around it. Any help is very appreciated, I've been sweating over this.

What I want to do, is to run a SCANNER, which gives me the stocks which are hitting a new 52-week RSI high.

Thanks so much for any help, in advance.

Frustrated,
Evan

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Request for MACD with option to use different MAs for fa …
NinjaTrader
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
58 thanks
Battlestations: Show us your trading desks!
55 thanks
NexusFi site changelog and issues/problem reporting
48 thanks
What percentage per day is possible? [Poll]
31 thanks
GFIs1 1 DAX trade per day journal
29 thanks

  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623


Evan,

if you could post the code you have created so far I am sure the futures.io (formerly BMT) community is able to point you into the right direction.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
  #4 (permalink)
evanevans
Cancun, Quintant Roo, Mexico
 
Posts: 5 since Jul 2013
Thanks Given: 1
Thanks Received: 0

Thanks. I've re-written 5 times, so many different ways, and none of them seem to work. Here's the latest:
 
Code
inputs: 
	Price( Close ), 
	Length( 14 ),
	PeriodBack(12),
	NewHigh(False);
 
variables:  MyRSI( 0 ) ; 
 
MyRSI = RSI( Price, Length ) ;

IF RSI(Price,Length) >= MyRSI[PeriodBack] then
		Plot1(1)
	Else
		Plot1(0) ;

Reply With Quote
  #5 (permalink)
evanevans
Cancun, Quintant Roo, Mexico
 
Posts: 5 since Jul 2013
Thanks Given: 1
Thanks Received: 0

I'm not even necessarily looking to create an indicator per say. I just want something in the SCANNER I can put in, so that I can know what stocks are breaking out of new 52-week RSI highs. There seems to be so many obstacles, it's not encouraging. I keep rewriting and rewriting. If anyone could tell me the basic format or logic, or anything that can point me in the right direction, it's so needed, because I am more than capable of this, I just don't understand the TradeStation/EasyLanguage architecture. It's very frustrating for me, because it's so simple. An iterative backscan for previous RSI values, and a check if the current RSI is higher than the last 52 (or whatever period specified). If true, than set a value to true. That's it. But I can't seem to get it going.

Any help much appreciated! Thanks!

Reply With Quote
  #6 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623

Are you working in ToS or in Tradestation? On a chart you could get the highest RSI of the last 52 bars with something simple like that:

 
Code
Highest(RSI, 52)
If you chart weekly bars this would display the highest RSI within the last 52 weeks.

In the Scanner this might not be so simple, because the Scanner might not run from weekly bars. If this is the case you'd need to compute your own weekly RSI using an array and making sure you store only one RSI value per week. This is a more advanced thing to do.

I would suggest starting with the version for the chart that will also work in Radarscreen.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
The following user says Thank You to ABCTG for this post:





Last Updated on December 18, 2013


© 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