Syntaxe commande prix

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

    Bonjour,
    Veillez SVP me donner le syntaxe de la variable fixe prix.

    J’ai trouvé la variable AT MARKET mais je voulais comparer le prix du marché à une variable que j ai défini a l’avance.

    Comme par exemple:

    IF prix marché = MA VARIABLE  THEN
    BUY 10 SHARES AT MARKET

    prix marché est la commande que je veux savoir

    Merci d avance
    Saad

    #82283 quote
    NicolasNicolas
    Keymaster
    Legend

    Puisque le code est lu au Close de chaque bougie, il faut simplement utiliser Close. Donc selon ton exemple :

    IF Close = MAVARIABLE  THEN
     BUY 10 SHARES AT MARKET
    ENDIF
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

Syntaxe commande prix


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Sniper53 @sniper53 Participant
Summary

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

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