Como acceder al indicador Fibonacci y guardar precio R1 y S1 en variables?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #229697 quote
    gustavobp
    Participant
    New

    Buenos dias amigos, estoy intentado mejorar mi estrategia automatica intentando guardar en una variable los niveles de R1, R2, y R3 y S1, S2 Y S2 del indicador estandar que viene en ProRealTime de “Fibonacci Pivots”, si pudiese guardar en una varibale por ejemplo

    PrecioR1Fib = Valor Indicador precio R1 fibonacci

    PrecioS1Fib = Valor Indicador precio S1 fibonacci.

    Entonces podria mejorar la entrada y salida de mis entradas automaticas teniendo almacenadas dichos precios en una variable ya que al acercarse el precio a esos valores podria cerrar posicion o bien abrir una posicion segun convenga.

    Agradecido y muchas gracias a todos!

    Un saludo

    #229726 quote
    robertogozzi
    Moderator
    Master

    Con la ayuda de la programación asistida obtuve este código:

    Pvt  = (DHigh(1) + DLow(1) + DClose(1))/3    //Pivot
    Res1 = (DHigh(1) + DLow(1) + DClose(1))/3 + (.382 * (DHigh(1)-DLow(1)))
    Res2 = (DHigh(1) + DLow(1) + DClose(1))/3 + (.618 * (DHigh(1)-DLow(1)))
    Sup1 = (DHigh(1) + DLow(1) + DClose(1))/3 - (.382 * (DHigh(1)-DLow(1)))
    Sup2 = (DHigh(1) + DLow(1) + DClose(1))/3 - (.618 * (DHigh(1)-DLow(1)))
    #229729 quote
    gustavobp
    Participant
    New

    Muchas gracias Roberto por tu ayuda con el codigo, probare tambien la programacion asistida a ver si puedo resolver tambien mas temas.

    Un saludo y gracias!

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

Como acceder al indicador Fibonacci y guardar precio R1 y S1 en variables?


ProOrder: Trading Automático y Backtesting

New Reply
Author
author-avatar
gustavobp @gustavobp Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by gustavobp
1 year, 12 months ago.

Topic Details
Forum: ProOrder: Trading Automático y Backtesting
Language: Spanish
Started: 03/13/2024
Status: Active
Attachments: No files
Logo Logo
Loading...