DEFINIR AL ALZA

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8900 quote
    Karen Magali EsquenonKaren 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
    NicolasNicolas
    Keymaster
    Legend

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

    c1 = close[2]<open[2] and close[1]<open[1]
    #8958 quote
    ivan mulvihillivan 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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 mulvihillivan mulvihill
10 years, 4 months ago.

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