Combined value of two different indicators being an exit

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #240390 quote
    Kovit
    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ález
    Moderator
    Master

    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.

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ález
1 year, 3 months ago.

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