Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,967
Thanks: 93 times Was thanked: 156 time(s) in 151 post(s)
|
Originally Posted by: sevenvironment If((Cross(RSI(58),48) and Cross(RSI(58),49) and Cross(RSI(58),50) and Cross(RSI(58),51) and Cross(RSI(58),52) and Cross(RSI(58),53) and Cross(RSI(58),54) and Cross(RSI(58),55) and Cross(RSI(58),56) and Cross(RSI(58),57)),10, If((Cross(RSI(58),48) and Cross(RSI(58),49) and Cross(RSI(58),50) and Cross(RSI(58),51) and Cross(RSI(58),52) and Cross(RSI(58),53) and Cross(RSI(58),54) and Cross(RSI(58),55) and Cross(RSI(58),56)),9, If((Cross(RSI(58),48) and Cross(RSI(58),49) and Cross(RSI(58),50) and Cross(RSI(58),51) and Cross(RSI(58),52) and Cross(RSI(58),53) and Cross(RSI(58),54) and Cross(RSI(58),55)),8, If((Cross(RSI(58),48) and Cross(RSI(58),49) and Cross(RSI(58),50) and Cross(RSI(58),51) and Cross(RSI(58),52) and Cross(RSI(58),53) and Cross(RSI(58),54)),7, If((Cross(RSI(58),48) and Cross(RSI(58),49) and Cross(RSI(58),50) and Cross(RSI(58),51) and Cross(RSI(58),52) and Cross(RSI(58),53)),6, If((Cross(RSI(58),48) and Cross(RSI(58),49) and Cross(RSI(58),50) and Cross(RSI(58),51) and Cross(RSI(58),52)),5, If((Cross(RSI(58),48) and Cross(RSI(58),49) and Cross(RSI(58),50) and Cross(RSI(58),51)),4, If((Cross(RSI(58),48) and Cross(RSI(58),49) and Cross(RSI(58),50)),3, If((Cross(RSI(58),48) and Cross(RSI(58),49)),2,ıf(Cross(RSI(58),48),1,0)) I would like to count RSI break line, how could ı do it ?
Hello, Are you just wanting to count the total number of crosses on each price bar? If so you could simply add each cross together, i.e.: Code:Cross(RSI(58),48) + Cross(RSI(58),49) + Cross(RSI(58),50) + Cross(RSI(58),51) + Cross(RSI(58),52) + Cross(RSI(58),53) + Cross(RSI(58),54) + Cross(RSI(58),55) + Cross(RSI(58),56) + Cross(RSI(58),57)
|