DEFINIR AL ALZA

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8900 quote
    Karen Magali Esquenon
    Participant
    New

    Como estan?

    Quisiera consultar como hago para definir el condicional del alza a dos velas anteriores? estaria bien asi?

    indicator1 = close[-2]
    indicator2 = open[-1]
    indicator3 = close[-2]
    indicator4 = close[-1]

    c1 = (indicator3 < indicator1) and (indicator4 < indicator2)

    #8907 quote
    Nicolas
    Keymaster
    Master

    Es necesario valor absoluto. Sus condiciones pueden ser probadas como esto:

    c1 = close[2]<open[2] and close[1]<open[1]
    #8958 quote
    ivan mulvihill
    Participant
    New

    Nicolas,

    Eso no es a la baja?

    Baja:  c1 = close[2]<open[2] and close[1]<open[1]

    Alza: c1 = close[2]>open[2] and close[1]>open[1]

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

DEFINIR AL ALZA


ProOrder: Trading Automático y Backtesting

New Reply
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by ivan mulvihill
9 years, 8 months ago.

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