semplificazione

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #95996 quote
    andrea trevisanandrea trevisan
    Participant
    Average

    per semplificare un codice tipo : low < low[1] and low < low[2] and low < low[3] posso unirlo in un unico comando?

    es low < low[1] and low[2] and low[3]

    #95998 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    È il low più basso degli ultimi 4:

    If low = lowest[4](low) then....
    #96001 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Diverso se tu volessi low < low[1] and low[1] < low[2] and low[2] < low[3], allora potresti scrivere:

    If summation[3](low < low[1]) = 3 then ...

    In ogni caso le condizioni non si possono abbreviare come avresti voluto fare te

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

semplificazione


ProOrder: Trading Automatico & Backtesting

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by robertogozzirobertogozzi
7 years, 5 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 04/10/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...