Come simulare una strategia Martingala con le opzioni binarie?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #55560 quote
    ReviRevi
    Participant
    New

    Buongiorno,

    sono nuovo e volevo chiedere un aiuto per realizzare quanto segue. Sapreste aiutarmi

    Comprare al ventunesimo secondo di contrattazione quando la candela è rossa e vendere quando la candela è verde.

    Nel caso l’operazione non vada a buon fine raddoppiare la cifra fino al quarto o quinto tentativo.

    Una volta che l’operazione va a buon fine ripartire con la cifra di partenza.

    #55601 quote
    ReviRevi
    Participant
    New

    Mi potreste dare un consiglio anche solo per un piccolo pezzo di quanto ho descritto?

    #55667 quote
    maximus78maximus78
    Participant
    Senior

    Ciao, prova a seguire le indicazioni di questo post:

    https://www.prorealcode.com/blog/practical-martingale-code-automated-trading/

    Prova ad adattarlo con timeframe 1 secondo con le condizioni:

    Long

    c1=close>open[20]
    
    if not longonmarket and currentsecond>20 and c1 then
    buy 1 shares at market
    endif
    if longonmarket and currentsecond>=0 then
    sellatmarket
    endif

    short

    c2=close<open[20]
    
    if not shortonmarket and currentsecond>20 and c2 then
    sellshort 1 shares at market
    endif
    if shortonmarket and currentsecond>=0 then
    exitshort at market
    endif

    Massimo

    Nicolas and Revi thanked this post
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

Come simulare una strategia Martingala con le opzioni binarie?


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Revi @revi Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by maximus78maximus78
8 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 12/13/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...