Sistema Agorero solo cortos

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #183847 quote
    Walloper
    Participant
    New
    Buenas, este es el código de Amibroker y quisiera adaptarlo para prorealtime:

    //SISTEMA AGORERO (SP500 SOLO CORTO)
    // OSCAR G. CAGIGAS – 28/10/2017
    //————————————–

    //++++++++++ SISTEMA DE TRADING +++++++++++++

    //solo cortos//
    Buy = Sell = 0;

    //DEFINICIONES//
    volat = StDev(log(C/Ref(C,-1)),10)/StDev(log(C/Ref(C,-1)),100);
    bajaVolat = volat < volatTH;
    lineaAD = MA( Foreign(“IIAA.Z”,”C”) – Foreign(“IIAD.Z”,”C”),20);
    divergAD = LinRegSlope(C,per) > 0 AND LinRegSlope(lineaAD,per) < 0;

    //new Lows NYSE
    SetForeign(“FINL.Z”);
    peligro = Sum( C > 40, 5) >= 5;
    RestorePriceArrays();

    //sistema//
    Short = setupb = bajaVolat AND divergAD AND peligro;
    Cover = StochK(len,1) < salida;

     

    Muchas gracias

    #184580 quote
    Walloper
    Participant
    New

    ¿Nadie sabe?

    #184604 quote
    Fr7
    Participant
    Master

    En PRT no se pueden programar indicadores y sistemas de Market timing. Es decir, no se puede traducir esta línea:
    “lineaAD = MA( Foreign(“IIAA.Z”,”C”) – Foreign(“IIAD.Z”,”C”),20);”
    No se puede conseguir este ticket”IIAA.Z”. Espero haber resuelto tu duda y también la de muchos que piden utilizar sectores y subsectores en sistemas.

    #184635 quote
    Walloper
    Participant
    New

    Gracias por la respuesta. Bueno pues una cosa que deberían tener en cuenta como propuesta de mejora de la plataforma para futuras actualizaciones.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Sistema Agorero solo cortos


ProOrder: Trading Automático y Backtesting

New Reply
Author
author-avatar
Walloper @gaizka Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Walloper
4 years, 2 months ago.

Topic Details
Forum: ProOrder: Trading Automático y Backtesting
Language: Spanish
Started: 12/26/2021
Status: Active
Attachments: No files
Logo Logo
Loading...