achats réguliers

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #162481 quote
    growlergrowler
    Participant
    Junior

    Bonjour,
    Je suis archi débutant avec probacktest. Je voulais faire un backtest d’achats réguliers systématiques , par exemple achat pour X € d’un titre toutes les 20 périodes (par exemple toutes les 20 séances journalières).
    Pouvez-vous me dire quelles instructions de code je dois utiliser ou à quel endroit je peux trouver la liste des instructions ?
    Merci beaucoup pour votre aide.

    #162483 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Bonsoir,

    Ici sur ce site, dans le menu help ci-dessus, language documentation, tu arriveras à une page où les instructions sont par catégories, celles spécifiques à probacktest sont: https://www.prorealcode.com/documentation/category/probacktest/

    Autre source d’aide pour les instructions, celle intégrée à la plateforme dans l’éditeur de code: le bouton “fx”, sous menu “commandes probacktest”

    Et le manuel : https://www.prorealtime.com/fr/pdf/probacktest.pdf

    #162484 quote
    growlergrowler
    Participant
    Junior

    Merci beaucoup Noobywan, je vais me plonger dans cette documentation.

    #162499 quote
    NicolasNicolas
    Keymaster
    Legend

    Si tu veux acheter à nouveau depuis 20 séances, contrôle le dernier barindex enregistré :

    if barindex-lastindex=20 then 
     buy 100 shares at market 
     lastindex=barindex
    endif
Viewing 4 posts - 1 through 4 (of 4 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

achats réguliers


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
growler @growler Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by NicolasNicolas
5 years, 9 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 02/23/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...