Comment empecher le systéme de reprendre position après un stop

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #60876 quote
    kamalakamala
    Participant
    New

    Bonjour,

     

    Je souhaiterais savoir Comment empecher le systéme de reprendre position dans la même journée après un stop?

    Merci d’avance

    #62744 quote
    DAKDAK
    Participant
    Average

    Essaye ça :

    MaxDailyProfit = 1000 // in USD
    MaxDailyLoss = 1000 // in USD
    
    once TradeAllowed=1
    
    If intradaybarindex=0 then
    MyProfit=STRATEGYPROFIT
    TradeAllowed=1
    endif
    
    If StrategyProfit>=MyProfit+MaxDailyProfit or Strategyprofit<=MyProfit-MaxDailyLoss then
    TradeAllowed=0
    endif
    
    // Trade entry
    IF TradeAllowed=1 AND yourconditions THEN
    BUY 1 CONTRACTS AT MARKET
    ENDIF
    
    IF TradeAllowed=1 AND yourconditions THEN
    SELL 1 CONTRACTS AT MARKET
    ENDIF
    

    Il te suffit d’inscrire le montant du stop en monnaie et le système ne reprendra pas position pour la journée mais recommencera à trader le lendemain.

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

Comment empecher le systéme de reprendre position après un stop


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
kamala @kamala Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by DAKDAK
8 years, 8 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 01/29/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...