ADX compreso tra due valori

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48032 quote
    R05R05
    Participant
    Veteran

    Buonasera a tutti, vorrei chiedervi, gentilmente, come posso fare per dire al sistema di prendere solo quelle operazioni che hanno come ADX un valore compreso tra 25 e 40.

    Vi ringrazio.

    #48034 quote
    R05R05
    Participant
    Veteran

    Anzi gentilissimi forse ho risolto. Dovrebbe essere il seguente codice:

    ca1 = ADX[14] >= 25
    ca2 = ADX[14] <= 40

    Dovrebbe darmi solo i valori compresi tra 25 e 40 e non tutti quelli sopra 25 e tutti quelli sotto 40. Dal backtest sembra corretto.

    #48035 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    AdxVal = ADX[14]
    IF AdxVal < 20 OR AdxVal > 35 THEN ....

    Roberto

    #48038 quote
    R05R05
    Participant
    Veteran

    Ok grazie

Viewing 4 posts - 1 through 4 (of 4 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

ADX compreso tra due valori


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
R05 @r05 Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by R05R05
8 years, 12 months ago.

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