Combined value of two different indicators being an exit

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #240390 quote
    KovitKovit
    Participant
    Senior

    Hi guys,

    Is it possible to add the different values of two indicators together to use the increasing or diminishing values between them as an exit for a strategy I was thinking maybe ADX and something else along the lines of if

    ADX a = close

    indicator b = close

    exit strategy when the combined value of a +b is more or less than the previous close.

    If possible would this need to go into an array?

    Thanks in advance for any help with this.

    #240392 quote
    Iván GonzálezIván González
    Moderator
    Legend

    Hi! Yes, you can add two or more indicators.

    a=adx[14]
    b=rsi[14](close)
    c=a+b

    It’s not necessary create an array, just a new variable.

    Kovit thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

Combined value of two different indicators being an exit


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Kovit @kovit Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Iván GonzálezIván González
1 year, 10 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 11/15/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...