Optimisation stratégie automatique

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #146794 quote
    Fab28Fab28
    Participant
    Senior

    Bonsoir à tous

    J’ai trouvé sur le forum le code ci-dessous (je ne sais plus où)

    Lorsque je teste une stratégie en ajoutant ce code, le résultat est top.

    Mais je n’arrive pas à l’intégrer à une stratégie automatique.

    Est ce possible ?

    Si oui comment faire ?

    Existe t’il d’autres codes qui permettent d’optimiser une stratégie en cours  de trading ?

    if countofposition > countofposition[1]  THEN
    Trades = Trades + (countofposition-countofposition[1])
    ENDIF
    
    IF STRATEGYPROFIT <> STRATEGYPROFIT[1] THEN
    Averagegain = STRATEGYPROFIT/trades
    ENDIF
    #146818 quote
    NicolasNicolas
    Keymaster
    Legend

    Tu arrives à tester et avoir des résultats, mais tu n’arrives pas à l’intégrer ? 😕 Désolé je ne comprends pas bien le sens 🙂

    Par ailleurs ce code calcul le gain moyen des ordres, à chaque fois qu’un ou des ordres sont fermés, comment l’utilises-tu ? Comment optimises-tu ta stratégie grâce à ce calcul ?

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

Optimisation stratégie automatique


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Fab28 @fab28 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
6 years, 1 month ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 10/08/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...