Please help with RSI Strategy/ Study - Sierra Chart | futures io social trading
futures io futures trading


Please help with RSI Strategy/ Study
Updated: Views / Replies:376 / 4
Created: by WilleeMac Attachments:5

Welcome to futures io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

Please help with RSI Strategy/ Study

  #1 (permalink)
Elite Member
Prospect, KY. USA
 
Futures Experience: None
Platform: Sierra Chart
Broker/Data: Infinity
Favorite Futures: /CL
 
WilleeMac's Avatar
 
Posts: 680 since Jan 2012
Thanks: 301 given, 600 received

Please help with RSI Strategy/ Study

I'm hoping someone can help with a simple study that I use in ThinkOrSwim and can be coded for Sierra Chart.

The premise is very simple - the study paints a continuous line on the price chart when the RSI is above 51 (entry or long threshold) or below 48 (exit or short threshold.) The user defines the length of RSI, in this case 34 and 55. Obviously two copies of the study would be loaded

Below screenshot is from today 9-12 on a one (1) minute chart /CL chart

Cyan (light blue) is RSI 34 (long/ entry)
Blue is RSI 55 (long/ entry)
Orange is RSI 34 (short/ exit) showing brief failure
Red is is RSI 55 (short/ exit) showing brief failure

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Any help would be much appreciated. (I'm more of a hacker than a coder.)

Thank you

-William

Reply With Quote
 
  #2 (permalink)
Elite Member
Phoenix AZ USA
 
Futures Experience: Advanced
Platform: SierraChart
Broker/Data: TradePro/TransAct
Favorite Futures: NQ YM ES
 
Posts: 282 since Nov 2009
Thanks: 124 given, 305 received

This can easily be done with the Spreadsheet Study study.

If you want the details, post again.

Reply With Quote
 
  #3 (permalink)
Elite Member
Prospect, KY. USA
 
Futures Experience: None
Platform: Sierra Chart
Broker/Data: Infinity
Favorite Futures: /CL
 
WilleeMac's Avatar
 
Posts: 680 since Jan 2012
Thanks: 301 given, 600 received


Yes sir, thank you

I use Infinity Futures Sierra Chart which has:

Spreadsheet Study
Spreadsheet System for Trading
Spreadsheet System/Alert

Build Custom Studies DLL
New/Open Custom Studies File

I'm fairly proficient/ pretty good in Excel, Open Office etc

Thank you

-William

Reply With Quote
 
  #4 (permalink)
Elite Member
Phoenix AZ USA
 
Futures Experience: Advanced
Platform: SierraChart
Broker/Data: TradePro/TransAct
Favorite Futures: NQ YM ES
 
Posts: 282 since Nov 2009
Thanks: 124 given, 305 received

Add the Spreadsheet Study study:
-Set the Chart Region to 1.
-Give it a name in the Spreadsheet Name field.
-On the Subgraphs tab, set the Draw Styles of SG1-SG4 to Dash. Set Line Styles and colors.
On the spreadsheet, put these formulas in cells K3-N3, respectively:
=IF(ID1.SG1@3<51,0,IF(AND(ID1.SG1@4<51,ID1.SG1@3>51),E3,K4))
=IF(ID2.SG1@3<51,0,IF(AND(ID2.SG1@4<51,ID2.SG1@3>51),E3,L4))
=IF(ID1.SG1@3>48,0,IF(AND(ID1.SG1@4>48,ID1.SG1@3<48),E3,M4))
=IF(ID2.SG1@3>48,0,IF(AND(ID2.SG1@4>48,ID2.SG1@3<48),E3,N4))
where ID1 is the RSI 34, and ID2 is the RSI 55; edit as necessary.

You could substitute the 51 and 48 with absolute references to user variables in H1 and H2:
$H$1
$H$2

Or you could substitute the 51 and 48 with references to the respective RSI's Line1 and Line2, assuming you set these to 51 and 48 in the RSI study:
ID1.SG2@3
ID1.SG3@3
ID2.SG2@3
ID2.SG3@3

You may want to edit cells K2-N2 with titles:
RSI 34 long
RSI 55 long
RSI 34 short
RSI 55 short

Reply With Quote
 
  #5 (permalink)
Elite Member
Prospect, KY. USA
 
Futures Experience: None
Platform: Sierra Chart
Broker/Data: Infinity
Favorite Futures: /CL
 
WilleeMac's Avatar
 
Posts: 680 since Jan 2012
Thanks: 301 given, 600 received

@tomgilb

Thank you very, very much for helping with this

I made a slight modification to the above code, syntax

For long entry (support) I changed E3, K4 and E3, L4 to D3 respectively

For short entry (resistance) I changed E3, M4 and E3, N4 to C3 respectively

-William

Reply With Quote

Reply



futures io > > > > Please help with RSI Strategy/ Study

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

FIO Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

May
 

An overview of volumetric analytical tools w/Artem Topol @ PTMC

Elite only
 

Finding Success in Futures Trading w/John Hoagland

Jun 6
 

FuturesTrader71 Extended Ask Me Anything (AMA)

Elite only
 

Diving Into Order Flow w/Alex Haywood & Jigsaw Trading

Jun 8

John @ No BS Day Trading (TBA)

Elite only

An Afternoon with FIO member Softsoap (being rescheduled)

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with RSI trend lines (support/resistance) study in ThinkOrSwim TW10 ThinkOrSwim 2 October 14th, 2016 05:06 PM
Creating Custom Study combine TTM_Squeeze, MACDHistogram as well as RSI Sabras ThinkOrSwim 3 October 16th, 2015 09:26 PM
Improve RSI Strategy jkpdon NinjaTrader Programming 7 May 5th, 2012 08:28 AM
Simple RSI Strategy frostengine NinjaTrader Programming 2 October 30th, 2011 12:12 PM
RSI Strategy Dienewk NinjaTrader Programming 6 December 9th, 2010 09:12 AM


All times are GMT -4. The time now is 05:42 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-05-30 in 0.09 seconds with 20 queries on phoenix via your IP 54.158.221.251