Trade nur wenn Spread "leistbar"

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #71387 quote
    immo_viennaimmo_vienna
    Participant
    Average

    Hallo Leute!

    Habe bereits im Forum gesucht aber leider (noch) nichts gefunden:

    Möchte gerne ein System erstellen, dass nur dann eine Order aufgibt, wenn der (potentielle) Gewinn größer ist als der Spread.
    Hatte mal jemand eine Idee dahinter?

     

    Liebe Grüße aus Wien,

    Matthias

    #71466 quote
    NicolasNicolas
    Keymaster
    Legend

    Es ist nicht möglich, den Spread-Wert mit dem Code zu erhalten. Aber Sie können natürlich eine Variable erstellen, um sie in Ihren Code zu setzen und Ihren Zielgewinn mit dieser Variable festzulegen:

    spread = 2
    
    if buycondition then 
     buy at market 
    endif
    
    set target pprofit spread
    immo_vienna thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

Trade nur wenn Spread "leistbar"


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
8 years, 4 months ago.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 05/26/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...