Indicators Used
Miscellaneous
0
Views
0
Downloads
0
Favorites
TrendPredictor v1.0
ÿþ# p r o p e r t y s t r i c t
# p r o p e r t y i n d i c a t o r _ c h a r t _ w i n d o w
# p r o p e r t y i n d i c a t o r _ b u f f e r s 2
# p r o p e r t y i n d i c a t o r _ c o l o r 1 B l u e
# p r o p e r t y i n d i c a t o r _ c o l o r 2 R e d
# p r o p e r t y i n d i c a t o r _ w i d t h 1 2
# p r o p e r t y i n d i c a t o r _ w i d t h 2 2
/ / - - - - i n p u t p a r a m e t e r s
i n p u t i n t i n p _ z o n e _ p e r i o d = 1 0 ; / / z o n e p e r i o d
i n p u t i n t i n p _ a m p l i t u d e _ p e r i o d = 2 5 ; / / z o n e a m p l i t u d e
i n p u t d o u b l e i n p _ a m p l i t u d e _ c o e f f i c i e n t = 3 ; / / z o n e c o e f f i c i e n t
/ / - - - - i n d i c a t o r b u f f e r s
d o u b l e e x t _ a r r o w _ u p [ ] ;
d o u b l e e x t _ a r r o w _ d n [ ] ;
d o u b l e e x t _ z o n e _ u p [ ] ;
d o u b l e e x t _ z o n e _ d n [ ] ;
d o u b l e e x t _ c u r r e n t _ m i n [ ] ;
d o u b l e e x t _ c u r r e n t _ m a x [ ] ;
d o u b l e e x t _ t r e n d [ ] ;
/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
i n t O n I n i t ( ) {
s t r i n g s h o r t _ n a m e ;
/ / - - - - i n d i c a t o r l i n e
S e t I n d e x S t y l e ( 0 , D R A W _ A R R O W ) ;
S e t I n d e x S t y l e ( 1 , D R A W _ A R R O W ) ;
S e t I n d e x A r r o w ( 0 , 2 3 3 ) ;
S e t I n d e x A r r o w ( 1 , 2 3 4 ) ;
I n d i c a t o r B u f f e r s ( 7 ) ;
S e t I n d e x B u f f e r ( 0 , e x t _ a r r o w _ u p ) ;
S e t I n d e x B u f f e r ( 1 , e x t _ a r r o w _ d n ) ;
S e t I n d e x B u f f e r ( 2 , e x t _ z o n e _ u p ) ;
S e t I n d e x B u f f e r ( 3 , e x t _ z o n e _ d n ) ;
S e t I n d e x B u f f e r ( 4 , e x t _ c u r r e n t _ m i n ) ;
S e t I n d e x B u f f e r ( 5 , e x t _ c u r r e n t _ m a x ) ;
S e t I n d e x B u f f e r ( 6 , e x t _ t r e n d ) ;
/ / - - - - n a m e f o r D a t a W i n d o w a n d i n d i c a t o r s u b w i n d o w l a b e l
s h o r t _ n a m e = "