Articles by: cpdiver

  • Calibrate Vision Sensors On The Phantom 4 To Fix Errors

    Calibrate Vision Sensors On The Phantom 4 To Fix Errors

    How To Calibrate Vision System On Phantom 4 DroneCalibrating the vision sensors on your Phantom 4 is important.  If the vision sensors and system is not working correctly, then the Phantom 4 quadcopter can experience height loss and drop quickly. Also, the Phantom 4 will not recognize obstacles with a very real possibility of it crashing.  So calibration of the Phantom 4 sensors is…

    Read more »

  • Río Bita, en Vichada, es declarado hoy el nuevo sitio Ramsar del país

    window.tabbola_type = “article”;
    Comentarios

    (function ($) {
    // // returns the value of a specified cookie
    function getCookie(cname) {
    var name = cname + “=”;

    var decodedCookie = decodeURIComponent(document.cookie);
    var ca = decodedCookie.split(‘;’);
    for (var i = 0; i < ca.length; i++) {
    var c = ca[i];
    while (c.charAt(0) == ' ') {
    c = c.substring(1);
    }
    if (c.indexOf(name) == 0) {
    data = c.substring(name.length, c.length);
    return JSON.parse(data);
    }
    }
    return "";
    }
    function _read_cookie() {
    if(typeof window.register_services == 'undefined'){
    window.register_services = getCookie("_register_services");
    }
    }

    function can_update_comment(commentName){
    if(
    typeof window.register_services != 'undefined' &&
    window.register_services !== null && window.register_services != '' &&
    window.register_services.hasOwnProperty('name') &&
    window.register_services.name == commentName
    ){
    return true;
    }else{
    return false;
    }
    }

    function can_create_comment(){
    if(typeof window.register_services == 'undefined' || window.register_services == null || window.register_services == '') return 0;
    if( window.register_services.role != 1 ) return 2;
    return 1;
    }
    function _html_form_register(user_rol){
    html = '';
    html += '’+

    Este es un espacio para la construcción de ideas, y de opinión.

    ‘+

    Se busca crear un foro de convivencia y reflexión, no un escenario de ataques al pensamiento contrario

    ‘;
    if(user_rol == 1){
    html += ”+
    ‘Su correo no ha sido confirmado. para poder opinar en los contenidos de El Espectador debe confirmarlo haciendo click ‘+
    ‘AQUÍ’+
    ”;
    }else{
    html += ‘

    ‘+
    ”+
    Ingrese aquí‘+
    ”+
    ”;
    }
    return html;
    }

    function generate_popup(message) {
    return ”+
    ”+
    ”+
    ‘+
    ”+
    ”+
    ”+
    ”+
    ”+
    ‘Error message’+
    message +”+
    ”+
    ”+
    ”+
    ”;
    }
    function init(comments, canComment) {
    var canComment = can_create_comment();
    var html = “”;
    html += canComment == 2 ? _html_form_send(false) : _html_form_register(canComment);
    html += “”;
    $.each(comments.data, function (i, comment) {
    html += _html_comment(comment, canComment);
    });
    html += “”;
    html += “”;
    $(“.comment_list_796214″).html(html).slideToggle(200);
    _active_events();
    }

    function _html_comment(comment, canComment) {
    var html = ”;
    html += “”;
    html += “”;
    html += “

    ” + comment.name + ” ” + comment.create + “

    “;
    html += “”;
    html += “

    ” + comment.body + “

    “;
    html += “”;
    if(canComment == 2) html += “Responder”;
    if(can_update_comment(comment.name)) html += “Editar”;
    html += “”;
    html += “”;
    if (typeof comment.lchildren !== ‘undefined’ && comment.lchildren.length > 0) {

    $.each(comment.lchildren, function (i, cm) {
    html += _html_comment(cm, 0);
    });

    }
    html += “”;
    html += “”;
    return html;
    }

    function _html_form_send(cancel) {
    var html = ”;
    html = ”+

    Este es un espacio para la construcción de ideas, y de opinión.

    ‘+

    Se busca crear un foro de convivencia y reflexión, no un escenario de ataques al pensamiento contrario

    ‘+

    Máximo 1500 caracteres

    ‘+
    ”;
    if(cancel) html=”;
    html += ” +
    ” +
    ” +
    ‘Enviar’;
    html += cancel ?’Cancelar’ : ”;
    html +=” +
    ”;
    return html;
    }

    function _active_events() {

    $(“.btn-cancel”).off(“click”);
    $(“.btn-cancel”).on(“click”, function (event) {
    event.preventDefault();
    var p = $(this).parents(“.form-comment”).first();
    p.siblings(“.btns”).show();
    p.remove();
    });

    $(“.btn-send”).off(“click”);
    $(“.btn-send”).on(“click”, function (event) {
    event.preventDefault();
    var p = $(this).parents(“.form-comment”).first();
    p.children(“textarea”).removeAttr(‘style’);
    var text = p.children(“textarea”).val();
    var that = $(this);
    that.hide();
    if (text == “”) {
    $(“.comment_list_796214”).append(generate_popup(‘El campo Comentario es obligatorio.’));
    p.children(“textarea”).css({“border-color”: “red”, “border-width”:”2px”, “border-style”:”solid”});
    that.show();
    } else {
    var p_comment = $(this).parents(“.item-comment-chield”).first();
    var formData = new FormData();
    formData.append(“comment”, text);
    if( p_comment.hasClass(“update”) ){
    p_comment.find(‘.bts-form’).hide();
    var comment_id = p_comment.attr(“data-commentid”);
    // formData.append(“parentId”, comment_id);
    formData.append(“nid”, “796214”);
    $.ajax({
    url: “/ee-comments-services/comments/update/”+comment_id,
    type: ‘POST’,
    data: formData,
    cache: false,
    contentType: false,
    processData: false,
    success: function (response) {
    if (response.status == true) {
    p_comment.children(“.comment-body”).text(text);
    p_comment.children(“.form-comment”).remove();
    p_comment.children(“.btns”).show();
    p_comment.removeClass(“update”);
    } else {
    if(response.message){
    p_comment.children(“.comment-body”).append(generate_popup(response.message));
    }else{
    p_comment.children(“.comment-body”).append(generate_popup(‘No se pudo actualizar el comentario’));
    }
    p_comment.children(“.form-comment”).remove();
    p_comment.children(“.btns”).show();
    }
    that.show();
    }
    });
    }else{
    var cantComment = 0;
    if (p_comment.length == 0) {
    cantComment = can_create_comment();
    formData.append(“parentId”, “0”);
    console.log(‘este es nuevo’);
    } else {
    cantComment = 0;
    formData.append(“parentId”, p_comment.attr(“data-commentid”));
    console.log(‘esto es una respuesta’);
    }
    $.ajax({
    url: “/ee-comments-services/comments/create/796214”,
    type: ‘POST’,
    data: formData,
    cache: false,
    contentType: false,
    processData: false,
    success: function (response) {
    if (response.status == true) {
    var html_comment = _html_comment(response.data, cantComment);
    if (p_comment.length == 0) {
    p.find(“textarea”).val(“”);
    p.parents(“.super_box”).first().find(“.comments_box”).prepend(html_comment);
    } else {
    var btn = p.siblings(“.btns”);
    btn.show();
    p.remove();
    btn.siblings(“.lchildren”).append(html_comment);
    }
    _active_events();
    } else {
    var btn = p.siblings(“.btns”);
    if(response.message){
    console.log(response);
    $(“.comment_list_796214”).append(generate_popup(response.message));
    }else{
    $(“.comment_list_796214”).append(generate_popup(‘No se pudo guardar el comentario’));
    }
    }
    that.show();
    }
    });
    }

    }
    _active_events();
    });

    $(“.btn-responder”).off(“click”);
    $(“.btn-responder”).on(“click”, function (event) {
    event.preventDefault();
    var btn = $(this).parents(“.item-comment-chield”).first().children(“.btns”);
    btn.after(_html_form_send(true));
    btn.hide();
    _active_events();
    });

    $(“.btn-editar”).off(“click”);
    $(“.btn-editar”).on(“click”, function (event) {
    event.preventDefault();
    console.log(‘entro al editar’);
    var p = $(this).parents(“.item-comment-chield”).first();
    var btn = p.children(“.btns”);
    btn.after(_html_form_send(true));
    btn.hide();
    p.addClass(“update”);
    p.find(“textarea”).val(p.children(“.comment-body”).text());
    _active_events();
    });
    $(“.btn-send-notify-user-zone”).off(“click”);
    $(‘.btn-send-notify-user-zone’).click(function () {
    $.ajax({
    method: ‘GET’,
    url: ‘/register-services/user/confirm’,
    cache: false,
    contentType: false,
    processData: false,
    dataType: ‘json’,
    success: function (result) {
    if(result.status) $(‘.div-btn-send-notify’).append(generate_popup(result.message));
    },
    })
    })
    }
    var host = window.location.origin;
    _read_cookie();
    var urlcount = host + “/ee-comments-services/comments/count/” + “796214”;
    $.get(urlcount, function (response) {
    $(“.get_comments_796214”).children(‘span’).html(response.totalComments);
    });
    $(“.get_comments_796214”).on(‘click’, function (event) {
    event.preventDefault();
    var selector = $(“.comment_list_796214”);
    if( selector.hasClass( “push” )){
    selector.removeClass(“push”)
    }else{
    selector.addClass(“push”)

    }
    if( selector.hasClass( “response” )){
    selector.slideToggle(200);
    }else{
    selector.addClass(“response”)
    $.get(host + “/ee-comments-services/comments/read/” + “796214”, function (response) {
    init(response);
    });
    }

    });
    })(jQuery);

    Read more »

  • How To Trade Growth Stocks: This Should Happen In Every Great Breakout

    How To Trade Growth Stocks: This Should Happen In Every Great Breakout

    In America, most moviegoers must have a bag of popcorn while watching. In growth stocks, what’s the one thing you must have for an outstanding breakout?

    X

    Volume. Lots of it.

    If the amount of shares traded on breakout day, or a few days afterward, surges well above normal levels, your confidence in the stock should grow. As a stock bolts out of a good double bottom or other type of base, heavy turnover means this: The big guns on Wall Street are accumulating shares big time. They’re willing to pay up.

    What are “normal levels?”

    IBD calculates a 50-day average daily share volume and plots it as a thin red line on daily charts. So you can quickly see if volume was heavy, flat or light on any trading day. Just compare the height of the volume bar for that day with the 50-day line itself.

    At Investors.com, open up a daily chart and click on any price-and-volume bar. A pop-up data box shows the volume that day and how it compares with average volume. Ideally, volume on the breakout day should be at least 40% above the 50-day average. For small and midcap stocks, volume might double, triple or even quadruple.

    Big Breakout, Texan-Style

    Texas Instruments (TXN) flashed a picture-perfect breakout on Sept. 15.

    After peaking on June 9 of last year at 84.65 (1), the semiconductor play cooled off for three weeks, hitting bottom at 75.92. The 10.3% drop from head to toe was unusually shallow for a typical cup with handle. Yet, it carved the pattern well. Notice how the nearly four weeks up in price, formed the cup’s right side. The handle was also quite long, but it showed a dry-up in volume (2). Note the bullish support along the 50-day moving average.

    On the breakout, the market was in a confirmed uptrend. (Always check in the Big Picture column). TI rallied 1.9% and rolled past the 84.34 buy point (10 cents above the handle’s highest price). See how the volume bar soared well above the 50-day moving average line (3)? Mutual funds, banks, pension funds and the like furiously snatched shares. Turnover soared 154% above its average 4.06 million shares to 10.3 million.

    TI briefly pulled back three days later in above-average trade (4), but it paled vs. the breakout volume. Plus, the Dallas-based firm held above the proper buy point. No reason to sell.

    Different Chart Pattern, Same Result

    Could you have viewed TI’s base as a flat base as well? No problem. With an 84.75 buy point, the breakout day was the same.

    Want an easy way to discover future breakouts? Check IBD’s Stocks On The Move table. It shows stock posting the heaviest changes in volume — in real time.

    (Please follow Saito-Chung on Twitter at @IBD_DChung for more commentary on bases, chart patterns, buy points, and sell signals.)

    RELATED:

    How To Use Stock Charts: Why There Can Be More Than One Correct Interpretation

    More About The Cup With Handle

    What Are The Critical Elements Of The Flat Base?

    Stocks Near A Buy Zone

    Want To Find The Next Microsoft, Google, Netflix, Home Depot? Follow A Simple Routine

    The post How To Trade Growth Stocks: This Should Happen In Every Great Breakout appeared first on Investor's Business Daily.

    Read more »