HA LLEGADO A LA CREACIÓN DEL REGISTRO: SET time_zone ='Europe/Madrid' HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_periodicos FORCE INDEX (cms_periodicos_activo_dominio) where activo=1 and dominio = 'oacloud.estrategiasdeinversion.com' limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT *,
(SELECT nombre
FROM cms_portadas_edicionv2 FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre)
WHERE id_portada_edicion = cms_periodicos.id_portada_inicio) AS portada_inicio,
(SELECT friendly_url
FROM cms_portadas_edicionv2 FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre)
WHERE id_portada_edicion = cms_periodicos.id_portada_inicio) AS friendly_url_portada_inicio
FROM cms_periodicos FORCE INDEX (cms_periodicos_dominio_activo, cms_periodicos_dominio_staging_activo, cms_periodicos_dominio_produccion_activo)
WHERE activo = 1
AND (dominio = 'oacloud.estrategiasdeinversion.com' OR dominio_staging = 'oacloud.estrategiasdeinversion.com' OR dominio_produccion = 'oacloud.estrategiasdeinversion.com')
ORDER BY portada_por_defecto DESC, id_periodico ASC
LIMIT 1; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select id_portada_edicion from cms_portadas_edicionv2 where friendly_url='trading' HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT *,
(SELECT nombre
FROM cms_portadas_edicionv2 FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre)
WHERE id_portada_edicion = cms_periodicos.id_portada_inicio) AS portada_inicio,
(SELECT friendly_url
FROM cms_portadas_edicionv2 FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre)
WHERE id_portada_edicion = cms_periodicos.id_portada_inicio) AS friendly_url_portada_inicio
FROM cms_periodicos FORCE INDEX (cms_periodicos_dominio_id_portada_inicio)
WHERE activo = 1
AND dominio = 'oacloud.estrategiasdeinversion.com'
AND id_portada_inicio = 152
ORDER BY id_periodico ASC
LIMIT 1; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select id_portada from cms_usuarios_portadas where id_usuario='0' HA LLEGADO A LA CREACIÓN DEL REGISTRO: select nombre from cms_periodicos where id_periodico='0' limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT *,
(SELECT nombre
FROM cms_portadas_edicionv2 FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre)
WHERE id_portada_edicion = cms_periodicos.id_portada_inicio) AS portada_inicio,
(SELECT friendly_url
FROM cms_portadas_edicionv2 FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre)
WHERE id_portada_edicion = cms_periodicos.id_portada_inicio) AS friendly_url_portada_inicio
FROM cms_periodicos FORCE INDEX (cms_periodicos_dominio_activo)
WHERE activo = 1
AND dominio LIKE '%estrategiasdeinversion.com%'
LIMIT 1; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_portadas_edicionv2 where id_portada_edicion=0 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_portadas_edicionv2 where activo and id_periodico=1 and friendly_url<>'' and friendly_url='situacion-intradia-el-vix-sigue-mostrando-problemas-n-287426' and id_portada_padre in (select id_portada_edicion from cms_portadas_edicionv2 where activo and id_periodico=1 and friendly_url<>'' and friendly_url='trading') HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_redirecciones where activo=1 and trim(url_origen)='https://oacloud.estrategiasdeinversion.com/analisis/trading/situacion-intradia-el-vix-sigue-mostrando-problemas-n-287426' order by id desc limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_portadas_edicionv2 where activo and id_periodico=1 and friendly_url<>'' and friendly_url='situacion-intradia-el-vix-sigue-mostrando-problemas-n-287426' HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT cms_articulos.*,
titulo AS titulo,
(SELECT nombre FROM cms_portadas_edicionv2 WHERE id_portada_edicion = cms_articulos.id_categoria) AS edicion,
(SELECT nombre FROM cms_portadas_edicionv2 WHERE id_portada_edicion = cms_articulos.id_categoria_2) AS categoria_2,
(SELECT nombre FROM cms_blogs WHERE id_blog = cms_articulos.id_categoria) AS blog,
GROUP_CONCAT(cms_tags.nombre SEPARATOR ', ') AS tags
FROM cms_articulos
LEFT JOIN cms_articulos_taxonomias ON cms_articulos.id_articulo = cms_articulos_taxonomias.id_articulo
LEFT JOIN cms_tags ON cms_articulos_taxonomias.id_taxonomia = cms_tags.id
WHERE cms_articulos.supervisado = 1
AND cms_articulos.id_periodico = 1
AND cms_articulos.friendly_url <> ''
AND cms_articulos.friendly_url = 'situacion-intradia-el-vix-sigue-mostrando-problemas-n-287426'
GROUP BY cms_articulos.id_articulo HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_videos where id_articulo=3095440 and id_video>0 order by id_video asc limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_imagenes where id_articulo=3095440 order by orden asc HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT cms_articulos.*,
titulo AS titulo,
(SELECT nombre FROM cms_portadas_edicionv2 WHERE id_portada_edicion = cms_articulos.id_categoria) AS edicion,
(SELECT nombre FROM cms_portadas_edicionv2 WHERE id_portada_edicion = cms_articulos.id_categoria_2) AS categoria_2,
(SELECT nombre FROM cms_blogs WHERE id_blog = cms_articulos.id_categoria) AS blog,
GROUP_CONCAT(cms_tags.nombre SEPARATOR ', ') AS tags
FROM cms_articulos
LEFT JOIN cms_articulos_taxonomias ON cms_articulos.id_articulo = cms_articulos_taxonomias.id_articulo
LEFT JOIN cms_tags ON cms_articulos_taxonomias.id_taxonomia = cms_tags.id
WHERE cms_articulos.id_articulo = 3095440
AND cms_articulos.supervisado = 1
GROUP BY cms_articulos.id_articulo HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_videos where id_articulo=3095440 and id_video>0 order by id_video asc limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_imagenes where id_articulo=3095440 order by orden asc
Situación intradía. El VIX sigue mostrando problemas. Repaso al primer día del mes. Septiembre, más peligroso que octubre | Estrategias de Inversión
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
p.friendly_url AS friendly_url,
p.id_importacion AS id_importacion,
p.id_portada_padre AS id_portada_padre,
per.dominio AS dominio,
per.dominio_staging AS dominio_staging
FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico)
LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio)
ON p.id_periodico = per.id_periodico
WHERE p.id_portada_edicion = 47; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=46 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_blogs where id_blog=1357
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'mega' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sticky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'nativo' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'mega' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sticky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'nativo' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sticky' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_hoy_es_noticia where activo and tipo = 'cabecero' and FIND_IN_SET('1', periodicos) > 0 and (select count(*) from cms_destacados_portadas where id_destacado=cms_hoy_es_noticia.id_hoy and id_portada=1)>0 order by id_hoy asc
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'mega' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
Situación intradía. El VIX sigue mostrando problemas. Repaso al primer día del mes. Septiembre, más peligroso que octubre
Fuertes bajadas en las bolsas europeas un día más, por lo mismo de siempre, un Wall Street que al final está purgando todos sus excesos de golpe, con el tema de la subida de tipos de interés como excusa, y una economía y bolsa chinas que cada día dan más miedo. La sensación de que la influencia china es enorme, y que su gobierno no tiene las ideas nada claras de cómo controlar la situación dan mucho respeto.
Los gráficos están muy deteriorados y la tendencia es bajista sin discusión.
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select a.id_articulo, a.titulo, a.id_categoria, a.friendly_url, a.friendly_url_categoria
from cms_articulos_relacionados ar FORCE INDEX (cms_articulos_relacionados_id_articulo_id_articulo_relacionado)
left join cms_articulos a FORCE INDEX (PRIMARY) on ar.id_relacionado = a.id_articulo
where ar.id_articulo = 3095440
and ar.id_articulo <> 0
and ar.id_articulo is not NULL
order by ar.id_articulo_relacionado asc
limit 2
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_audios where id_articulo=3095440 order by id_articulo_audio asc
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_blogs where id_blog =1357
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_videos where id_articulo=3095440 order by id_articulo_video asc limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_imagenes where id_articulo=3095440 order by orden asc limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_blogs where id_blog =1357 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_entidades where id =0
01 Septiembre 2015 -
14:04
Actualizado a las
00:00
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT * FROM cms_articulos_favoritos WHERE id_usuario = '0' and id_articulo='3095440'
Y esto sigue augurando más nervios, de más del 12% es el nivel de backwardation ahora mismo, casi nada…
La tendencia de corto plazo es claramente bajista y mejor no ponerse contra ella.
Hoy es primer día del mes. Y ya saben que en estos días, se activa muy a menudo, sobre todo cuando el mercado es alcista, que no está claro que sea el caso actual, una pauta alcista bastante interesante. Insisto que no funciona bien cuando el mercado es bajista como ahora, y desde luego este mes no era un buen mes para aplicarla.
He actualizado datos de qué habría pasado, en el futuro del Ibex, desde 1997 hasta la fecha, que se hubiera limitado a comprar un futuro cerca del cierre del último día operativo del mes, cerrando la posición muy cerca del cierre del primer día del mes, de trading, es decir tal día como hoy. Los resultados de la estrategia son magníficos, teniendo en cuenta que solo se está dentro de mercado un día al mes.
Tiene años malos, pero está claro, que al ser una estrategia alcista, va peor cuando el mercado está bajista o muy lateral, como pasó en el 2014. Vean por años.
1997
+681 puntos
1998
+543
1999
+1.471
2000
+1.614
2001
-211
2002
+16
2003
+619
2004
+652
2005
+576
2006
+346
2007
+251
2008
-350
2009
+323
2010
+1.433
2011
-458
2012
+474
2013
+566
2014
-774
2015 hasta agosto
+205
La gran tendencia bajista de 2000-2002 la pasó sin problemas, el crash de 2008 no le afectó demasiado, peor lo pasó en el 2011 lleno de turbulencias y en el lateral del año pasado.
El resultado global es muy bueno desde 1997 habría ganado 7.325 puntos del Ibex, cuando comprando y manteniendo todos esos años solo se habrían ganado 5.142. Y lo mejor es que con solo 12 días al año dentro de mercado. El drawdown máximo fue de 866 puntos.
En suma una vieja táctica que sigue dando guerra. Si se aplica solo en tendencias alcistas (no es el caso actual) sus resultados son realmente brillantes.
Y ahora nos metemos en septiembre, un mes estacionalmente complicado.
Vean este artículo de Fund People:
¿Deparará septiembre más sorpresas bursátiles? La historia dice que sí
Malas noticias para los inversores (o buenas si son contrarians): la evidencia histórica demuestra que, desde 1957, el único mes que siempre ha marcado la misma pauta para el S&P 500 es septiembre; en concreto, el índice ha registrado pérdidas medias del 1% durante el noveno mes del año en los últimos 58 años.
Es la conclusión de un análisis realizado por BlackRock a partir de datos de Bloomberg, del que se hace eco Russ Koesterich, estratega jefe de la gestora. Éste destaca otra conclusión del estudio, el hecho de que septiembre figure “como el único mes en el que el mercado ha caído más veces de las que ha subido”. Con todo, Koesterich cree que “lo que distingue realmente a septiembre de otros meses son los meses malos”. Se refiere a que los septiembres más negativos desde que empieza la serie histórica han generado pérdidas medias del 3,5%, lo que le lleva a concluir que “cuando septiembre es malo, tiende a ser muy malo”.
En este gráfico de Mark Hulbert, se ve lo malo que es septiembre:
Desde hace bastante más de 100 años es el peor con mucha diferencia, pero por mucha…
Y les recuerdo además esto que también comenta en mi Libro: Leones contra gacelas, edición 2015 (Editorial Planeta):
Septiembre. Mes más peligroso del año y no octubre como se dice.
Supongamos que invertimos 1 dólar en desde 1890 a 1996 en el Dow Jones. Es decir 106 años, más de un siglo…
Al final tendríamos 180 dólares que no está mal.
Pero supongamos que en cada uno de esos años eliminamos la inversión a final de agosto y la retomamos en octubre.
¡Habríamos ganado quitando septiembre 681,92 dólares por dólar invertido!
Desde siempre septiembre ha sido un mes complicado estacionalmente.
En este mes además, se detecta una peligrosa pauta bajista en la semana tras el vencimiento de futuros. Pocas veces esta semana es alcista, cuidado con ella. Hablaríamos de la semana del 21 al 25 de este mes.
Pero no todo es negativo, vean que buena pinta tiene este indicador, el de las compras de los insiders o grandes directivos de acciones de sus propias compañías:
Pueden leer más en este artículo de mis compañeros de estrategiasdeinversion.com:
La última semana de agosto, el Índice de Thomson Reuters que mide los movimientos de los principales 20 insider mostró la venta de 356.190 acciones frente a la compra de 69.125 títulos. Es decir, un ratio de 5 ventas por cada compra; lo que equivale a un territorio eminentemente bullish. De hecho, se trata de la lectura más favorable para el S&P 500 en el último año.
Explica el analista que los datos confirman que las últimas ocho señales bullish precedieron a rachas de subidas de entre dos y cinco semanas.
Demos ahora un vistazo a ese sistema de trading de largo plazo, que venimos siguiendo mes a mes y ojo porque da señal de venta por primera vez desde hace 44 meses.
SISTEMA DE TRADING MINI S&P 500
Como cada fin de mes actualizamos el seguimiento del “Sistema TRADERALIA Mini S&P 500” en gráfico de velas mensuales y con media simple (SMA) de 12 periodos.
Y ¡atención! porque hay novedades importantes ya que, tras tres años y ocho meses continuados de posición alcista, el sistema gira a corto.
Al cierre de la última sesión de AGOSTO de 2015, el futuro del Mini S&P cotiza en los 1.963 puntos y por debajo de su SMA de 12 meses situada en 2.045 por lo que el "Sistema TRADERALIA Mini S&P" cierra la posición larga o comprada abierta el 31-01-2012 en 1.308 puntos y abre una posición corta o vendida en el mismo momento (cierre 31-08-2015) y nivel (1.963 puntos).
Sin tener en cuenta dicha posición actual, el balance acumulado de trades ya cerrados (entre agosto 1998 y agosto 2015) arroja un resultado positivo de 2.239 puntos o 111.950 $ para un único contrato del futuro del Mini S&P y con solo 13 operaciones en todo el periodo.
Pueden ver la explicación del sistema y la tabla de operaciones y rentabilidades acumuladas en los últimos 17 años en el siguiente enlace:
Cambiando de tema hoy se ha anunciado que Repsol y RWE salen del Eurostoxx 50 a partir del 18 de septiembre y entran Safran y Fresenius.
Ya hemos hablado muchas veces la pauta de salidas y entradas de valores de los índices. Aquí lo interesante sería esperar al día 18 y ese día ponerse largo de los dos que salen y corto de los dos que entran y paciencia. La estrategia sale mal muy pocas veces.
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_premios where id_articulo=3095440 and 1 order by orden asc, id desc
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select pie as titulo, id_articulo_archivo from cms_articulos_archivos where id_articulo=3095440 order by orden asc HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_tags where nombre = 'Libre' limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_tags where nombre = 'Libre' limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select id_articulo, titulo as titulo from cms_articulos where id_articulo<3095440 and supervisado=1 and (id_categoria=1 or id_categoria_2=1) order by id_articulo desc limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select id_articulo, titulo from cms_articulos where id_articulo>3095440 and supervisado=1 and (id_categoria=1 or id_categoria_2=1) order by id_articulo asc limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'nativo' and visible_en in (0,2,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_videos_seguimientos where id_articulo=3095440 and id_articulo > 0
HERRAMIENTAS
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_videos_seguimientos where id_articulo=0 and id_articulo > 0
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,1,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,1,7) and (hora_inicio<='02:23:57' or hora_inicio='00:00:00') and (hora_fin>='02:23:57' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,20) order by prioridad desc, posicion asc, RAND() limit 1
PREMIUM HOY
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select dispone_de_contenido from cms_portadas_edicionv2 where id_portada_edicion=1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select
cms_articulos.id_articulo,
cms_articulos.titulo,
cms_articulos.id_categoria,
cms_articulos.friendly_url,
cms_articulos.friendly_url_categoria,
cms_articulos.autor,
pe.nombre as edicion
from cms_portadas_edicionv2_articulos FORCE INDEX (cms_portadas_id_portada_edicion_id_portada_edicion_articulo)
inner join cms_articulos FORCE INDEX (PRIMARY) on cms_portadas_edicionv2_articulos.id_articulo = cms_articulos.id_articulo
left join cms_portadas_edicionv2 pe FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre) on pe.id_portada_edicion = cms_articulos.id_categoria
where cms_articulos.supervisado=1
and cms_portadas_edicionv2_articulos.id_portada_edicion=1
and cms_articulos.fecha <= DATE_SUB(NOW(), INTERVAL 3 HOUR) and cms_articulos.id_categoria not in (0)
group by cms_portadas_edicionv2_articulos.id_articulo
order by cms_portadas_edicionv2_articulos.id_portada_edicion_articulo asc
limit 3 HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
p.friendly_url AS friendly_url,
p.id_importacion AS id_importacion,
p.id_portada_padre AS id_portada_padre,
per.dominio AS dominio,
per.dominio_staging AS dominio_staging
FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico)
LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio)
ON p.id_periodico = per.id_periodico
WHERE p.id_portada_edicion = 40; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
p.friendly_url AS friendly_url,
p.id_importacion AS id_importacion,
p.id_portada_padre AS id_portada_padre,
per.dominio AS dominio,
per.dominio_staging AS dominio_staging
FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico)
LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio)
ON p.id_periodico = per.id_periodico
WHERE p.id_portada_edicion = 41; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
p.friendly_url AS friendly_url,
p.id_importacion AS id_importacion,
p.id_portada_padre AS id_portada_padre,
per.dominio AS dominio,
per.dominio_staging AS dominio_staging
FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico)
LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio)
ON p.id_periodico = per.id_periodico
WHERE p.id_portada_edicion = 49; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=48 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=46
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select dispone_de_contenido from cms_portadas_edicionv2 where id_portada_edicion=1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select cms_articulos.id_articulo,cms_articulos.visitas,cms_articulos.titulo, cms_articulos.id_categoria, cms_articulos.friendly_url, cms_articulos.friendly_url_categoria, cms_articulos.autor, (select nombre from cms_portadas_edicionv2 where id_portada_edicion = cms_articulos.id_categoria) as edicion from cms_portadas_edicionv2_articulos left join cms_articulos on cms_portadas_edicionv2_articulos.id_articulo = cms_articulos.id_articulo where cms_portadas_edicionv2_articulos.id_portada_edicion <> 11 and cms_articulos.supervisado=1 and cms_portadas_edicionv2_articulos.id_portada_edicion=1 and cms_articulos.fecha <= DATE_SUB(NOW(), INTERVAL 3 HOUR) and (cms_articulos.id_categoria<>11 and cms_articulos.id_categoria_2<>11 and cms_articulos.id_categoria_3<>11) group by cms_portadas_edicionv2_articulos.id_articulo order by cms_articulos.visitas desc limit 3 HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
p.friendly_url AS friendly_url,
p.id_importacion AS id_importacion,
p.id_portada_padre AS id_portada_padre,
per.dominio AS dominio,
per.dominio_staging AS dominio_staging
FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico)
LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio)
ON p.id_periodico = per.id_periodico
WHERE p.id_portada_edicion = 40; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
p.friendly_url AS friendly_url,
p.id_importacion AS id_importacion,
p.id_portada_padre AS id_portada_padre,
per.dominio AS dominio,
per.dominio_staging AS dominio_staging
FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico)
LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio)
ON p.id_periodico = per.id_periodico
WHERE p.id_portada_edicion = 41; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
p.friendly_url AS friendly_url,
p.id_importacion AS id_importacion,
p.id_portada_padre AS id_portada_padre,
per.dominio AS dominio,
per.dominio_staging AS dominio_staging
FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico)
LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio)
ON p.id_periodico = per.id_periodico
WHERE p.id_portada_edicion = 154; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=153
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,1,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,20,29) order by prioridad desc, posicion asc, RAND() limit 1
LO ULTIMO
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT dispone_de_contenido FROM cms_portadas_edicionv2 WHERE id_portada_edicion=1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
a.id_articulo,
a.titulo,
a.id_categoria,
a.friendly_url,
a.friendly_url_categoria,
a.autor,
pe.nombre AS edicion
FROM cms_portadas_edicionv2_articulos pa FORCE INDEX (cms_portadas_id_portada_edicion_id_portada_edicion_articulo)
INNER JOIN cms_articulos a ON pa.id_articulo = a.id_articulo
LEFT JOIN cms_portadas_edicionv2 pe FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre) ON pe.id_portada_edicion = a.id_categoria
WHERE pa.id_portada_edicion <> 11
AND a.supervisado = 1
AND pa.id_portada_edicion = 1
AND a.fecha <= DATE_SUB(NOW(), INTERVAL 3 HOUR)
AND a.id_categoria <> 11 AND a.id_categoria_2 <> 11 AND a.id_categoria_3 <> 11
GROUP BY pa.id_articulo
ORDER BY pa.id_portada_edicion_articulo ASC
LIMIT 5 HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
p.friendly_url AS friendly_url,
p.id_importacion AS id_importacion,
p.id_portada_padre AS id_portada_padre,
per.dominio AS dominio,
per.dominio_staging AS dominio_staging
FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico)
LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio)
ON p.id_periodico = per.id_periodico
WHERE p.id_portada_edicion = 40; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
p.friendly_url AS friendly_url,
p.id_importacion AS id_importacion,
p.id_portada_padre AS id_portada_padre,
per.dominio AS dominio,
per.dominio_staging AS dominio_staging
FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico)
LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio)
ON p.id_periodico = per.id_periodico
WHERE p.id_portada_edicion = 49; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=48 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=46
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
p.friendly_url AS friendly_url,
p.id_importacion AS id_importacion,
p.id_portada_padre AS id_portada_padre,
per.dominio AS dominio,
per.dominio_staging AS dominio_staging
FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico)
LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio)
ON p.id_periodico = per.id_periodico
WHERE p.id_portada_edicion = 41; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
p.friendly_url AS friendly_url,
p.id_importacion AS id_importacion,
p.id_portada_padre AS id_portada_padre,
per.dominio AS dominio,
per.dominio_staging AS dominio_staging
FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico)
LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio)
ON p.id_periodico = per.id_periodico
WHERE p.id_portada_edicion = 40; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
p.friendly_url AS friendly_url,
p.id_importacion AS id_importacion,
p.id_portada_padre AS id_portada_padre,
per.dominio AS dominio,
per.dominio_staging AS dominio_staging
FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico)
LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio)
ON p.id_periodico = per.id_periodico
WHERE p.id_portada_edicion = 40; HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT
a.*,
pe.nombre AS categoria_name,
pe.friendly_url AS categoria_friendly_url,
b.nombre AS autor_name
FROM (
SELECT id_articulo, MAX(fecha) AS fecha_orden
FROM (
(SELECT id_articulo, fecha FROM cms_articulos a FORCE INDEX (cms_articulos_tipo_articulo_fecha) WHERE a.tipo_articulo = 19 ORDER BY a.fecha DESC LIMIT 5)
UNION ALL
(SELECT id_articulo, fecha FROM cms_articulos a FORCE INDEX (cms_articulos_tipo_articulo_id_categoria) WHERE a.tipo_articulo = 11 AND a.id_categoria IN (22,32,40,41,42,44,47,49,50,52,65,66,67,68,73,74,154,159,164,165,166,167,168,169,174,175,176,178,179,180,181,182,183,184,185) ORDER BY a.fecha DESC LIMIT 5)
UNION ALL
(SELECT id_articulo, fecha FROM cms_articulos a FORCE INDEX (cms_articulos_tipo_articulo_id_categoria_2) WHERE a.tipo_articulo = 11 AND a.id_categoria_2 IN (22,32,40,41,42,44,47,49,50,52,65,66,67,68,73,74,154,159,164,165,166,167,168,169,174,175,176,178,179,180,181,182,183,184,185) ORDER BY a.fecha DESC LIMIT 5)
UNION ALL
(SELECT id_articulo, fecha FROM cms_articulos a FORCE INDEX (cms_articulos_tipo_articulo_id_categoria_3) WHERE a.tipo_articulo = 11 AND a.id_categoria_3 IN (22,32,40,41,42,44,47,49,50,52,65,66,67,68,73,74,154,159,164,165,166,167,168,169,174,175,176,178,179,180,181,182,183,184,185) ORDER BY a.fecha DESC LIMIT 5)
) AS sub_ids
GROUP BY id_articulo
ORDER BY fecha_orden DESC
LIMIT 5
) AS filter_ids
INNER JOIN cms_articulos a ON a.id_articulo = filter_ids.id_articulo
LEFT JOIN cms_portadas_edicionv2 pe FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre) ON pe.id_portada_edicion = a.id_categoria
LEFT JOIN cms_blogs b FORCE INDEX (cms_blogs_id_blog_nombre) ON b.id_blog = a.firma_como_ai
ORDER BY filter_ids.fecha_orden DESC
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,1,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,20,29,30) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'mega' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,20,29,30,31) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_urgentes where activo and 1 in (select id_portada from cms_urgentes_portadas where id_urgente=cms_urgentes.id_urgente) order by fecha_ultima desc limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'mega' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:58' or hora_inicio='00:00:00') and (hora_fin>='02:23:58' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='02:23:59' or hora_inicio='00:00:00') and (hora_fin>='02:23:59' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'nativo' and visible_en in (0,2,7) and (hora_inicio<='02:23:59' or hora_inicio='00:00:00') and (hora_fin>='02:23:59' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:59' or hora_inicio='00:00:00') and (hora_fin>='02:23:59' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:59' or hora_inicio='00:00:00') and (hora_fin>='02:23:59' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:59' or hora_inicio='00:00:00') and (hora_fin>='02:23:59' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:59' or hora_inicio='00:00:00') and (hora_fin>='02:23:59' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:59' or hora_inicio='00:00:00') and (hora_fin>='02:23:59' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:59' or hora_inicio='00:00:00') and (hora_fin>='02:23:59' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:59' or hora_inicio='00:00:00') and (hora_fin>='02:23:59' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:59' or hora_inicio='00:00:00') and (hora_fin>='02:23:59' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:59' or hora_inicio='00:00:00') and (hora_fin>='02:23:59' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1 HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='02:23:59' or hora_inicio='00:00:00') and (hora_fin>='02:23:59' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1