Stratégie de daytrading spécial indices

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #250325 quote
    DonTonyDonTony
    Participant
    Average

    Bonjour,

     

    Le temps me manque et j’aimerai coder quelque-chose pour le mettre à profit pour la communauté.

     

    Je vous demande, si cela est possible,  de le coder à ma place, et si cela fonctionne hors spread, de la diffuser dans la bibliothèque.

     

    Il s’agit d’une stratégie toute simple:

    Long if close>sma[8].

    Close il close < open

     

    Il s’agit donc d’achat uniquement lorsqu’une bougie supérieur à la sma8. Et clôture du trade lorsqu’une bougie rouge se forme.

     

    Le tout entre 15h30 et 22h.

     

    Je vous remercie par avance pour votre contribution.

     

    Cordialement,

    Tony

    #250328 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Voilà:

    IF (OpenTime >= 153000) AND (OpenTime <= 220000) THEN
       IF Not OnMarket AND close > average[8,0](close) THEN
          BUY 1 CONTRACT AT MARKET
       ENDIF
    ENDIF
    IF OnMarket AND close < open THEN
       SELL AT MARKET
    ENDIF
    Iván González thanked this post
    #250333 quote
    DonTonyDonTony
    Participant
    Average

    Merci Roberto.

    J’essaie cela dès que je serai rentré au bureau.

     

    Tony

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

Stratégie de daytrading spécial indices


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
DonTony @dontony Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by DonTonyDonTony
1 year, 2 months ago.

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