| SAFeTRADE 656 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. ** }
 
 
 
 
 |