PERIODE TRADING POUR ROBOT

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

    Bonjour, j’ai un robot sur le DAX en 15 mn dont je voudrai

    qu’il trade uniquement de janvier à avril et de septembre à décembre.

    Pourriez vous me donner la ligne de code? Par avance, merci.

    #191029 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Voici:

    TradeTime = (OpenMonth >= 1 and OpenMonth <= 4) or (OpenMonth >= 9 and OpenMonth <= 12)
    If MyConditions and TradeTime then
       Buy/Sellshort 1 contract at Market
    Endif
    #191775 quote
    GigiGigi
    Participant
    Senior

    Bonsoir, merci beaucoup.

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

PERIODE TRADING POUR ROBOT


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Gigi @gigi Participant
Summary

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

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