[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Code verify



PureBytes Links

Trading Reference Links

I have this code from perhaps another member. Anyway it does not verify in my ProSuite 2000i.
inputs:

RSILength( 14 ),
StochasticLength( 3 ),
Displace( 2);

Value1 = RSI( Close, RSILength );
Value2 = Lowest( Value1, StochasticLength ) ;
Value3 = Highest( Value1, StochasticLength ) ;
if Summation( Value3 - Value2, 3 ) > 0 then
Plot1( ( Summation( Value1 - Value2, 3 ) / Summation( Value3 - Value2, 3 ) ) * 100 )
else
Plot1( 0 );
Plot2[displace](Average( Plot1, Length ), "Plot_Name" ) ;
end;

The challenge is the "Length" in Plot2, and maybe the "Plot_Name" also.

Can anyone offer a suggestion?
Thank you to all.