PERIODE TRADING POUR ROBOT

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #191028 quote
    Gigi
    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
    robertogozzi
    Moderator
    Master

    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
    Gigi
    Participant
    Senior

    Bonsoir, merci beaucoup.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

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 Gigi
3 years, 10 months ago.

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