|
請問如何將RSI指標改為成交量?
留下其提示音功能~例如達到500口後可發出提示音~~
改了好久都不行,請幫幫小弟~感謝
以下是MC的RSI指標~~
inputs:
Price( Close ),
Length( 14 ),
OverSold( 30 ),
OverBought( 70 ),
OverSColor( Cyan ),
OverBColor( Red ) ;
variables: var0( 0 ) ;
var0 = RSI( Price, Length ) ;
Plot1( var0, "RSI" ) ;
Plot2( OverBought, "OverBot" ) ;
Plot3( OverSold, "OverSld" ) ;
if var0 > OverBought then
SetPlotColor( 1, OverBColor )
else if var0 < OverSold then
SetPlotColor( 1, OverSColor ) ;
condition1 = var0 crosses over OverSold ;
if condition1 then
Alert( "Indicator exiting oversold zone" )
else
begin
condition1 = var0 crosses under OverBought ;
if condition1 then
Alert( "Indicator exiting overbought zone" ) ;
end;
|
|