buy (or sell) valiidation indicator

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #161949 quote
    GARNIEPI
    Participant
    New

    I try to implement an indicator to validate a signal :

    example for buying signal validation :

    Step 1 : buying signal is given when MMA 7 Days> MMA 28 Days but it has to be validated

    Step2 : validation is given when the current daily closing is above the highest daily closing until 21 Days before the buying signal

    I know how to build the step 1 indicator but i do not know how to program the step 2

    if someone can help me

    best regards

    #161951 quote
    Vonasi
    Moderator
    Master
    close > highest[21](high[1])
    GARNIEPI thanked this post
    #161964 quote
    Nicolas
    Keymaster
    Master

    Step1 code is:

    condition = average[7]>average[28]
    GARNIEPI thanked this post
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

buy (or sell) valiidation indicator


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
GARNIEPI @garniepi Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by Nicolas
5 years ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 02/18/2021
Status: Active
Attachments: No files
Logo Logo
Loading...