//indicator by Marcello Succi
cc = (CustomClose-close[n])/close[n]
l2 = l/100
if cc <=-l2 then
xs = -1
elsif cc>=l2 then
xs = 1
else
xs= 0
endif
return xs as "x% signal"
// add horizontal line with value 0
// recommended value of coefficients n =1 (search ending yesterday)
// level (of variance in prices) = 1,5 (i.e. 1,5%)
// with customclose, in a long period set it to "MIN" for closing and reversing portfolio, searching x%signal = -1
// in a short period, set customclose = Max adn search for x%signal = +1
// NECESSARY CONDITIONS FOR OPERATING: Vortex or RWI have previously touched extreme or high values
1 COMMENT ****
Any source
cc = (CustomClose-close[n])/close[n]
l2 = l/100
if cc <=-l2 then
xs = -1
elsif cc>=l2 then
xs = 1
else
xs= 0
endif
return xs as "x% signal"
// add horizontal line with value 0
// recommended value of coefficients n =1 (search ending yesterday)
// level (of variance in prices) = 1,5 (i.e. 1,5%)
// with customclose, in a long period set it to "MIN" for closing and reversing portfolio, searching x%signal = -1
// in a short period, set customclose = Max adn search for x%signal = +1
// NECESSARY CONDITIONS FOR OPERATING: Vortex or RWI have previously touched extreme or high values
1 COMMENT ****
- ERASED FROM THE FTSEMIB TRADING DESK ON 16 FEBRUARY 2011 see other discussion: false signals due to throwbacks

No comments:
Post a Comment