strategia reverse solo per 5 minuti

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #179807 quote
    seandsun12345seandsun12345
    Participant
    Junior

    Buonasera,volevo chiedere se qualcuno può aiutarmi a costruire una semplice strategia :

    se il dax alle ore 17:00 ha un valore superiore rispetto alle ore 16:00 alle 17:00 deve entrare short con target price di 20 punti , senza stop loss e chiusura del trade in qualsiasi caso alle 17:05

    viceversa se alle 17:00 il valore è inferiore deve entrare long con tp 20 punti e chiusura alle 17:05

    #179808 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo:

    If time = 160000 then
       Prezzo = close
    Endif
    If time = 170000 then
       If close > Prezzo then
          Sellshort 1 contract at Market
       Elsif close < Prezzo then
          Buy 1 contract at Market
       Endif
       Set Target pProfit 20
    Endif
    If time = 170500 then
       Sell at Market
       Exitshort at Market
    Endif
    #179811 quote
    seandsun12345seandsun12345
    Participant
    Junior

    Grazie Roberto lo provo con diversi orari di partenza e diversi target, se trovo qualcosa di interessante lo pubblico

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

strategia reverse solo per 5 minuti


ProOrder: Trading Automatico & Backtesting

New Reply
Author
Summary

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

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 10/16/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...