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

Re: [amibroker] Example



PureBytes Links

Trading Reference Links

Wow ! Very nice.

I quickly converted my RSI+Stoch to do colours.

I'm attaching the graphic to e-mail and the code is below ===>
------------------------------------------------------------------
rsiStoch = (RSI(14) + Stoch(9)) / 2;

Plot(rsiStoch,"",1,8);
colorArray=IIf(rsiStoch>30,30,rsiStoch);
Plot(colorArray,"",9,3);
Plot(30,"",6,2);
Plot(60,"",9,2);
Plot(rsiStoch,"RSI+Stoch",4,2);

Title= "RSI(14) + Stoch(9) / 2 = "
+ WriteVal( Graph0)
+ " for "
+ Name();
------------------------------------------------------------------

Regards,

- Salil V Gangal


--- Dimitris Tsokakis <TSOKAKIS@xxxx> wrote:
> 
> Plot(RSI(),"",1,1);
> x=IIf(RSI()>35,35,RSI());
> Plot(x,"",0,2);
> Plot(35,"",4,2);
> Plot(60,"",0,2);
> Plot(RSI(),"",5,2);
> Plot(35,"",1,1);Plot(60,"",1,1);
> 
> 

> ATTACHMENT part 2 image/gif name=example1.gif



__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

Attachment: Description: ""


  • References: