Côture avec countoflongshares

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #211059 quote
    LurubuLurubu
    Participant
    Senior

    Bonjour,

    je désire clôturer mes positions en fin de journées.

    Elles seront acheteuses ou(exclusif) vendeuses et ente un et quatre.

    J’ai écrit : if time>200000 then

    sell countoflongshares

    exitshort coontofshortshares

    endif

    Peut-on faire plus court avec Countofshares et doit-on spécifier “at market”

    Merci d’avance.

    #211060 quote
    phoentzsphoentzs
    Participant
    Master

    Pour clôturer toutes les positions acheteuses ou vendeuses à 20h00:

    If Time >= 200000 then

    sell at market

    exitshort at market

    endif

    #211150 quote
    LurubuLurubu
    Participant
    Senior

    OK.

    Merci

Viewing 3 posts - 1 through 3 (of 3 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

Côture avec countoflongshares


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Lurubu @lurubu Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by LurubuLurubu
3 years, 7 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 03/07/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...