StockFetcher Forums · General Discussion · Question for TheRumpledOne<< >>Post Follow-up
SAFeTRADE
644 posts
msg #116361
Ignore SAFeTRADE
modified
10/30/2013 8:09:53 PM

Tro, I am trying to code the following in easy language;

set{score2, rsi(2) + rsi(2) 3 days ago}
set{score, cma(score2,3)}

What I have so far is; Reworked over night

**********************************************************************************************

inputs:
Price( Close ),
Length( 2 ),
OverSold( 30 ),
OverBought( 70 ),
OverSColor( Cyan ),
OverBColor( Red ) ;

variables: MyRSI( 0 ) ;
variables: SCORE2( 0 ) ;
variables: SCORE( 0 ) ;

MyRSI = RSI( Price, Length ) ;
SCORE2 = ( MyRSI + MyRSI[3] ) ;
Score = Average(SCORE2,3) ;

Plot1( Score, "Score" ) ;
Plot2( OverBought, "OverBot" ) ;
Plot3( OverSold, "OverSld" ) ;

{ Color criteria }
if MyRSI > OverBought then
SetPlotColor( 1, OverBColor )
else if MyRSI < OverSold then
SetPlotColor( 1, OverSColor ) ;

{ Alert criteria }
if MyRSI crosses over OverSold then
/__REMOVED__/
else if MyRSI crosses under OverBought then
/__REMOVED__/ ;


{ ** Copyright (c) 2001 - 2010 TradeStation Technologies, Inc. All rights reserved. **
** TradeStation reserves the right to modify or overwrite this analysis technique
with each release. ** }






*****************************************************************************************


Am I close and how do you plot it?

Glad to see you are back.

Still trading the Cows?

Clarence


Never Mind as Rosanna Rosanna Danna would say.

It is as follows:
inputs:
Price( Close ),
Length( 2 ),
OverSold( 40 ),
OverBought( 80 ),
OverSColor( Cyan ),
OverBColor( Red ) ;

variables: MyRSI( 0 ) ;
variables: score2( 0 ) ;
variables: score( 0 ) ;
variables: scor( 0 ) ;

MyRSI = RSI( Price, Length ) ;
score2 = (MyRSI + myrsi[3]) ;
scor = average(score2,3) ;
score = (scor * .50) ;

Plot2( OverBought, "OverBot" ) ;
Plot3( OverSold, "OverSld" ) ;

Plot4 (score, "score" ) ;


{ Color criteria }
if MyRSI > OverBought then
SetPlotColor( 1, OverBColor )
else if MyRSI < OverSold then
SetPlotColor( 1, OverSColor ) ;

{ Alert criteria }
if MyRSI crosses over OverSold then
/__REMOVED__/
else if MyRSI crosses under OverBought then
/__REMOVED__/ ;


{ ** Copyright (c) 2001 - 2010 TradeStation Technologies, Inc. All rights reserved. **
** TradeStation reserves the right to modify or overwrite this analysis technique
with each release. ** }



StockFetcher Forums · General Discussion · Question for TheRumpledOne<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.