Code Holy Grail Strategie

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #161438 quote
    phoentzsphoentzs
    Participant
    Master

    Hallo,

    kann mir bitte jemand diese Strategie codieren? Ich möchte dies im Forex-Markt anwenden. Die Einstiegsregeln sind recht einfach und sehr gut auf der Website beschrieben.

    The Holy Grail Trading Setup – Trading Setups Review

    #161447 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Ich habe es nicht versucht:

    Defparam CumulateOrders = false
    MyAdx = ADX[14]
    Sma20 = average[20,0](close)
    // LONG  conditions
    L1 = MyAdx > 30
    L2 = low[1] > Sma20
    L3 = low <= Sma20
    L4 = close > Sma20
    L5 = MyAdx > MyAdx[1]
    condL = L1 and L2 and L3 and L4 and L5
    // SHORT Conditions
    S1 = L1
    S2 = high[1] < Sma20
    S3 = high >= Sma20
    S4 = close < Sma20
    S5 = L5
    condS = S1 and S2 and S3 and S4 and S5
    //LONG  Entry
    If CondL and Not OnMarket then
       Buy 1 contract at Market
    Endif
    //SHORT entry
    If CondS and Not OnMarket then
       Sellshort 1 contract at Market
    Endif
    // TP & SL
    Set Target pProfit 300
    Set Stop   pLoss   100
    phoentzs 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

Code Holy Grail Strategie


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
phoentzs @phoentzs Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
5 years, 7 months ago.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 02/15/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...