S stasbz Established member Messages 587 Likes 1 Jun 8, 2010 #1 please help. how to write "Previous bar RSI < 20" in esay language in this code: IF Previous bar RSI < 20 AND current bar high > previous high bar then buy
please help. how to write "Previous bar RSI < 20" in esay language in this code: IF Previous bar RSI < 20 AND current bar high > previous high bar then buy
S StratOpt Active member Messages 232 Likes 26 Jul 1, 2010 #3 inputs: RSI_Price ( close ) , RSI_Len ( 20 ) , RSI_Level ( 20 ) ; variables: MyRSI ( 0 ) ; MyRSI = RSI( RSI_Price, RSI_Len ) ; if (MyRSI[ 1 ] < RSI_Level) and (high > high[ 1 ]) then Buy next bar market ;
inputs: RSI_Price ( close ) , RSI_Len ( 20 ) , RSI_Level ( 20 ) ; variables: MyRSI ( 0 ) ; MyRSI = RSI( RSI_Price, RSI_Len ) ; if (MyRSI[ 1 ] < RSI_Level) and (high > high[ 1 ]) then Buy next bar market ;