allarmi su trading system

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #186433 quote
    leo87
    Participant
    Junior

    Buongiorno

    volevo chiedervi se è possibile associare e-mail o messaggi ogni volta che un nostro trading system genera un’operazione, anche i paper trading.

     

    grazie

    #186436 quote
    robertogozzi
    Moderator
    Master

    Durante il backtest vengono segnalate entrate ed uscite, ma in autotrading no, solo se si verifica un’uscita viene segnalato.

    leo87 thanked this post
    #186518 quote
    leo87
    Participant
    Junior

    ciao vorrei scrivere un codice che entra ad esempio il secondo giorno del mese ed esce due giorni dopo , potresti aiutarmi

     

    grazie

    #186546 quote
    robertogozzi
    Moderator
    Master

    Te lo faccio appena possibile.

    #186956 quote
    robertogozzi
    Moderator
    Master

    Eccolo (esempio Long):

    IF Month <> Month[1] THEN
       Giorno = 1
       Conto  = 0
    Elsif Day <> Day[1] THEN
       Giorno = Giorno + 1
       Conto  = Conto  + 1
    ENDIF
    IF Giorno = 2  AND Not OnMarket THEN
       BUY 1 Contract at Market
       Conto = 1
    ENDIF
    IF LongOnMarket AND Conto > 2 THEN
       SELL at Market
    ENDIF
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

allarmi su trading system


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
leo87 @leo87 Participant
Summary

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

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 01/24/2022
Status: Active
Attachments: No files
Logo Logo
Loading...