Split: Non mi inserisce l’ordine pendente

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #150656 quote
    MauroRMauroR
    Participant
    Average

    Buongiorno.

    Premetto che sono un novizio ed è la prima volta che scrivo su questo forum, e sicuramente la cosa chi chiedo avrà una soluzione semplicissima, praticamente la porzione di codice sotto entra a mercato in una direzione e poi quando ordine si becca lo stop, allora parte l’ordine pendente. Quando faccio partire il programma non mi entra più a mercato e non mi inserisce il pendente, cortesemente mi potreste aiutare a risolvere il problema?

    Vi ringrazio tutti anticipatamente.

    StopEntrataShortSTD = (high + SpreadEntrata) - close
    SELLSHORT LotNumber CONTRACT AT MARKET
    SET STOP pLOSS max (StopMinimo,StopEntrataShortSTD)
    IF NOT SHORTONMARKET THEN
    EntrataPendenteLongSTD = close + max(StopMinimo, StopEntrataShortSTD) + 1
    StopPendenteLongSTD = EntrataPendenteLongSTD - (low - SpreadPendente - MarginePendente)
    BUY LotNumber CONTRACT AT EntrataPendenteLongSTD STOP
    SET STOP pLOSS StopPendenteLongSTD
    ENDIF
Viewing 1 post (of 1 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

Split: Non mi inserisce l’ordine pendente


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
MauroR @mauror Participant
Summary

This topic contains 0 voices and has 0 replies.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 04/01/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...