NexusFi: Find Your Edge


Home Menu

 





RSI Breakout


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #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?
Iran Airspace Collapses 18 Points to 15.5% While Hormuz …
Prediction Markets & Event Contracts
El Clasico Draws $9.2M in Prediction Market Action -- Bi …
Prediction Markets & Event Contracts
Iran Airspace Contract Surges to 33.5% as Project Freedo …
Prediction Markets & Event Contracts
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
Hungary Called for Magyar at 97pct, Ending 16-Year Orban …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
197 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
BERN ALGOS algo trading journal
8 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,642


Evan,

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

Regards,
ABCTG


Follow me on X 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,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,642

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 X Reply With Quote
Thanked by:




Last Updated on December 18, 2013


© 2026 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 - Downloads - Top
no new posts