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


Please help with RSI Strategy/ Study
Started: by WilleeMac Views / Replies:284 / 4
Last Reply: 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)
Chief Bottle Washer
Prospect, KY. USA
 
Futures Experience: None
Platform: Sierra Chart
Broker/Data: Infinity
Favorite Futures: /CL
 
WilleeMac's Avatar
 
Posts: 653 since Jan 2012
Thanks: 294 given, 540 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: 273 since Nov 2009
Thanks: 123 given, 293 received

This can easily be done with the Spreadsheet Study study.

If you want the details, post again.

Reply With Quote
 
  #3 (permalink)
Chief Bottle Washer
Prospect, KY. USA
 
Futures Experience: None
Platform: Sierra Chart
Broker/Data: Infinity
Favorite Futures: /CL
 
WilleeMac's Avatar
 
Posts: 653 since Jan 2012
Thanks: 294 given, 540 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: 273 since Nov 2009
Thanks: 123 given, 293 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)
Chief Bottle Washer
Prospect, KY. USA
 
Futures Experience: None
Platform: Sierra Chart
Broker/Data: Infinity
Favorite Futures: /CL
 
WilleeMac's Avatar
 
Posts: 653 since Jan 2012
Thanks: 294 given, 540 received

Futures Edge on FIO

Which products do you trade?

 
@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)

2016 True Edge Awards: Voting is open until Jan 21!

Now
 

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

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 06:06 PM
Creating Custom Study combine TTM_Squeeze, MACDHistogram as well as RSI Sabras ThinkOrSwim 3 October 16th, 2015 10:26 PM
Improve RSI Strategy jkpdon NinjaTrader Programming 7 May 5th, 2012 09:28 AM
Simple RSI Strategy frostengine NinjaTrader Programming 2 October 30th, 2011 01:12 PM
RSI Strategy Dienewk NinjaTrader Programming 6 December 9th, 2010 10:12 AM


All times are GMT -4. The time now is 06:09 PM.

no new posts
Page generated 2017-01-20 in 0.11 seconds with 20 queries on phoenix via your IP 184.73.25.126