buy (or sell) valiidation indicator

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #161949 quote
    GARNIEPIGARNIEPI
    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
    VonasiVonasi
    Moderator
    Master
    close > highest[21](high[1])
    GARNIEPI thanked this post
    #161964 quote
    NicolasNicolas
    Keymaster
    Legend

    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.
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

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 NicolasNicolas
5 years, 7 months ago.

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