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

[amibroker] Re: GORDON ROSE /PIVOT FORMULA (LIBRARY)



PureBytes Links

Trading Reference Links

Traderix,

below is the code I use.  I cross the StochRSI with a double EMA.  
Change the default settings to suit your purpose.  The ones below 
(30,5,5) I use for 10-min data.  Since I trade in RT, I prefer 
faster settings (thereby accepting more false signals, which I weed 
out with other indicators). 

Gernot

//Stochastic RSI Crossover

period=Param("Period 1",30,5,200,1);
period2=Param("Period 2",5,2,50,1);
smooth=Param("Smoothing",5,2,20,1);

col1=Param("Color StochRSI",6,1,54,1);
col2=Param("Color Sm. EMA",7,1,54,1);

storsi=((RSI(period)-LLV(RSI(period),period))/((HHV(RSI
(period),period))-LLV(RSI(period),period)))*100;
 
Plot(EMA(storsi,period2),"StochRSI",col1,styleLine);
Plot(EMA(EMA(storsi,period2),smooth),"Smoothed EMA",col2,styleLine);

Plot(10,"",colorDarkRed,1+styleThick);
Plot(20,"",colorRed,1);
Plot(50,"",colorWhite,1); 
Plot(80,"",colorGreen,1); 
Plot(90,"",colorDarkGreen,1+styleThick); 

GraphXSpace = 1.5;
 
Buy=Cross(EMA(storsi,period2),EMA(EMA(storsi,period2),smooth));
Sell=Cross(EMA(EMA(storsi,period2),smooth),EMA(storsi,period2));

PlotShapes(IIf
(Buy,shapeUpArrow,shapeNone) ,colorBrightGreen,0,Graph0,-15);
PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed,0,Graph1,-15);

AlertIf( Buy, "SOUND C:\\Amibroker\\Sounds\\buy alert.wav", "Audio 
alert", 1 );
AlertIf( Sell, "SOUND C:\\Amibroker\\Sounds\\sell alert.wav", "Audio 
alert", 2 );

Title=Name()+"   "+EncodeColor(col1)+"StochRSI    "+EncodeColor(col2)
+"Smoothed EMA";




--- In amibroker@xxxxxxxxxxxxxxx, "traderix2003" <d.adam@xxxx> wrote:
> Hi, Gernot
> 
> Thank you very much for your help.
> A last question: how do you interpret  STOCH RSI?
> Do you use a cross over with a MA of it or a cross over of 2 STOCH 
> RSI ??
> 
> Best Regards
> 
> Traderix
> 
> 
> > I use Forex data from http://www.vsoft.ru
> > 
> > RT data is imported in metastock format.
> > 
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, "traderix2003" <d.adam@xxxx> 
> wrote:
> > >   Thxs, Gernot
> > > Another question: IŽd like to trade currencies with Amibroker. 
> > Where 
> > > can I get RT data (not E Signal)??
> > > Traderix
> > 
> 
>                                                                    
> >   
> > 
> 
>                                                                    
> >   
> > 
> 
>                                                                    
> >   
> > 
> 
>                                                                    
> >  -
> > > -- In amibroker@xxxxxxxxxxxxxxx, "taotra" <taotrader@xxxx> 
wrote:
> > > 
> > > 
> > > 
> > > > I do.  I use a variant (crossover) of the StocRSI.  It's my 
> > > primary 
> > > > signal indicator to trade currencies.  I use it for 1min, 
> 10min, 
> > > and 
> > > > hourly data.  It's been very reliable.
> > > > 
> > > > Gernot
> > > > 
> > > > 
> > > > --- In amibroker@xxxxxxxxxxxxxxx, "traderix2003" 
<d.adam@xxxx> 
> > > wrote:
> > > > > Hi, everybody,
> > > > > does someone trade with the "stochsatics RSI"? Have you 
made 
> > > good 
> > > > > experiences with this indicator?
> > > > > Or should I class it "ad acta"??
> > > > > Regards. Traderix



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/